-#ifndef BABELTRACE_TRACE_IR_EVENT_CONST_H
-#define BABELTRACE_TRACE_IR_EVENT_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_EVENT_CONST_H
+#define BABELTRACE2_TRACE_IR_EVENT_CONST_H
/*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
- *
- * The Common Trace Format (CTF) Specification is available at
- * http://www.efficios.com/ctf
*/
-/* For bt_event, bt_event_class, bt_field, bt_packet */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <babeltrace2/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);
}
#endif
-#endif /* BABELTRACE_TRACE_IR_EVENT_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_EVENT_CONST_H */