PipeWire: parser.h File Reference

PipeWire 0.3.66

Loading...
Searching...
No Matches
Data Structures | Macros | Functions
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_POD_PARSER_INIT(buffer, size) ((struct spa_pod_parser){ (buffer), (size), 0, {} })
#define | SPA_POD_PARSER_COLLECT(pod, _type, args)
#define | SPA_POD_PARSER_SKIP(_type, args)
#define | SPA_POD_OPT_Bool(val) "?" SPA_POD_Bool(val)
#define | SPA_POD_OPT_Id(val) "?" SPA_POD_Id(val)
#define | SPA_POD_OPT_Int(val) "?" SPA_POD_Int(val)
#define | SPA_POD_OPT_Long(val) "?" SPA_POD_Long(val)
#define | SPA_POD_OPT_Float(val) "?" SPA_POD_Float(val)
#define | SPA_POD_OPT_Double(val) "?" SPA_POD_Double(val)
#define | SPA_POD_OPT_String(val) "?" SPA_POD_String(val)
#define | SPA_POD_OPT_Stringn(val, len) "?" SPA_POD_Stringn(val,len)
#define | SPA_POD_OPT_Bytes(val, len) "?" SPA_POD_Bytes(val,len)
#define | SPA_POD_OPT_Rectangle(val) "?" SPA_POD_Rectangle(val)
#define | SPA_POD_OPT_Fraction(val) "?" SPA_POD_Fraction(val)
#define | SPA_POD_OPT_Array(csize, ctype, n_vals, vals) "?" SPA_POD_Array(csize,ctype,n_vals,vals)
#define | SPA_POD_OPT_Pointer(type, val) "?" SPA_POD_Pointer(type,val)
#define | SPA_POD_OPT_Fd(val) "?" SPA_POD_Fd(val)
#define | SPA_POD_OPT_Pod(val) "?" SPA_POD_Pod(val)
#define | SPA_POD_OPT_PodObject(val) "?" SPA_POD_PodObject(val)
#define | SPA_POD_OPT_PodStruct(val) "?" SPA_POD_PodStruct(val)
#define | SPA_POD_OPT_PodChoice(val) "?" SPA_POD_PodChoice(val)
#define | spa_pod_parser_get_object(p, type, id, ...)
#define | spa_pod_parser_get_struct(p, ...)
#define | spa_pod_parse_object(pod, type, id, ...)
#define | spa_pod_parse_struct(pod, ...)

## Functions
static void | spa_pod_parser_init (struct spa_pod_parser *parser, const void *data, uint32_t size)
static void | spa_pod_parser_pod (struct spa_pod_parser *parser, const struct spa_pod *pod)
static void | spa_pod_parser_get_state (struct spa_pod_parser *parser, struct spa_pod_parser_state *state)
static void | spa_pod_parser_reset (struct spa_pod_parser *parser, struct spa_pod_parser_state *state)
static struct spa_pod * | spa_pod_parser_deref (struct spa_pod_parser *parser, uint32_t offset, uint32_t size)
static struct spa_pod * | spa_pod_parser_frame (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
static void | spa_pod_parser_push (struct spa_pod_parser *parser, struct spa_pod_frame *frame, const struct spa_pod *pod, uint32_t offset)
static struct spa_pod * | spa_pod_parser_current (struct spa_pod_parser *parser)
static void | spa_pod_parser_advance (struct spa_pod_parser *parser, const struct spa_pod *pod)
static struct spa_pod * | spa_pod_parser_next (struct spa_pod_parser *parser)
static int | spa_pod_parser_pop (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
static int | spa_pod_parser_get_bool (struct spa_pod_parser *parser, bool *value)
static int | spa_pod_parser_get_id (struct spa_pod_parser *parser, uint32_t *value)
static int | spa_pod_parser_get_int (struct spa_pod_parser *parser, int32_t *value)
static int | spa_pod_parser_get_long (struct spa_pod_parser *parser, int64_t *value)
static int | spa_pod_parser_get_float (struct spa_pod_parser *parser, float *value)
static int | spa_pod_parser_get_double (struct spa_pod_parser *parser, double *value)
static int | spa_pod_parser_get_string (struct spa_pod_parser *parser, const char **value)
static int | spa_pod_parser_get_bytes (struct spa_pod_parser *parser, const void **value, uint32_t *len)
static int | spa_pod_parser_get_pointer (struct spa_pod_parser *parser, uint32_t *type, const void **value)
static int | spa_pod_parser_get_fd (struct spa_pod_parser *parser, int64_t *value)
static int | spa_pod_parser_get_rectangle (struct spa_pod_parser *parser, struct spa_rectangle *value)
static int | spa_pod_parser_get_fraction (struct spa_pod_parser *parser, struct spa_fraction *value)
static int | spa_pod_parser_get_pod (struct spa_pod_parser *parser, struct spa_pod **value)
static int | spa_pod_parser_push_struct (struct spa_pod_parser *parser, struct spa_pod_frame *frame)
static int | spa_pod_parser_push_object (struct spa_pod_parser *parser, struct spa_pod_frame *frame, uint32_t type, uint32_t *id)
static bool | spa_pod_parser_can_collect (const struct spa_pod *pod, char type)
static int | spa_pod_parser_getv (struct spa_pod_parser *parser, va_list args)
static int | spa_pod_parser_get (struct spa_pod_parser *parser,...)

## Detailed Description

`spa/pod/parser.h`