X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fprivate-component-sink.h;h=bf2473beac5e80f9724b704076854a08ea66828b;hb=1ca80abd6ac25e66d876a358ceee03910e7c0173;hp=db3e71f1d7a109854e7171577713b346c2a20c96;hpb=9ac68eb139149d2768848dae5e263cc5a755d439;p=babeltrace.git diff --git a/include/babeltrace/graph/private-component-sink.h b/include/babeltrace/graph/private-component-sink.h index db3e71f1..bf2473be 100644 --- a/include/babeltrace/graph/private-component-sink.h +++ b/include/babeltrace/graph/private-component-sink.h @@ -1,5 +1,5 @@ -#ifndef BABELTRACE_COMPONENT_PRIVATE_COMPONENT_SINK_H -#define BABELTRACE_COMPONENT_PRIVATE_COMPONENT_SINK_H +#ifndef BABELTRACE_GRAPH_PRIVATE_COMPONENT_SINK_H +#define BABELTRACE_GRAPH_PRIVATE_COMPONENT_SINK_H /* * Copyright 2017 Philippe Proulx @@ -42,17 +42,13 @@ extern struct bt_private_port * bt_private_component_sink_get_input_private_port_by_index( struct bt_private_component *private_component, uint64_t index); -extern struct bt_private_port * -bt_private_component_sink_get_default_input_private_port( - struct bt_private_component *private_component); - extern struct bt_private_port * bt_private_component_sink_add_input_private_port( struct bt_private_component *private_component, - const char *name); + const char *name, void *user_data); #ifdef __cplusplus } #endif -#endif /* BABELTRACE_COMPONENT_PRIVATE_COMPONENT_SINK_H */ +#endif /* BABELTRACE_GRAPH_PRIVATE_COMPONENT_SINK_H */