~ubuntu-branches/ubuntu/wily/libee/wily

« back to all changes in this revision

Viewing changes to include/libee/field.h

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2011-07-12 21:38:37 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110712213837-hpc28tgu9jozb82b
Tags: 0.3.1-1
* Imported Upstream version 0.3.1
* Add watch file
* Update symbols file

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
 */
186
186
es_str_t* ee_getFieldValueAsStr(struct ee_field *field, unsigned short n);
187
187
 
 
188
/**
 
189
 * Obtain the string representaton of a field.
 
190
 * The string representation is build in the current
 
191
 * default encoding (note: different encodings are NOT yet implemented
 
192
 * at the time of this writing).
 
193
 *
 
194
 * @memberof ee_value
 
195
 * @public
 
196
 *
 
197
 * @param[in] field relevant field
 
198
 * @param[out] str output string with field representation. If NULL
 
199
 *                    a new string is generated, the representation
 
200
 *                    is APPENDED to the existing string.
 
201
 *
 
202
 * @returns 0 (EE_OK) on success, error code otherwise
 
203
 */
 
204
int ee_getFieldAsString(struct ee_field *field, es_str_t **str);
 
205
 
188
206
#endif /* #ifndef LIBEE_FIELD_H_INCLUDED */