projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set private port's user data on creation
[babeltrace.git]
/
lib
/
graph
/
filter.c
diff --git
a/lib/graph/filter.c
b/lib/graph/filter.c
index 81f872e648fe798e658dbf1dacd5bd072a04e2d6..e109e15ed434adcba9ec2913976f85e1b36c28ba 100644
(file)
--- a/
lib/graph/filter.c
+++ b/
lib/graph/filter.c
@@
-206,7
+206,7
@@
bt_private_component_filter_get_default_input_private_port(
struct bt_private_port *bt_private_component_filter_add_input_private_port(
struct bt_private_component *private_component,
struct bt_private_port *bt_private_component_filter_add_input_private_port(
struct bt_private_component *private_component,
- const char *name)
+ const char *name
, void *user_data
)
{
struct bt_port *port = NULL;
struct bt_component *component =
{
struct bt_port *port = NULL;
struct bt_component *component =
@@
-217,7
+217,7
@@
struct bt_private_port *bt_private_component_filter_add_input_private_port(
goto end;
}
goto end;
}
- port = bt_component_add_input_port(component, name);
+ port = bt_component_add_input_port(component, name
, user_data
);
end:
return bt_private_port_from_port(port);
}
end:
return bt_private_port_from_port(port);
}
@@
-242,7
+242,7
@@
bt_private_component_filter_get_default_output_private_port(
struct bt_private_port *bt_private_component_filter_add_output_private_port(
struct bt_private_component *private_component,
struct bt_private_port *bt_private_component_filter_add_output_private_port(
struct bt_private_component *private_component,
- const char *name)
+ const char *name
, void *user_data
)
{
struct bt_port *port = NULL;
struct bt_component *component =
{
struct bt_port *port = NULL;
struct bt_component *component =
@@
-253,7
+253,7
@@
struct bt_private_port *bt_private_component_filter_add_output_private_port(
goto end;
}
goto end;
}
- port = bt_component_add_output_port(component, name);
+ port = bt_component_add_output_port(component, name
, user_data
);
end:
return bt_private_port_from_port(port);
}
end:
return bt_private_port_from_port(port);
}
This page took
0.026138 seconds
and
4
git commands to generate.