23#ifndef LIBVLC_INPUT_INFO_H
24#define LIBVLC_INPUT_INFO_H 1
30 info_t *info = malloc(
sizeof(*info));
80 const char *format, va_list args)
97 const char *format, ...)
101 va_start(args, format);
#define VLC_EGENERIC
Unspecified error.
Definition: vlc_common.h:505
#define VLC_SUCCESS
No error.
Definition: vlc_common.h:503
static void vlc_list_append(struct vlc_list *restrict node, struct vlc_list *head)
Appends an element into a list.
Definition: vlc_list.h:110
static void vlc_list_init(struct vlc_list *restrict head)
Initializes an empty list head.
Definition: vlc_list.h:57
#define vlc_list_first_entry_or_null(head, type, member)
Gets the first element.
Definition: vlc_list.h:345
static void vlc_list_remove(struct vlc_list *restrict node)
Removes an element from a list.
Definition: vlc_list.h:135
const char name[16]
Definition: httpd.c:1281
static void info_category_ReplaceInfo(info_category_t *cat, info_t *info)
Definition: info.h:67
static void info_Delete(info_t *i)
Definition: info.h:39
static info_t * info_category_AddInfo(info_category_t *cat, const char *name, const char *format,...)
Definition: info.h:95
static info_t * info_category_FindInfo(const info_category_t *cat, const char *name)
Definition: info.h:56
static info_category_t * info_category_New(const char *name)
Definition: info.h:46
static void info_category_Delete(info_category_t *cat)
Definition: info.h:119
static info_t * info_category_VaAddInfo(info_category_t *cat, const char *name, const char *format, va_list args)
Definition: info.h:78
static int info_category_DeleteInfo(info_category_t *cat, const char *name)
Definition: info.h:108
static info_t * info_New(const char *name)
Definition: info.h:28
Definition: vlc_input_item.h:54
char * psz_name
Name of this category.
Definition: vlc_input_item.h:55
struct vlc_list infos
Infos in the category.
Definition: vlc_input_item.h:56
Definition: vlc_input_item.h:45
struct vlc_list node
Definition: vlc_input_item.h:48
char * psz_value
Value of the info.
Definition: vlc_input_item.h:47
char * psz_name
Name of this info.
Definition: vlc_input_item.h:46
char * strdup(const char *)
int vasprintf(char **, const char *, va_list)