tranger2_list_topic_desc_cols()

tranger2_list_topic_desc_cols()#

Returns a JSON array containing the column descriptions of a topic in the TimeRanger database. The returned JSON object must be decremented after use.

Prototype

json_t *tranger2_list_topic_desc_cols(
    json_t      *tranger,
    const char  *topic_name
);

Parameters

Key

Type

Description

tranger

json_t *

A JSON object representing the TimeRanger database instance.

topic_name

const char *

The name of the topic whose column descriptions are to be retrieved.


Return Value

A JSON array containing the column descriptions of the specified topic. The caller must decrement the reference count of the returned JSON object after use.

Notes

This function was previously known as tranger_list_topic_desc().

Prototype

// Not applicable in JS

Prototype

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