Loading...
Searching...
No Matches
parser.h File Reference
SPA » POD

spa/pod/parser.h More...

Go to the source code of this file.

## Data Structures

struct | spa_pod_parser_state
struct | spa_pod_parser

## Macros

#define | SPA_API_POD_PARSER static inline
#define | SPA_POD_PARSER_INIT(buffer, size)
#define | SPA_POD_PARSER_COLLECT_BODY(_pod, _body, _type, args)
#define | SPA_POD_PARSER_COLLECT(pod, _type, args)
#define | SPA_POD_PARSER_SKIP(_type, args)
#define | SPA_POD_OPT_Bool(val)
#define | SPA_POD_OPT_Id(val)
#define | SPA_POD_OPT_Int(val)
#define | SPA_POD_OPT_Long(val)
#define | SPA_POD_OPT_Float(val)
#define | SPA_POD_OPT_Double(val)
#define | SPA_POD_OPT_String(val)
#define | SPA_POD_OPT_Stringn(val, len)
#define | SPA_POD_OPT_Bytes(val, len)
#define | SPA_POD_OPT_Rectangle(val)
#define | SPA_POD_OPT_Fraction(val)
#define | SPA_POD_OPT_Array(csize, ctype, n_vals, vals)
#define | SPA_POD_OPT_Pointer(type, val)
#define | SPA_POD_OPT_Fd(val)
#define | SPA_POD_OPT_Pod(val)
#define | SPA_POD_OPT_PodObject(val)
#define | SPA_POD_OPT_PodStruct(val)
#define | SPA_POD_OPT_PodChoice(val)
#define | SPA_POD_OPT_PodBody(val, body)
#define | SPA_POD_OPT_PodBodyObject(val, body)
#define | SPA_POD_OPT_PodBodyStruct(val, body)
#define | SPA_POD_OPT_PodBodyChoice(val, body)
#define | spa_pod_parser_get_object(p, type, id, ...)
#define | spa_pod_parser_get_struct(p, ...)
#define | spa_pod_body_parse_object(pod, body, type, id, ...)
#define | spa_pod_parse_object(pod, type, id, ...)
#define | spa_pod_body_parse_struct(pod, body, ...)
#define | spa_pod_parse_struct(pod, ...)

## Functions

