X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fgraph.c;fp=lib%2Fgraph%2Fgraph.c;h=3588c54a054d7a0c954b69fce72987eb57394c98;hb=c5b9b4417bedfbec9b5dd23b8395ccdd4eeffc44;hp=56f98b13aecee5970e969b924f39c24acee2cca6;hpb=e2f7325d1e58710ee928373592adcee466f93d06;p=babeltrace.git diff --git a/lib/graph/graph.c b/lib/graph/graph.c index 56f98b13..3588c54a 100644 --- a/lib/graph/graph.c +++ b/lib/graph/graph.c @@ -24,6 +24,8 @@ #define BT_LOG_TAG "GRAPH" #include +#include +#include #include #include #include @@ -42,9 +44,6 @@ #include #include #include -#include -#include -#include #include #include @@ -1937,3 +1936,13 @@ void bt_graph_add_notification(struct bt_graph *graph, */ g_ptr_array_add(graph->notifications, notif); } + +void bt_graph_get_ref(const struct bt_graph *graph) +{ + bt_object_get_ref(graph); +} + +void bt_graph_put_ref(const struct bt_graph *graph) +{ + bt_object_put_ref(graph); +}