Fix: src.ctf.lttng-live: emitting stream end msg with no stream
[babeltrace.git] / include / babeltrace2 / trace-ir / packet-const.h
index 948a061ab86fd8550851e4591a128568b1f5c218..f3fdd2d6debe48b9314de3d341a6460b271ad497 100644 (file)
@@ -1,8 +1,8 @@
-#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>
+ * 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_property_availability */
 #include <babeltrace2/property.h>
-
-/*
- * For bt_packet, bt_packet_context_field, bt_stream
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -68,4 +64,4 @@ extern void bt_packet_put_ref(const bt_packet *packet);
 }
 #endif
 
-#endif /* BABELTRACE_TRACE_IR_PACKET_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_PACKET_CONST_H */
This page took 0.023377 seconds and 4 git commands to generate.