Set private port's user data on creation
[babeltrace.git] / include / babeltrace / graph / component-internal.h
index f6ed6ac77f00d2d00434aa49026429ed4ca673d8..2308afdd5ea363f2561085d2405133dbb150e70a 100644 (file)
@@ -129,11 +129,13 @@ struct bt_port *bt_component_get_output_port_by_name(struct bt_component *comp,
 
 BT_HIDDEN
 struct bt_port *bt_component_add_input_port(
-               struct bt_component *component, const char *name);
+               struct bt_component *component, const char *name,
+               void *user_data);
 
 BT_HIDDEN
 struct bt_port *bt_component_add_output_port(
-               struct bt_component *component, const char *name);
+               struct bt_component *component, const char *name,
+               void *user_data);
 
 BT_HIDDEN
 enum bt_component_status bt_component_remove_port(
This page took 0.02383 seconds and 4 git commands to generate.