VLC 4.0.0-dev
|
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. | |
void(* | on_subtree_added )(input_item_t *item, input_item_node_t *subtree, void *userdata) |
Event received when a new subtree is added. | |
void(* | on_attachments_added )(input_item_t *item, input_attachment_t *const *array, size_t count, void *userdata) |
Event received when new attachments are added. | |
input item parser callbacks
void(* input_item_parser_cbs_t::on_attachments_added) (input_item_t *item, input_attachment_t *const *array, size_t count, void *userdata) |
Event received when new attachments are added.
item | the parsed item |
array | valid array containing new elements, should only be used within the callback. One and all elements can be held and stored on a new variable or new array. |
count | number of elements in the array |
userdata | user data set by input_item_Parse() |
Referenced by input_item_parser_InputEvent().
void(* input_item_parser_cbs_t::on_ended) (input_item_t *item, int status, void *userdata) |
Event received when the parser ends.
item | the parsed item |
status | VLC_SUCCESS in case of success, VLC_ETIMEOUT in case of timeout, -EINTR if cancelled, an error otherwise |
userdata | user data set by input_item_Parse() |
Referenced by input_item_Parse(), and input_item_parser_InputEvent().
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.
item | the parsed item |
subtree | sub items of the current item |
userdata | user data set by input_item_Parse() |
Referenced by input_item_parser_InputEvent().