lib: make discarded events/packets support and clock snapshots optional
[babeltrace.git] / include / babeltrace / trace-ir / event-class-internal.h
index bf095da0d3246a0a48a854afd6db3edb16c5ef84..3367058c11abdd6df7e69b90ac0fcd405daa8b2d 100644 (file)
@@ -2,12 +2,9 @@
 #define BABELTRACE_TRACE_IR_EVENT_CLASS_INTERNAL_H
 
 /*
- * Babeltrace - Trace IR: Event class internal
- *
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
  */
 
 #include <babeltrace/assert-pre-internal.h>
-#include <babeltrace/trace-ir/field-classes.h>
-#include <babeltrace/trace-ir/fields.h>
+#include <babeltrace/trace-ir/field-class.h>
+#include <babeltrace/trace-ir/field.h>
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/values.h>
+#include <babeltrace/value.h>
 #include <babeltrace/trace-ir/trace-internal.h>
 #include <babeltrace/trace-ir/stream-class.h>
 #include <babeltrace/trace-ir/stream.h>
@@ -72,7 +69,7 @@ struct bt_event_class {
 };
 
 BT_HIDDEN
-void _bt_event_class_freeze(struct bt_event_class *event_class);
+void _bt_event_class_freeze(const struct bt_event_class *event_class);
 
 #ifdef BT_DEV_MODE
 # define bt_event_class_freeze         _bt_event_class_freeze
@@ -82,7 +79,7 @@ void _bt_event_class_freeze(struct bt_event_class *event_class);
 
 static inline
 struct bt_stream_class *bt_event_class_borrow_stream_class_inline(
-               struct bt_event_class *event_class)
+               const struct bt_event_class *event_class)
 {
        BT_ASSERT(event_class);
        return (void *) bt_object_borrow_parent(&event_class->base);
This page took 0.040955 seconds and 4 git commands to generate.