Normalize public header include guards
[babeltrace.git] / include / babeltrace / graph / private-component-sink.h
index 52178aebc43bf40a4fa7f896380b5d199a4dfcde..bf2473beac5e80f9724b704076854a08ea66828b 100644 (file)
@@ -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 <pproulx@efficios.com>
@@ -23,6 +23,7 @@
  * SOFTWARE.
  */
 
+#include <stdint.h>
 #include <babeltrace/graph/component.h>
 
 #ifdef __cplusplus
@@ -33,25 +34,21 @@ struct bt_private_component;
 struct bt_private_port;
 
 extern struct bt_private_port *
-bt_private_component_sink_get_input_private_port(
+bt_private_component_sink_get_input_private_port_by_name(
                struct bt_private_component *private_component,
                const char *name);
 
 extern struct bt_private_port *
-bt_private_component_sink_get_input_private_port_at_index(
-               struct bt_private_component *private_component, int index);
-
-extern struct bt_private_port *
-bt_private_component_sink_get_default_input_private_port(
-               struct bt_private_component *private_component);
+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_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 */
This page took 0.025774 seconds and 4 git commands to generate.