Make bt_graph_connect_ports() return a status code
[babeltrace.git] / include / babeltrace / graph / private-component-source.h
index 257e6485e98ad39d63969fae67dae61eeb6cccbd..f4e9269e78a485008b425b95fa50a89a3fab2e18 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_PRIVATE_COMPONENT_SOURCE_H
-#define BABELTRACE_COMPONENT_PRIVATE_COMPONENT_SOURCE_H
+#ifndef BABELTRACE_GRAPH_PRIVATE_COMPONENT_SOURCE_H
+#define BABELTRACE_GRAPH_PRIVATE_COMPONENT_SOURCE_H
 
 /*
  * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
@@ -43,17 +43,13 @@ bt_private_component_source_get_output_private_port_by_index(
                struct bt_private_component *private_component,
                uint64_t index);
 
-extern struct bt_private_port *
-bt_private_component_source_get_default_output_private_port(
-               struct bt_private_component *private_component);
-
 extern struct bt_private_port *
 bt_private_component_source_add_output_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_SOURCE_H */
+#endif /* BABELTRACE_GRAPH_PRIVATE_COMPONENT_SOURCE_H */
This page took 0.024833 seconds and 4 git commands to generate.