5#ifndef SPA_DEBUG_TYPES_H
6#define SPA_DEBUG_TYPES_H
28 while (info && info->name) {
33 else if (info->type ==
type)
68 while (info && info->name) {
70 if (
strcmp(info->name, name) == 0)
81 while (info && info->name) {
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 type-info.h:26
#define SPA_ID_INVALID
Definition defs.h:250
uint32_t type
Definition type.h:144