X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fcomponent-sink.c;h=41a9a376108ff93e67730a2d4293708b21587c1e;hb=c5b9b4417bedfbec9b5dd23b8395ccdd4eeffc44;hp=1d32d609784ec8cb7a823b0a986963114059801b;hpb=e2f7325d1e58710ee928373592adcee466f93d06;p=babeltrace.git diff --git a/lib/graph/component-sink.c b/lib/graph/component-sink.c index 1d32d609..41a9a376 100644 --- a/lib/graph/component-sink.c +++ b/lib/graph/component-sink.c @@ -24,6 +24,8 @@ #define BT_LOG_TAG "COMP-SINK" #include +#include +#include #include #include #include @@ -31,9 +33,6 @@ #include #include #include -#include -#include -#include BT_HIDDEN void bt_component_sink_destroy(struct bt_component *component) @@ -123,3 +122,15 @@ end: bt_object_put_ref(port); return status; } + +void bt_component_sink_get_ref( + const struct bt_component_sink *component_sink) +{ + bt_object_get_ref(component_sink); +} + +void bt_component_sink_put_ref( + const struct bt_component_sink *component_sink) +{ + bt_object_put_ref(component_sink); +}