Remove default port API
[babeltrace.git] / include / babeltrace / graph / component-internal.h
index f6ed6ac77f00d2d00434aa49026429ed4ca673d8..fe55a601ff3f6678b6b211d155a32aa02e7abc92 100644 (file)
@@ -35,9 +35,6 @@
 #include <glib.h>
 #include <stdio.h>
 
-#define DEFAULT_INPUT_PORT_NAME                "default"
-#define DEFAULT_OUTPUT_PORT_NAME       "default"
-
 typedef void (*bt_component_destroy_listener_func)(
                struct bt_component *class, void *data);
 
@@ -129,11 +126,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.024629 seconds and 4 git commands to generate.