lib: add non-const FC borrow functions for container FCs
[babeltrace.git] / include / babeltrace2 / graph / message-const.h
index 7716de59f121234ccd33228f90ce6174d319594f..080f377103274f04fd45b017d0241847908d891a 100644 (file)
@@ -1,9 +1,8 @@
-#ifndef BABELTRACE_GRAPH_MESSAGE_CONST_H
-#define BABELTRACE_GRAPH_MESSAGE_CONST_H
+#ifndef BABELTRACE2_GRAPH_MESSAGE_CONST_H
+#define BABELTRACE2_GRAPH_MESSAGE_CONST_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2015 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
  * SOFTWARE.
  */
 
-/* For bt_message */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -41,10 +43,8 @@ typedef enum bt_message_type {
        BT_MESSAGE_TYPE_STREAM_END = 3,
        BT_MESSAGE_TYPE_PACKET_BEGINNING = 4,
        BT_MESSAGE_TYPE_PACKET_END = 5,
-       BT_MESSAGE_TYPE_STREAM_ACTIVITY_BEGINNING = 6,
-       BT_MESSAGE_TYPE_STREAM_ACTIVITY_END = 7,
-       BT_MESSAGE_TYPE_DISCARDED_EVENTS = 8,
-       BT_MESSAGE_TYPE_DISCARDED_PACKETS = 9,
+       BT_MESSAGE_TYPE_DISCARDED_EVENTS = 6,
+       BT_MESSAGE_TYPE_DISCARDED_PACKETS = 7,
 } bt_message_type;
 
 /**
@@ -76,4 +76,4 @@ extern void bt_message_put_ref(const bt_message *message);
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_MESSAGE_CONST_H */
+#endif /* BABELTRACE2_GRAPH_MESSAGE_CONST_H */
This page took 0.023989 seconds and 4 git commands to generate.