-#ifndef BABELTRACE_COMPONENT_SINK_H
-#define BABELTRACE_COMPONENT_SINK_H
+#ifndef BABELTRACE_GRAPH_COMPONENT_SINK_H
+#define BABELTRACE_GRAPH_COMPONENT_SINK_H
/*
* BabelTrace - Sink Component Interface
* SOFTWARE.
*/
-#include <babeltrace/graph/component.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct bt_component;
-struct bt_notification;
-extern enum bt_component_status bt_component_sink_get_input_port_count(
- struct bt_component *component, uint64_t *count);
-extern struct bt_port *bt_component_sink_get_input_port(
- struct bt_component *component, const char *name);
-extern struct bt_port *bt_component_sink_get_input_port_at_index(
- struct bt_component *component, int index);
-extern struct bt_port *bt_component_sink_get_default_input_port(
+extern int64_t bt_component_sink_get_input_port_count(
struct bt_component *component);
+extern struct bt_port *bt_component_sink_get_input_port_by_name(
+ struct bt_component *component, const char *name);
+extern struct bt_port *bt_component_sink_get_input_port_by_index(
+ struct bt_component *component, uint64_t index);
#ifdef __cplusplus
}
#endif
-#endif /* BABELTRACE_COMPONENT_SINK_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_SINK_H */