-#ifndef BABELTRACE_TRACE_IR_PACKET_CONST_H
-#define BABELTRACE_TRACE_IR_PACKET_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_PACKET_CONST_H
+#define BABELTRACE2_TRACE_IR_PACKET_CONST_H
/*
* Copyright 2016-2018 Philippe Proulx <pproulx@efficios.com>
* http://www.efficios.com/ctf
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
/* For bt_property_availability */
extern "C" {
#endif
-typedef enum bt_packet_status {
- BT_PACKET_STATUS_OK = 0,
- BT_PACKET_STATUS_NOMEM = -12,
-} bt_packet_status;
-
extern const bt_stream *bt_packet_borrow_stream_const(
const bt_packet *packet);
}
#endif
-#endif /* BABELTRACE_TRACE_IR_PACKET_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_PACKET_CONST_H */