lib: bt_graph_create(): accept MIP version
[babeltrace.git] / include / babeltrace2 / util.h
index f251eda909c20cf3c906fa1f3accaf7f4e6b2548..8d9585c3288b07a03c6aee6187eb3d518e28240f 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef BABELTRACE_UTIL_H
-#define BABELTRACE_UTIL_H
+#ifndef BABELTRACE2_UTIL_H
+#define BABELTRACE2_UTIL_H
 
 /*
- * Copyright (c) 2015-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
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
 #ifdef __cplusplus
@@ -31,7 +35,7 @@ extern "C" {
 
 typedef enum bt_util_status {
        BT_UTIL_STATUS_OK = 0,
-       BT_UTIL_STATUS_OVERFLOW = -75,
+       BT_UTIL_STATUS_OVERFLOW_ERROR = -75,
 } bt_util_status;
 
 bt_util_status bt_util_clock_cycles_to_ns_from_origin(uint64_t cycles,
@@ -42,4 +46,4 @@ bt_util_status bt_util_clock_cycles_to_ns_from_origin(uint64_t cycles,
 }
 #endif
 
-#endif /* BABELTRACE_UTIL_H */
+#endif /* BABELTRACE2_UTIL_H */
This page took 0.030288 seconds and 4 git commands to generate.