Go to the source code of this file.
Functions | |
| fields_t * | fdbfs_free_field (fields_t *e) |
| Free fields_t object. | |
| void | fdbfs_free_field_list (fields_t *h) |
| Free list of fields_t's. | |
| fields_t * | fdbfs_find_field_by_name (fields_t *h, const char *name) |
| Search for fields_t in a list by name. | |
| fields_t * | fdbfs_find_field_by_ehead (fields_t *h, struct EnumHead *e) |
| Search for fields_t in a list by enumhead. | |
| fields_t * | fdbfs_find_field_by_ename (fields_t *h, const char *e) |
| Search for fields_t in a list by enumhead name. | |
| fields_t * | fdbfs_fields_from_dsp (fdbfs_t *f, const char *tsp) |
| Parse defspec and create fields_t list from it. | |
| void | fdbfs_free_answer_t (answer_t *e) |
| Free answer_t object. | |
| int | fdbfs_field_add_int (const char *name, const char *fmtname, fields_t **th, fields_t **tc, int value) |
| Add integer element to fields_t list. | |
| int | fdbfs_field_add_string (const char *name, const char *fmtname, fields_t **th, fields_t **tc, char *value) |
| Add string element to fields_t list. | |
| int | fdbfs_field_add_image (const char *name, const char *fmtname, fields_t **th, fields_t **tc, void *value, size_t sz) |
| Add image element to fields_t list. | |
| fields_t * | fdbfs_find_field_by_next (fields_t *h, fields_t *next) |
| Searches for a field by its next member. | |
| int | fdbfs_fields_set_mime (const char *mimetype, fields_t **th, fields_t **tc) |
| Sets the MIME type of a fields list. | |
| int | fdbfs_field_append (const char *name, const char *fmtname, fields_t **th, fields_t **tc, enum DataType type, void *value, size_t len) |
| Appends field to a field list. | |
|
||||||||||||||||||||||||||||
|
Add image element to fields_t list.
|
|
||||||||||||||||||||||||
|
Add integer element to fields_t list.
|
|
||||||||||||||||||||||||
|
Add string element to fields_t list.
|
|
||||||||||||||||||||||||||||||||
|
Appends field to a field list. It is recommended to use the fdbfs_field_int()/string()/whatever functions. This is mostly for internal use.
|
|
||||||||||||
|
Parse defspec and create fields_t list from it.
|
|
||||||||||||||||
|
Sets the MIME type of a fields list. Sets the MIME type. Will remove any previously-existing mime fields.
|
|
||||||||||||
|
Search for fields_t in a list by enumhead.
|
|
||||||||||||
|
Search for fields_t in a list by enumhead name.
|
|
||||||||||||
|
Search for fields_t in a list by name.
|
|
||||||||||||
|
Searches for a field by its next member.
|
|
|
Free answer_t object.
|
|
|
Free fields_t object. If e->flags has the FIELDS_FLAG_MMAPED bit set, it will be munmap()ed, but only if HAVE_MMAP was defined at compile time.
|
|
|
Free list of fields_t's.
|
1.4.6