tranger2_list_topics()

tranger2_list_topics()#

Returns a list of topic names from the tranger database.

Prototype

json_t *tranger2_list_topics(
    json_t *tranger
);

Parameters

Key

Type

Description

tranger

json_t *

The tranger database instance.


Return Value

A JSON array containing the names of all topics in the tranger database. The caller owns the returned JSON object and must free it when no longer needed.

Notes

This function retrieves all topic names, regardless of whether they are currently open or not.

Prototype

// Not applicable in JS

Prototype

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