VLC  4.0.0-dev
Data Structures | Macros | Functions
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()

static void callback_ctx_destroy ( struct callback_ctx ctx)
inlinestatic

◆ callback_ctx_destroy_reports()

static void callback_ctx_destroy_reports ( struct callback_ctx ctx)
inlinestatic

◆ callback_ctx_reset()

static void callback_ctx_reset ( struct callback_ctx ctx)
inlinestatic

◆ main()

int main ( void  )

◆ on_children_added()

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

◆ on_children_removed()

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

◆ on_children_reset()

static void on_children_reset ( vlc_media_tree_t tree,
input_item_node_t node,
void *  userdata 
)
static

◆ test_media_tree()

static void test_media_tree ( void  )
static

◆ test_media_tree_callbacks()

static void test_media_tree_callbacks ( void  )
static

◆ test_media_tree_callbacks_on_add_listener()

static void test_media_tree_callbacks_on_add_listener ( void  )
static