X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-internal.h;fp=include%2Fbabeltrace%2Fgraph%2Fcomponent-internal.h;h=452e6c5aa5c9bbb735ed22a86b44d8cf65dfa530;hp=d5555f1a8fe1c80cfb6ecf9c92e637bd2be70f15;hb=8cc56726828daf6e193dc131435948d2c9a2cb4e;hpb=cd6128ca5412c3b9cb40afe2580008329f612930 diff --git a/include/babeltrace/graph/component-internal.h b/include/babeltrace/graph/component-internal.h index d5555f1a..452e6c5a 100644 --- a/include/babeltrace/graph/component-internal.h +++ b/include/babeltrace/graph/component-internal.h @@ -116,14 +116,14 @@ struct bt_port_output *bt_component_borrow_output_port_by_name( struct bt_component *comp, const char *name); BT_HIDDEN -struct bt_port_input *bt_component_add_input_port( +enum bt_self_component_status bt_component_add_input_port( struct bt_component *component, const char *name, - void *user_data); + void *user_data, struct bt_port **port); BT_HIDDEN -struct bt_port_output *bt_component_add_output_port( +enum bt_self_component_status bt_component_add_output_port( struct bt_component *component, const char *name, - void *user_data); + void *user_data, struct bt_port **port); BT_HIDDEN void bt_component_remove_port(struct bt_component *component,