SPA_API_POD_PARSER void | spa_pod_parser_init (struct spa_pod_parser *parser, const void *data, uint32_t size)
SPA_API_POD_PARSER void | spa_pod_parser_pod (struct spa_pod_parser *parser, const struct spa_pod *pod)
SPA_API_POD_PARSER void | spa_pod_parser_init_pod_body (struct spa_pod_parser *parser, const struct spa_pod *pod, const void *body)
SPA_API_POD_PARSER void | spa_pod_parser_init_from_data (struct spa_pod_parser *parser, const void *data, uint32_t maxsize, uint32_t offset, uint32_t size)
SPA_API_POD_PARSER void | spa_pod_parser_get_state (struct spa_pod_parser *parser, struct spa_pod_parser_state *state)
SPA_API_POD_PARSER void | spa_pod_parser_reset (struct spa_pod_parser *parser, struct spa_pod_parser_state *state)
SPA_API_POD_PARSER int | spa_pod_parser_read_header (struct spa_pod_parser *parser, uint32_t offset, uint32_t size, void *header, uint32_t header_size, uint32_t pod_offset, const void **body)
SPA_API_POD_PARSER struct spa_pod * | spa_pod_parser_deref (struct spa_pod_parser *parser, uint32_t offset, uint32_t size)
SPA_API_POD_PARSER struct spa_pod * | spa_pod_parser_frame (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
SPA_API_POD_PARSER void | spa_pod_parser_push (struct spa_pod_parser *parser, struct spa_pod_frame *frame, const struct spa_pod *pod, uint32_t offset)
SPA_API_POD_PARSER int | spa_pod_parser_get_header (struct spa_pod_parser *parser, void *header, uint32_t header_size, uint32_t pod_offset, const void **body)
SPA_API_POD_PARSER int | spa_pod_parser_current_body (struct spa_pod_parser *parser, struct spa_pod *pod, const void **body)
SPA_API_POD_PARSER struct spa_pod * | spa_pod_parser_current (struct spa_pod_parser *parser)
SPA_API_POD_PARSER void | spa_pod_parser_advance (struct spa_pod_parser *parser, const struct spa_pod *pod)
SPA_API_POD_PARSER int | spa_pod_parser_next_body (struct spa_pod_parser *parser, struct spa_pod *pod, const void **body)
SPA_API_POD_PARSER struct spa_pod * | spa_pod_parser_next (struct spa_pod_parser *parser)
SPA_API_POD_PARSER void | spa_pod_parser_restart (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
SPA_API_POD_PARSER void | spa_pod_parser_unpush (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
SPA_API_POD_PARSER int | spa_pod_parser_pop (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
SPA_API_POD_PARSER int | spa_pod_parser_get_bool (struct spa_pod_parser *parser, bool *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_id (struct spa_pod_parser *parser, uint32_t *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_int (struct spa_pod_parser *parser, int32_t *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_long (struct spa_pod_parser *parser, int64_t *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_float (struct spa_pod_parser *parser, float *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_double (struct spa_pod_parser *parser, double *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_string (struct spa_pod_parser *parser, const char **value)
SPA_API_POD_PARSER int | spa_pod_parser_get_bytes (struct spa_pod_parser *parser, const void **value, uint32_t *len)
SPA_API_POD_PARSER int | spa_pod_parser_get_pointer (struct spa_pod_parser *parser, uint32_t *type, const void **value)
SPA_API_POD_PARSER int | spa_pod_parser_get_fd (struct spa_pod_parser *parser, int64_t *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_rectangle (struct spa_pod_parser *parser, struct spa_rectangle *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_fraction (struct spa_pod_parser *parser, struct spa_fraction *value)
SPA_API_POD_PARSER int | spa_pod_parser_get_pod_body (struct spa_pod_parser *parser, struct spa_pod *value, const void **body)
SPA_API_POD_PARSER int | spa_pod_parser_get_pod (struct spa_pod_parser *parser, struct spa_pod **value)
SPA_API_POD_PARSER int | spa_pod_parser_init_struct_body (struct spa_pod_parser *parser, struct spa_pod_frame *frame, const struct spa_pod *pod, const void *body)
SPA_API_POD_PARSER int | spa_pod_parser_push_struct_body (struct spa_pod_parser *parser, struct spa_pod_frame *frame, struct spa_pod *str, const void **str_body)
SPA_API_POD_PARSER int | spa_pod_parser_push_struct (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
SPA_API_POD_PARSER int | spa_pod_parser_init_object_body (struct spa_pod_parser *parser, struct spa_pod_frame *frame, const struct spa_pod *pod, const void *body, struct spa_pod_object *object, const void **object_body)
SPA_API_POD_PARSER int | spa_pod_parser_push_object_body (struct spa_pod_parser *parser, struct spa_pod_frame *frame, struct spa_pod_object *object, const void **object_body)
SPA_API_POD_PARSER int | spa_pod_parser_push_object (struct spa_pod_parser *parser, struct spa_pod_frame *frame, uint32_t type, uint32_t *id)
SPA_API_POD_PARSER int | spa_pod_parser_get_prop_body (struct spa_pod_parser *parser, struct spa_pod_prop *prop, const void **body)
SPA_API_POD_PARSER int | spa_pod_parser_push_sequence_body (struct spa_pod_parser *parser, struct spa_pod_frame *frame, struct spa_pod_sequence *seq, const void **seq_body)
SPA_API_POD_PARSER int | spa_pod_parser_get_control_body (struct spa_pod_parser *parser, struct spa_pod_control *control, const void **body)
SPA_API_POD_PARSER int | spa_pod_parser_object_find_prop (struct spa_pod_parser *parser, uint32_t key, struct spa_pod_prop *prop, const void **body)
SPA_API_POD_PARSER bool | spa_pod_parser_body_can_collect (const struct spa_pod *pod, const void *body, char type)
SPA_API_POD_PARSER bool | spa_pod_parser_can_collect (const struct spa_pod *pod, char type)
SPA_API_POD_PARSER int | spa_pod_parser_getv (struct spa_pod_parser *parser, va_list args)
SPA_API_POD_PARSER int | spa_pod_parser_get (struct spa_pod_parser *parser,...)

## Detailed Description

spa/pod/parser.h

## Macro Definition Documentation

## SPA_API_POD_PARSER

#define SPA_API_POD_PARSER static inline