lib: have default clock snapshot in event message
[babeltrace.git] / include / babeltrace / trace-ir / event-const.h
index 00b58cab4f5c42237417799c109a387f202e50c5..00dff658148d3969fd0101646663125eb98bca0d 100644 (file)
  * http://www.efficios.com/ctf
  */
 
-/* For enum 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 */
+/* For bt_event, bt_event_class, bt_field, bt_packet */
 #include <babeltrace/types.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+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);
 
@@ -46,9 +48,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);
 
@@ -58,10 +57,6 @@ 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(
-               const bt_event *event,
-               const bt_clock_snapshot **clock_snapshot);
-
 #ifdef __cplusplus
 }
 #endif
This page took 0.029169 seconds and 4 git commands to generate.