#include <babeltrace/babeltrace.h>
BT_HIDDEN
-struct bt_event *debug_info_output_event(struct debug_info_iterator *debug_it,
- struct bt_event *event);
+const struct bt_event *debug_info_output_event(struct debug_info_iterator *debug_it,
+ const struct bt_event *event);
BT_HIDDEN
-struct bt_packet *debug_info_new_packet(struct debug_info_iterator *debug_it,
- struct bt_packet *packet);
+const struct bt_packet *debug_info_new_packet(struct debug_info_iterator *debug_it,
+ const struct bt_packet *packet);
BT_HIDDEN
-struct bt_packet *debug_info_close_packet(struct debug_info_iterator *debug_it,
- struct bt_packet *packet);
+const struct bt_packet *debug_info_close_packet(struct debug_info_iterator *debug_it,
+ const struct bt_packet *packet);
BT_HIDDEN
-struct bt_stream *debug_info_stream_begin(
+const struct bt_stream *debug_info_stream_begin(
struct debug_info_iterator *debug_it,
- struct bt_stream *stream);
+ const struct bt_stream *stream);
BT_HIDDEN
-struct bt_stream *debug_info_stream_end(struct debug_info_iterator *debug_it,
- struct bt_stream *stream);
+const struct bt_stream *debug_info_stream_end(struct debug_info_iterator *debug_it,
+ const struct bt_stream *stream);
BT_HIDDEN
int get_stream_event_context_unsigned_int_field_value(FILE *err,
- struct bt_event *event, const char *field_name,
+ const struct bt_event *event, const char *field_name,
uint64_t *value);
BT_HIDDEN
-int get_stream_event_context_int_field_value(FILE *err, struct bt_event *event,
+int get_stream_event_context_int_field_value(FILE *err, const struct bt_event *event,
const char *field_name, int64_t *value);
BT_HIDDEN
int get_payload_unsigned_int_field_value(FILE *err,
- struct bt_event *event, const char *field_name,
+ const struct bt_event *event, const char *field_name,
uint64_t *value);
BT_HIDDEN
-int get_payload_int_field_value(FILE *err, struct bt_event *event,
+int get_payload_int_field_value(FILE *err, const struct bt_event *event,
const char *field_name, int64_t *value);
BT_HIDDEN
int get_payload_string_field_value(FILE *err,
- struct bt_event *event, const char *field_name,
+ const struct bt_event *event, const char *field_name,
const char **value);
BT_HIDDEN
int get_payload_build_id_field_value(FILE *err,
- struct bt_event *event, const char *field_name,
+ const struct bt_event *event, const char *field_name,
uint8_t **build_id, uint64_t *build_id_len);
#endif /* BABELTRACE_PLUGIN_TRIMMER_COPY_H */