tranger2_close_rt_disk()

tranger2_close_rt_disk()#

The tranger2_close_rt_disk() function closes a previously opened real-time disk stream in the TimeRanger database, releasing associated resources.

Prototype

int tranger2_close_rt_disk(
    json_t *tranger,
    json_t *disk
);

Parameters

Key

Type

Description

tranger

json_t *

A pointer to the TimeRanger database instance.

disk

json_t *

A pointer to the real-time disk stream to be closed.


Return Value

Returns 0 on success, or a negative value on failure.

Notes

This function should be called when a real-time disk stream is no longer needed to free resources.

Prototype

// Not applicable in JS

Prototype

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