5#ifndef SPA_DEBUG_TYPES_H
6#define SPA_DEBUG_TYPES_H
28 while (info && info->name) {
43 if ((h = strrchr(name,
':')) != NULL)
68 while (info && info->name) {
70 if (strcmp(info->name, name) == 0)
81 while (info && info->name) {
84 if (strcmp(info->name, name) == 0)
86 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:68
static const struct spa_type_info * spa_debug_type_find(const struct spa_type_info *info, uint32_t type)
Definition: types.h:26
static const char * spa_debug_type_find_name(const struct spa_type_info *info, uint32_t type)
Definition: types.h:53
static const char * spa_debug_type_short_name(const char *name)
Definition: types.h:45
static const char * spa_debug_type_find_short_name(const struct spa_type_info *info, uint32_t type)
Definition: types.h:60
static const struct spa_type_info * spa_debug_type_find_short(const struct spa_type_info *info, const char *name)
Definition: types.h:84
static uint32_t spa_debug_type_find_type_short(const struct spa_type_info *info, const char *name)
Definition: types.h:98
#define SPA_TYPE_ROOT
Definition: utils/type-info.h:26
#define SPA_ID_INVALID
Definition: defs.h:228
Definition: spa/include/spa/utils/type.h:142
uint32_t type
Definition: spa/include/spa/utils/type.h:143
const struct spa_type_info * values
Definition: spa/include/spa/utils/type.h:146