lib: remove CTF concepts of packet and event headers
[babeltrace.git] / include / babeltrace / trace-ir / event-const.h
index 680e459fb09658ac448e6498f67c68c5a1fb2f3a..1199c40a71aa4ef2bb745261f6e7516d1ae90984 100644 (file)
@@ -27,7 +27,7 @@
  * http://www.efficios.com/ctf
  */
 
-/* For enum bt_clock_snapshot_state */
+/* For bt_clock_snapshot_state */
 #include <babeltrace/trace-ir/clock-snapshot-const.h>
 
 /* For bt_event, bt_clock_snapshot, bt_event_class, bt_field, bt_packet */
 extern "C" {
 #endif
 
-enum bt_event_status {
+typedef enum bt_event_status {
        BT_EVENT_STATUS_OK = 0,
        BT_EVENT_STATUS_NOMEM = -12,
-};
+} bt_event_status;
 
 extern const bt_event_class *bt_event_borrow_class_const(
                const bt_event *event);
@@ -51,9 +51,6 @@ extern const bt_packet *bt_event_borrow_packet_const(
 extern const bt_stream *bt_event_borrow_stream_const(
                const bt_event *event);
 
-extern const bt_field *bt_event_borrow_header_field_const(
-               const bt_event *event);
-
 extern const bt_field *bt_event_borrow_common_context_field_const(
                const bt_event *event);
 
@@ -63,7 +60,7 @@ extern const bt_field *bt_event_borrow_specific_context_field_const(
 extern const bt_field *bt_event_borrow_payload_field_const(
                const bt_event *event);
 
-extern enum bt_clock_snapshot_state bt_event_borrow_default_clock_snapshot_const(
+extern bt_clock_snapshot_state bt_event_borrow_default_clock_snapshot_const(
                const bt_event *event,
                const bt_clock_snapshot **clock_snapshot);
 
This page took 0.026888 seconds and 4 git commands to generate.