lib: remove "For *" comments in public headers
[babeltrace.git] / include / babeltrace2 / graph / query-executor-const.h
index 0e0413e513f119c780868d16436eb5b039633ef3..63c21e091435e3a9d9ee32676a29e1778d5abdd3 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_GRAPH_QUERY_EXECUTOR_CONST_H
-#define BABELTRACE_GRAPH_QUERY_EXECUTOR_CONST_H
+#ifndef BABELTRACE2_GRAPH_QUERY_EXECUTOR_CONST_H
+#define BABELTRACE2_GRAPH_QUERY_EXECUTOR_CONST_H
 
 /*
  * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * SOFTWARE.
  */
 
-/* For bt_bool, bt_query_executor */
+#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_query_executor_status {
-       BT_QUERY_EXECUTOR_STATUS_OK = 0,
-       BT_QUERY_EXECUTOR_STATUS_AGAIN = 11,
-       BT_QUERY_EXECUTOR_STATUS_UNSUPPORTED = 95,
-       BT_QUERY_EXECUTOR_STATUS_CANCELED = 125,
-       BT_QUERY_EXECUTOR_STATUS_ERROR = -1,
-       BT_QUERY_EXECUTOR_STATUS_NOMEM = -12,
-       BT_QUERY_EXECUTOR_STATUS_INVALID_OBJECT = -23,
-       BT_QUERY_EXECUTOR_STATUS_INVALID_PARAMS = -24,
-} bt_query_executor_status;
-
 extern
 bt_bool bt_query_executor_is_canceled(
                const bt_query_executor *query_executor);
@@ -68,4 +60,4 @@ extern void bt_query_executor_put_ref(
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_QUERY_EXECUTOR_CONST_H */
+#endif /* BABELTRACE2_GRAPH_QUERY_EXECUTOR_CONST_H */
This page took 0.02403 seconds and 4 git commands to generate.