include/babeltrace/graph: fix some include guards
[babeltrace.git] / include / babeltrace / graph / component-sink.h
index 3c462bffe56e6327cd0fc129d00b746b22317bc4..a89aa424038225be19af5dd7f3a244adc94a2428 100644 (file)
@@ -1,5 +1,5 @@
-#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 int64_t bt_component_sink_get_input_port_count(
                struct bt_component *component);
-extern struct bt_port *bt_component_sink_get_input_port(
+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_at_index(
-               struct bt_component *component, int index);
-extern struct bt_port *bt_component_sink_get_default_input_port(
-               struct bt_component *component);
+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 */
This page took 0.0242 seconds and 4 git commands to generate.