tranger2_print_md0_record()
#
Prints metadata of a record, including row ID, time, message time, and key, into a buffer.
Prototype
void tranger2_print_md0_record(
char *bf,
int bfsize,
const char *key,
const md2_record_ex_t *md_record_ex,
BOOL print_local_time
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Buffer to store the formatted metadata string. |
|
|
Size of the buffer to prevent overflow. |
|
|
Key associated with the record. |
|
|
Pointer to the record metadata structure. |
|
|
Flag indicating whether to print time in local format. |
Return Value
This function does not return a value.
Notes
The function formats the metadata into the provided buffer, ensuring it does not exceed bfsize
. It prints row ID, time, message time, and key.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples