-#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 <pproulx@efficios.com>
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 */