VLC 4.0.0-dev
Loading...
Searching...
No Matches
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:
{ \
}
#define VLC_VECTOR_INITIALIZER
Static initializer for a vector.
Definition vlc_vector.h:76

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()