treedb_list_treedb()

treedb_list_treedb()#

treedb_list_treedb() returns a list of available TreeDB names stored in the given tranger instance.

Prototype

json_t *treedb_list_treedb(
    json_t *tranger,
    json_t *kw
);

Parameters

Key

Type

Description

tranger

json_t *

A reference to the tranger instance containing the TreeDBs.

kw

json_t *

Optional filtering options (owned).


Return Value

A JSON array containing the names of available TreeDBs. The caller must not modify or free the returned value.

Notes

The returned list is managed internally and should not be altered or freed by the caller.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples