bt2: honor self component or query log level when logging
[babeltrace.git] / include / babeltrace2 / graph / query-executor-const.h
index 16f8a85490fde5909110cf1a0a1c4699adcc25cd..9b6be7e5bc1133b04f5822a464b9d2cfcf5b824b 100644 (file)
@@ -1,8 +1,8 @@
-#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>
+ * 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_query_executor */
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-extern
-bt_bool bt_query_executor_is_canceled(
+extern bt_bool bt_query_executor_is_interrupted(
                const bt_query_executor *query_executor);
 
-extern void bt_query_executor_get_ref(
-               const bt_query_executor *query_executor);
+extern void bt_query_executor_get_ref(const bt_query_executor *query_executor);
 
-extern void bt_query_executor_put_ref(
-               const bt_query_executor *query_executor);
+extern void bt_query_executor_put_ref(const bt_query_executor *query_executor);
 
 #define BT_QUERY_EXECUTOR_PUT_REF_AND_RESET(_var)              \
        do {                                                    \
@@ -57,4 +57,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.033185 seconds and 4 git commands to generate.