5#ifndef SPA_DEBUG_TYPES_H
6#define SPA_DEBUG_TYPES_H
28 while (info && info->name) {
33 else if (info->type ==
type)
65 while (info && info->name) {
67 if (strcmp(info->name, name) == 0)
78 while (info && info->name) {
81 if (strcmp(info->name, name) == 0)
83 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:65
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:50
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:57
static const struct spa_type_info * spa_debug_type_find_short(const struct spa_type_info *info, const char *name)
Definition types.h:81
static uint32_t spa_debug_type_find_type_short(const struct spa_type_info *info, const char *name)
Definition types.h:95
static const char * spa_type_short_name(const char *name)
Definition type.h:156
#define SPA_TYPE_ROOT
Definition type-info.h:26
#define SPA_ID_INVALID
Definition defs.h:250
uint32_t type
Definition type.h:145