VLC 4.0.0-dev
test.c File Reference
Include dependency graph for test.c:

Data Structures

struct  children_reset_report
 
struct  children_added_report
 
struct  children_removed_report
 
struct  callback_ctx
 

Macros

#define CALLBACK_CTX_INITIALIZER
 

Functions

static void test_media_tree (void)
 
static void callback_ctx_destroy_reports (struct callback_ctx *ctx)
 
static void callback_ctx_reset (struct callback_ctx *ctx)
 
static void callback_ctx_destroy (struct callback_ctx *ctx)
 
static void on_children_reset (vlc_media_tree_t *tree, input_item_node_t *node, void *userdata)
 
static void on_children_added (vlc_media_tree_t *tree, input_item_node_t *node, input_item_node_t *const children[], size_t count, void *userdata)
 
static void on_children_removed (vlc_media_tree_t *tree, input_item_node_t *node, input_item_node_t *const children[], size_t count, void *userdata)
 
static void test_media_tree_callbacks (void)
 
static void test_media_tree_callbacks_on_add_listener (void)
 
int main (void)
 

Macro Definition Documentation

◆ CALLBACK_CTX_INITIALIZER

#define CALLBACK_CTX_INITIALIZER
Value:
{ \
VLC_VECTOR_INITIALIZER, \
VLC_VECTOR_INITIALIZER, \
VLC_VECTOR_INITIALIZER, \
}

Function Documentation

◆ callback_ctx_destroy()

◆ callback_ctx_destroy_reports()

static void callback_ctx_destroy_reports ( struct callback_ctx ctx)
inlinestatic

◆ callback_ctx_reset()

◆ main()

◆ on_children_added()

◆ on_children_removed()

◆ on_children_reset()

◆ test_media_tree()

◆ test_media_tree_callbacks()

◆ test_media_tree_callbacks_on_add_listener()