X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Ftrace-internal.h;h=19cdd3615571c04e962a0245808324c6cac2d247;hb=c35a1669cedba73681bd259ea7945aa55643e158;hp=169b76bf5d90e03ee11686a86af562d56a2fb58b;hpb=daf013576bcddab6341887d1e8e16fd4659c30e4;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/trace-internal.h b/include/babeltrace/ctf-ir/trace-internal.h index 169b76bf..19cdd361 100644 --- a/include/babeltrace/ctf-ir/trace-internal.h +++ b/include/babeltrace/ctf-ir/trace-internal.h @@ -50,13 +50,12 @@ struct bt_ctf_trace { struct bt_ctf_ref ref_count; int frozen; uuid_t uuid; - int byte_order; + int byte_order; /* A value defined in Babeltrace's "endian.h" */ GPtrArray *environment; /* Array of pointers to environment_variable */ GPtrArray *clocks; /* Array of pointers to bt_ctf_clock */ GPtrArray *stream_classes; /* Array of ptrs to bt_ctf_stream_class */ GPtrArray *streams; /* Array of ptrs to bt_ctf_stream */ - struct bt_ctf_field_type *trace_packet_header_type; - struct bt_ctf_field *trace_packet_header; + struct bt_ctf_field_type *packet_header_type; uint64_t next_stream_id; }; @@ -70,10 +69,6 @@ struct metadata_context { unsigned int current_indentation_level; }; -/* Checks that the string does not contain a reserved keyword */ -BT_HIDDEN -int validate_identifier(const char *string); - BT_HIDDEN const char *get_byte_order_string(int byte_order);