Tag-value parser type.
Definition: jas_tvp.h:108
const char * jas_tvparser_gettag(const jas_tvparser_t *tvp)
Get the tag name for the current tag-value pair.
Definition: jas_tvp.c:198
Tag information type.
Definition: jas_tvp.h:94
int jas_tvparser_next(jas_tvparser_t *tvp)
Get the next tag-value pair.
Definition: jas_tvp.c:122
const jas_taginfo_t * jas_taginfos_lookup(const jas_taginfo_t *taginfos, const char *name)
Lookup a tag by name.
Definition: jas_tvp.c:214
const jas_taginfo_t * jas_taginfo_nonull(const jas_taginfo_t *taginfo)
Ensure a nonnull taginfo pointer.
Definition: jas_tvp.c:230
JAS_EXPORT void * jas_malloc(size_t size)
Allocate memory.
Definition: jas_malloc.c:136
char * jas_strdup(const char *s)
Create a copy of a null-terminated string.
Definition: jas_string.c:89
JAS_EXPORT void jas_free(void *ptr)
Free memory.
Definition: jas_malloc.c:186
jas_tvparser_t * jas_tvparser_create(const char *s)
Create a tag-value parser for the specified string.
Definition: jas_tvp.c:93
const char * jas_tvparser_getval(const jas_tvparser_t *tvp)
Get the value for the current tag-value pair.
Definition: jas_tvp.c:204
void jas_tvparser_destroy(jas_tvparser_t *tvp)
Destroy a tag-value parser.
Definition: jas_tvp.c:109