tranger2_print_record_filename()#
Formats and stores the filename of a record in a buffer, using metadata from tranger2_print_record_filename().
Prototype
void tranger2_print_record_filename(
char *bf,
int bfsize,
json_t *tranger,
json_t *topic,
const md2_record_ex_t *md_record_ex,
BOOL print_local_time
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
Pointer to the buffer where the formatted filename will be stored. |
|
|
Size of the buffer in bytes. |
|
|
Pointer to the TimeRanger database instance. |
|
|
Pointer to the topic associated with the record. |
|
|
Pointer to the record metadata structure. |
|
|
Flag indicating whether to format timestamps in local time. |
Return Value
This function does not return a value.
Notes
The buffer bf must be large enough to store the formatted filename. The function retrieves metadata from tranger2_print_record_filename() to construct the filename.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples