36#define vlc_probe(obj, cap, pcount) \
37 vlc_probe(VLC_OBJECT(obj), cap, pcount)
52 char *tab = (
char *)realloc (
obj->list, (
obj->count + 1) * len);
56 memcpy(tab + (
obj->count * len), data, len);
62# define VLC_PROBE_CONTINUE VLC_EGENERIC
63# define VLC_PROBE_STOP VLC_SUCCESS
#define unlikely(p)
Predicted false condition.
Definition vlc_common.h:246
#define VLC_ENOMEM
Not enough memory.
Definition vlc_common.h:482
#define VLC_SUCCESS
No error.
Definition vlc_common.h:478
VLC object common members.
Definition vlc_objects.h:53
Definition vlc_probe.h:41
void * list
Definition vlc_probe.h:44
size_t count
Definition vlc_probe.h:45
struct vlc_object_t obj
Definition vlc_probe.h:42
This file is a collection of common definitions and types.
#define vlc_probe(obj, cap, pcount)
Definition vlc_probe.h:37
static int vlc_probe_add(vlc_probe_t *obj, const void *data, size_t len)
Definition vlc_probe.h:50