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

spa/pod/iter.h More...

Go to the source code of this file.

## Macros

#define | SPA_API_POD_ITER static inline
#define | SPA_POD_ARRAY_BODY_FOREACH(body, _size, iter)
#define | SPA_POD_ARRAY_FOREACH(obj, iter)
#define | SPA_POD_CHOICE_BODY_FOREACH(body, _size, iter)
#define | SPA_POD_CHOICE_FOREACH(obj, iter)
#define | SPA_POD_FOREACH(pod, size, iter)
#define | SPA_POD_STRUCT_FOREACH(obj, iter)
#define | SPA_POD_OBJECT_BODY_FOREACH(body, size, iter)
#define | SPA_POD_OBJECT_FOREACH(obj, iter)
#define | SPA_POD_SEQUENCE_BODY_FOREACH(body, size, iter)
#define | SPA_POD_SEQUENCE_FOREACH(seq, iter)
#define | spa_pod_copy_array(pod, type, values, max_values)

## Functions

SPA_API_POD_ITER bool | spa_pod_is_inside (const void *pod, uint32_t size, const void *iter)
SPA_API_POD_ITER void * | spa_pod_next (const void *iter)
SPA_API_POD_ITER struct spa_pod_prop * | spa_pod_prop_first (const struct spa_pod_object_body *body)
SPA_API_POD_ITER bool | spa_pod_prop_is_inside (const struct spa_pod_object_body *body, uint32_t size, const struct spa_pod_prop *iter)
SPA_API_POD_ITER struct spa_pod_prop * | spa_pod_prop_next (const struct spa_pod_prop *iter)
SPA_API_POD_ITER struct spa_pod_control * | spa_pod_control_first (const struct spa_pod_sequence_body *body)
SPA_API_POD_ITER bool | spa_pod_control_is_inside (const struct spa_pod_sequence_body *body, uint32_t size, const struct spa_pod_control *iter)
SPA_API_POD_ITER struct spa_pod_control * | spa_pod_control_next (const struct spa_pod_control *iter)
SPA_API_POD_ITER void * | spa_pod_from_data (void *data, size_t maxsize, off_t offset, size_t size)
SPA_API_POD_ITER int | spa_pod_get_bool (const struct spa_pod *pod, bool *value)
SPA_API_POD_ITER int | spa_pod_get_id (const struct spa_pod *pod, uint32_t *value)
SPA_API_POD_ITER int | spa_pod_get_int (const struct spa_pod *pod, int32_t *value)
SPA_API_POD_ITER int | spa_pod_get_long (const struct spa_pod *pod, int64_t *value)
SPA_API_POD_ITER int | spa_pod_get_float (const struct spa_pod *pod, float *value)
SPA_API_POD_ITER int | spa_pod_get_double (const struct spa_pod *pod, double *value)
SPA_API_POD_ITER int | spa_pod_get_string (const struct spa_pod *pod, const char **value)
SPA_API_POD_ITER int | spa_pod_copy_string (const struct spa_pod *pod, size_t maxlen, char *dest)
SPA_API_POD_ITER int | spa_pod_get_bytes (const struct spa_pod *pod, const void **value, uint32_t *len)
SPA_API_POD_ITER int | spa_pod_get_pointer (const struct spa_pod *pod, uint32_t *type, const void **value)
SPA_API_POD_ITER int | spa_pod_get_fd (const struct spa_pod *pod, int64_t *value)
SPA_API_POD_ITER int | spa_pod_get_rectangle (const struct spa_pod *pod, struct spa_rectangle *value)
SPA_API_POD_ITER int | spa_pod_get_fraction (const struct spa_pod *pod, struct spa_fraction *value)
SPA_API_POD_ITER void * | spa_pod_get_array_full (const struct spa_pod *pod, uint32_t *n_values, uint32_t *val_size, uint32_t *val_type)
SPA_API_POD_ITER void * | spa_pod_get_array (const struct spa_pod *pod, uint32_t *n_values)
SPA_API_POD_ITER uint32_t | spa_pod_copy_array_full (const struct spa_pod *pod, uint32_t type, uint32_t size, void *values, uint32_t max_values)
SPA_API_POD_ITER struct spa_pod * | spa_pod_get_values (const struct spa_pod *pod, uint32_t *n_vals, uint32_t *choice)
SPA_API_POD_ITER bool | spa_pod_is_object_type (const struct spa_pod *pod, uint32_t type)
SPA_API_POD_ITER bool | spa_pod_is_object_id (const struct spa_pod *pod, uint32_t id)
SPA_API_POD_ITER const struct spa_pod_prop * | spa_pod_object_find_prop (const struct spa_pod_object *pod, const struct spa_pod_prop *start, uint32_t key)
SPA_API_POD_ITER const struct spa_pod_prop * | spa_pod_find_prop (const struct spa_pod *pod, const struct spa_pod_prop *start, uint32_t key)
SPA_API_POD_ITER int | spa_pod_object_has_props (const struct spa_pod_object *pod)
SPA_API_POD_ITER int | spa_pod_object_fixate (struct spa_pod_object *pod)
SPA_API_POD_ITER int | spa_pod_object_is_fixated (const struct spa_pod_object *pod)
SPA_API_POD_ITER int | spa_pod_fixate (struct spa_pod *pod)
SPA_API_POD_ITER int | spa_pod_is_fixated (const struct spa_pod *pod)

## Detailed Description

spa/pod/iter.h

## Macro Definition Documentation

## SPA_API_POD_ITER

#define SPA_API_POD_ITER static inline