JasPer  3.0.3
jas_tvp.h File Reference

Tag/Value Pair Parser. More...

#include <jasper/jas_config.h>

Go to the source code of this file.

Classes

struct  jas_taginfo_t
 Tag information type. More...
 
struct  jas_tvparser_t
 Tag-value parser type. More...
 

Functions

JAS_ATTRIBUTE_PURE const JAS_EXPORT jas_taginfo_tjas_taginfos_lookup (const jas_taginfo_t *taginfos, const char *name)
 Lookup a tag by name. More...
 
JAS_ATTRIBUTE_PURE const JAS_EXPORT jas_taginfo_tjas_taginfo_nonull (const jas_taginfo_t *taginfo)
 Ensure a nonnull taginfo pointer. More...
 
JAS_EXPORT jas_tvparser_tjas_tvparser_create (const char *s)
 Create a tag-value parser for the specified string. More...
 
JAS_EXPORT void jas_tvparser_destroy (jas_tvparser_t *tvparser)
 Destroy a tag-value parser. More...
 
JAS_EXPORT int jas_tvparser_next (jas_tvparser_t *tvparser)
 Get the next tag-value pair. More...
 
JAS_ATTRIBUTE_PURE const JAS_EXPORT char * jas_tvparser_gettag (const jas_tvparser_t *tvparser)
 Get the tag name for the current tag-value pair. More...
 
JAS_ATTRIBUTE_PURE const JAS_EXPORT char * jas_tvparser_getval (const jas_tvparser_t *tvparser)
 Get the value for the current tag-value pair. More...
 

Detailed Description

Tag/Value Pair Parser.