25 #ifndef SPA_DEBUG_TYPES_H
26 #define SPA_DEBUG_TYPES_H
48 while (info && info->name) {
63 if ((h = strrchr(name,
':')) != NULL)
88 while (info && info->name) {
90 if (strcmp(info->name, name) == 0)
101 while (info && info->name) {
104 if (strcmp(info->name, name) == 0)
106 if (info->
type != 0 && info->
type == (uint32_t)atoi(name))
static uint32_t spa_debug_type_find_type(const struct spa_type_info *info, const char *name)
Definition: types.h:88
static const char * spa_debug_type_find_short_name(const struct spa_type_info *info, uint32_t type)
Definition: types.h:80
static const struct spa_type_info * spa_debug_type_find(const struct spa_type_info *info, uint32_t type)
Definition: types.h:46
static const char * spa_debug_type_find_name(const struct spa_type_info *info, uint32_t type)
Definition: types.h:73
static const char * spa_debug_type_short_name(const char *name)
Definition: types.h:65
static uint32_t spa_debug_type_find_type_short(const struct spa_type_info *info, const char *name)
Definition: types.h:118
static const struct spa_type_info * spa_debug_type_find_short(const struct spa_type_info *info, const char *name)
Definition: types.h:104
#define SPA_TYPE_ROOT
Definition: type-info.h:46
#define SPA_ID_INVALID
Definition: defs.h:244
uint32_t type
Definition: type.h:163
const struct spa_type_info * values
Definition: type.h:166