trmsg_close_list()#
trmsg_close_list() closes a previously opened list of messages in the TimeRanger system, releasing associated resources.
Prototype
int trmsg_close_list(
json_t *tranger,
json_t *list
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
Pointer to the TimeRanger instance managing the list. |
|
|
Pointer to the list of messages to be closed. |
Return Value
Returns 0 on success, or a negative value on failure.
Notes
Ensure that trmsg_open_list() was called before invoking trmsg_close_list() to properly manage resources.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples