tranger2_print_md1_record()
#
Prints metadata information of a record, including row ID, user flag, system flag, timestamps, and key, into a buffer.
Prototype
void tranger2_print_md1_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 where the formatted metadata string will be stored. |
|
|
Size of the buffer to ensure safe writing. |
|
|
Key associated with the record. |
|
|
Pointer to the record metadata structure containing the information to be printed. |
|
|
Flag indicating whether to print timestamps in local time (if |
Return Value
This function does not return a value.
Notes
The function formats and writes metadata details into the provided buffer, ensuring that the output does not exceed bfsize
bytes.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples