Go to the source code of this file.
|
int | dump (const char *js, jsmntok_t *t, size_t count, int indent) |
|
jstreeret | js2tree (const char *js, jsmntok_t *t, size_t count) |
|
_tree_node * | _alloc_tree_node_len (int type, const char *data, int datalen) |
|
_tree_node * | _alloc_tree_node_data (int type, const char *data) |
|
_tree_node * | _alloc_tree_node_type (int type) |
|
_tree_node * | find_node (_tree_node *tree, char *key) |
|
_tree_node * | next_node (_tree_node *node, int step) |
|
_tree_node ** | end_node (_tree_node **node) |
|
int | get_node_string (_tree_node *node, char *buf, int bufsize) |
|
int | dumptree (_tree_node *tree, int indent) |
|
int | tree2json (_tree_node *tree, char *buf, int bufsize) |
|
void | freejstree (_tree_node *tree) |
|
int | jstree_string_decode (char *out, int outlen, char *data) |
|
int | jstree_string_encode (char *out, int outlen, char *data) |
|
◆ alloc_tree_node
#define alloc_tree_node |
( |
| args... | ) |
|
Value:
_tree_node * _alloc_tree_node_len(int type, const char *data, int datalen)
Definition jstree.c:209
_tree_node * _alloc_tree_node_data(int type, const char *data)
Definition jstree.c:190
_tree_node * _alloc_tree_node_type(int type)
Definition jstree.c:178
#define ovrld3(_1, _2, _3, func,...)
Definition overload.h:5
◆ _tree_node
◆ _treenode_data
◆ _alloc_tree_node_data()
_tree_node * _alloc_tree_node_data |
( |
int | type, |
|
|
const char * | data ) |
◆ _alloc_tree_node_len()
_tree_node * _alloc_tree_node_len |
( |
int | type, |
|
|
const char * | data, |
|
|
int | datalen ) |
◆ _alloc_tree_node_type()
◆ dump()
int dump |
( |
const char * | js, |
|
|
jsmntok_t * | t, |
|
|
size_t | count, |
|
|
int | indent ) |
◆ dumptree()
◆ end_node()
◆ find_node()
◆ freejstree()
◆ get_node_string()
int get_node_string |
( |
_tree_node * | node, |
|
|
char * | buf, |
|
|
int | bufsize ) |
◆ js2tree()
◆ jstree_string_decode()
int jstree_string_decode |
( |
char * | out, |
|
|
int | outlen, |
|
|
char * | data ) |
◆ jstree_string_encode()
int jstree_string_encode |
( |
char * | out, |
|
|
int | outlen, |
|
|
char * | data ) |
◆ next_node()
◆ tree2json()
int tree2json |
( |
_tree_node * | tree, |
|
|
char * | buf, |
|
|
int | bufsize ) |