|
Paraslash Audio Streaming |
About News Download Documentation Development |
Data Fields | |
const char * | name |
struct btr_node * | parent |
struct btr_node * | child |
btr_command_handler | handler |
void * | context |
btr_new_node() takes a pointer to such a structure.
There are four different combinations of parent and child:
NULL
. This creates a new buffer tree with a single isolated node.NULL
, child == NULL. This creates a new leaf node by adding the new node to the list of children of the given parent node.const char* name |
Name of the new node.
Referenced by btr_new_node().
struct btr_node* parent |
Parent of the new node.
Referenced by btr_new_node().
struct btr_node* child |
Child of the new node.
btr_command_handler handler |
void* context |
Points usually to the struct that contains the node pointer.
Referenced by btr_new_node().