X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Flttng-utils%2Fcopy.h;h=1c4d83f529d8edd72a57be4ac57c861244d6bf0b;hp=77588779f10a1a91357e2e825e1652016a0928ec;hb=40f4ba76dd6f9508ca51b6220eaed57632281a07;hpb=05e2128659970c32648a01255ed870449f05d518 diff --git a/plugins/lttng-utils/copy.h b/plugins/lttng-utils/copy.h index 77588779..1c4d83f5 100644 --- a/plugins/lttng-utils/copy.h +++ b/plugins/lttng-utils/copy.h @@ -32,43 +32,43 @@ #include 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 */