VLC 4.0.0-dev
input_item_parser_cbs_t Struct Reference

input item parser callbacks More...

#include <vlc_input_item.h>

Data Fields

void(* on_ended )(input_item_t *item, int status, void *userdata)
 Event received when the parser ends. More...
 
void(* on_subtree_added )(input_item_t *item, input_item_node_t *subtree, void *userdata)
 Event received when a new subtree is added. More...
 

Detailed Description

input item parser callbacks

Field Documentation

◆ on_ended

void(* input_item_parser_cbs_t::on_ended) (input_item_t *item, int status, void *userdata)

Event received when the parser ends.

Note
This callback is mandatory.
Parameters
itemthe parsed item
statusVLC_SUCCESS in case of success, an error otherwise
userdatauser data set by input_item_Parse()

Referenced by input_item_Parse(), and input_item_parser_InputEvent().

◆ on_subtree_added

void(* input_item_parser_cbs_t::on_subtree_added) (input_item_t *item, input_item_node_t *subtree, void *userdata)

Event received when a new subtree is added.

Note
This callback is optional.
Parameters
itemthe parsed item
subtreesub items of the current item
userdatauser data set by input_item_Parse()

Referenced by input_item_parser_InputEvent().


The documentation for this struct was generated from the following file: