Standardize *get_*() functions
[babeltrace.git] / include / babeltrace / graph / component-sink.h
index 3c462bffe56e6327cd0fc129d00b746b22317bc4..96a935c51c7caf581b8970e661897ab05cebf18e 100644 (file)
@@ -27,6 +27,7 @@
  * SOFTWARE.
  */
 
+#include <stdint.h>
 #include <babeltrace/graph/component.h>
 
 #ifdef __cplusplus
@@ -38,10 +39,10 @@ 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_input_port_by_index(
+               struct bt_component *component, uint64_t index);
 extern struct bt_port *bt_component_sink_get_default_input_port(
                struct bt_component *component);
 
This page took 0.02369 seconds and 4 git commands to generate.