/* Decoding configuration */
struct ctf_metadata_decoder_config {
+ bt_logging_level log_level;
int64_t clock_class_offset_s;
int64_t clock_class_offset_ns;
};
* if so, sets `*byte_order` to the byte order of the first packet.
*/
BT_HIDDEN
-bool ctf_metadata_decoder_is_packetized(FILE *fp, int *byte_order);
+bool ctf_metadata_decoder_is_packetized(FILE *fp, int *byte_order,
+ bt_logging_level log_level);
/*
* Decodes a packetized metadata file stream to a NULL-terminated
*/
BT_HIDDEN
int ctf_metadata_decoder_packetized_file_stream_to_buf(
- FILE *fp, char **buf, int byte_order);
+ FILE *fp, char **buf, int byte_order,
+ bt_logging_level log_level);
#endif /* _METADATA_DECODER_H */