lib: assign values to all public enumerators
[babeltrace.git] / include / babeltrace2 / trace-ir / packet.h
index 07b92b7c5b05677f1abf1932f086497631ae0816..fbe5ed049c3f720c0879c6a4516a1a1fb18f967b 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef BABELTRACE_TRACE_IR_PACKET_H
-#define BABELTRACE_TRACE_IR_PACKET_H
+#ifndef BABELTRACE2_TRACE_IR_PACKET_H
+#define BABELTRACE2_TRACE_IR_PACKET_H
 
 /*
- * Copyright 2016-2018 Philippe Proulx <pproulx@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
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
-/* For bt_packet, bt_packet_context_field, bt_stream */
 #include <babeltrace2/types.h>
 
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#undef __BT_FUNC_STATUS_ENABLE
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -59,6 +54,4 @@ bt_packet_move_context_field_status bt_packet_move_context_field(
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
-#endif /* BABELTRACE_TRACE_IR_PACKET_H */
+#endif /* BABELTRACE2_TRACE_IR_PACKET_H */
This page took 0.027802 seconds and 4 git commands to generate.