X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fquery-executor-const.h;h=a857ed7071817715d485485a2a0dc04ff3121abe;hb=1cda4ff4025e4b3f7bd2a861baa51d2113c4cbf9;hp=59ac13c1e20da1bab9219bc47446669c14c1133f;hpb=924dc299c8a893e92fcd985fa05c245b591ef314;p=babeltrace.git diff --git a/include/babeltrace2/graph/query-executor-const.h b/include/babeltrace2/graph/query-executor-const.h index 59ac13c1..a857ed70 100644 --- a/include/babeltrace2/graph/query-executor-const.h +++ b/include/babeltrace2/graph/query-executor-const.h @@ -2,7 +2,7 @@ #define BABELTRACE2_GRAPH_QUERY_EXECUTOR_CONST_H /* - * Copyright 2017-2018 Philippe Proulx + * 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 @@ -23,22 +23,25 @@ * SOFTWARE. */ -/* For bt_bool, bt_query_executor */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #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( +extern bt_logging_level bt_query_executor_get_logging_level( const bt_query_executor *query_executor); -extern void bt_query_executor_put_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); #define BT_QUERY_EXECUTOR_PUT_REF_AND_RESET(_var) \ do { \