22 # define VLC_PROBE_H 1
35 void *vlc_probe (
vlc_object_t *,
const char *,
size_t *restrict);
36 #define vlc_probe(obj, cap, pcount) \
37 vlc_probe(VLC_OBJECT(obj), cap, pcount)
49 static inline int vlc_probe_add(
vlc_probe_t *obj,
const void *data,
52 char *tab = (
char *)realloc (obj->list, (obj->count + 1) * len);
54 if (unlikely(tab == NULL))
56 memcpy(tab + (obj->count * len), data, len);
62 # define VLC_PROBE_CONTINUE VLC_EGENERIC
63 # define VLC_PROBE_STOP VLC_SUCCESS
#define VLC_SUCCESS
Definition: vlc_common.h:373
#define VLC_ENOMEM
Definition: vlc_common.h:375
Definition: vlc_objects.h:42
Definition: vlc_probe.h:39