X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fquery-executor.c;fp=lib%2Fgraph%2Fquery-executor.c;h=c7613ce9adc65626546879d47592e43507bb165b;hb=c5b9b4417bedfbec9b5dd23b8395ccdd4eeffc44;hp=4ef28cc73515d7ea5c4a83c34daf280b1db55ef0;hpb=e2f7325d1e58710ee928373592adcee466f93d06;p=babeltrace.git diff --git a/lib/graph/query-executor.c b/lib/graph/query-executor.c index 4ef28cc7..c7613ce9 100644 --- a/lib/graph/query-executor.c +++ b/lib/graph/query-executor.c @@ -23,6 +23,8 @@ #define BT_LOG_TAG "QUERY-EXECUTOR" #include +#include +#include #include #include #include @@ -31,10 +33,7 @@ #include #include #include -#include #include -#include -#include static void bt_query_executor_destroy(struct bt_object *obj) @@ -157,3 +156,13 @@ bt_bool bt_query_executor_is_canceled(const struct bt_query_executor *query_exec BT_ASSERT_PRE_NON_NULL(query_exec, "Query executor"); return query_exec->canceled; } + +void bt_query_executor_get_ref(const struct bt_query_executor *query_executor) +{ + bt_object_get_ref(query_executor); +} + +void bt_query_executor_put_ref(const struct bt_query_executor *query_executor) +{ + bt_object_put_ref(query_executor); +}