tranger2_close_topic()
#
The tranger2_close_topic()
function closes an open topic in the TimeRanger database, releasing associated resources.
Prototype
int tranger2_close_topic(
json_t *tranger,
const char *topic_name
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
A pointer to the TimeRanger database instance. |
|
|
The name of the topic to be closed. |
Return Value
Returns 0
on success, or a negative value on failure.
Notes
Closing a topic does not delete its data; it only releases resources associated with the open topic.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples