lib: add bt_{graph,query_executor}_add_interrupter()
[babeltrace.git] / include / babeltrace2 / graph / graph-const.h
index c2dd64cd27ca8a3835b08dd67acee23fadae6a04..168ed2b25c5a8bed26e90487935d76e72263cc70 100644 (file)
@@ -1,9 +1,8 @@
-#ifndef BABELTRACE_GRAPH_GRAPH_CONST_H
-#define BABELTRACE_GRAPH_GRAPH_CONST_H
+#ifndef BABELTRACE2_GRAPH_GRAPH_CONST_H
+#define BABELTRACE2_GRAPH_GRAPH_CONST_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2017 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_bool, bt_graph */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-typedef enum bt_graph_status {
-       BT_GRAPH_STATUS_OK = 0,
-       BT_GRAPH_STATUS_END = 1,
-       BT_GRAPH_STATUS_AGAIN = 11,
-       BT_GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION = 111,
-       BT_GRAPH_STATUS_CANCELED = 125,
-       BT_GRAPH_STATUS_ERROR = -1,
-       BT_GRAPH_STATUS_NOMEM = -12,
-} bt_graph_status;
-
-extern bt_bool bt_graph_is_canceled(const bt_graph *graph);
-
 extern void bt_graph_get_ref(const bt_graph *graph);
 
 extern void bt_graph_put_ref(const bt_graph *graph);
@@ -64,4 +54,4 @@ extern void bt_graph_put_ref(const bt_graph *graph);
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_GRAPH_CONST_H */
+#endif /* BABELTRACE2_GRAPH_GRAPH_CONST_H */
This page took 0.025597 seconds and 4 git commands to generate.