Fix: Field types native byte order refers to the trace
[babeltrace.git] / include / babeltrace / ctf-ir / trace-internal.h
index 169b76bf5d90e03ee11686a86af562d56a2fb58b..19cdd3615571c04e962a0245808324c6cac2d247 100644 (file)
@@ -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);
 
This page took 0.023089 seconds and 4 git commands to generate.