Types (structs, unions and typedefs)¶
-
type sfparse_vec¶
sfparse_vecstores sequence of bytes.
-
type sfparse_decimal¶
sfparse_decimalcontains decimal value.
-
type sfparse_value¶
sfparse_valuestores a Structured Field item. For Inner List, only type is set tosfparse_type.SFPARSE_TYPE_INNER_LIST. In order to read the items contained in an inner list, callsfparse_parser_inner_list().-
sfparse_type type¶
typeis the type of the value contained in this particular object.
-
uint32_t flags¶
flagsis bitwise OR of one or more ofSFPARSE_VALUE_FLAG_*.
-
union [anonymous]¶
-
int boolean¶
booleancontains boolean value iftype==sfparse_type.SFPARSE_TYPE_BOOLEAN. 1 indicates true, and 0 indicates false.
-
int64_t integer¶
integercontains integer value iftypeis eithersfparse_type.SFPARSE_TYPE_INTEGERorsfparse_type.SFPARSE_TYPE_DATE.
-
sfparse_decimal decimal¶
decimalcontains decimal value iftype==sfparse_type.SFPARSE_TYPE_DECIMAL.
-
sfparse_vec vec¶
veccontains sequence of bytes iftypeis eithersfparse_type.SFPARSE_TYPE_STRING,sfparse_type.SFPARSE_TYPE_TOKEN,sfparse_type.SFPARSE_TYPE_BYTESEQ, orsfparse_type.SFPARSE_TYPE_DISPSTRING.For
sfparse_type.SFPARSE_TYPE_STRING, this field contains one or more escaped characters ifflagshasSFPARSE_VALUE_FLAG_ESCAPED_STRINGset. To unescape the string, usesfparse_unescape().For
sfparse_type.SFPARSE_TYPE_BYTESEQ, this field contains base64 encoded string. To decode this byte string, usesfparse_base64decode().For
sfparse_type.SFPARSE_TYPE_DISPSTRING, this field may contain percent-encoded UTF-8 byte sequences. To decode it, usesfparse_pctdecode().
-
int boolean¶
-
sfparse_type type¶
-
type sfparse_parser¶
sfparse_parseris the Structured Field Values parser. Usesfparse_parser_init()to initialize it.