lib: add bt_field_class_variant_borrow_option_by_{index,name}()
[babeltrace.git] / include / babeltrace2 / trace-ir / event-class-const.h
index 79c4105a612c4bb5bb636e057b9fe464a3b223b1..80f33eade31898b87ba052263d54a120cff242ca 100644 (file)
@@ -1,9 +1,8 @@
-#ifndef BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H
-#define BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_EVENT_CLASS_CONST_H
+#define BABELTRACE2_TRACE_IR_EVENT_CLASS_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_property_availability */
-#include <babeltrace2/property.h>
-
-/* For bt_event_class, bt_field_class, bt_stream_class */
-#include <babeltrace2/types.h>
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
 
 #include <stdint.h>
 #include <stddef.h>
 
+#include <babeltrace2/property.h>
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -100,4 +97,4 @@ extern void bt_event_class_put_ref(const bt_event_class *event_class);
 }
 #endif
 
-#endif /* BABELTRACE_TRACE_IR_EVENT_CLASS_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_EVENT_CLASS_CONST_H */
This page took 0.025072 seconds and 4 git commands to generate.