projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Visibility: split graph API into public and private interfaces
[babeltrace.git]
/
plugins
/
muxer
/
muxer.c
diff --git
a/plugins/muxer/muxer.c
b/plugins/muxer/muxer.c
index 745e0803f6b1c7cac5e1332aeaf5cdd78f9b9a5e..9a58310b3cb5223c588412f38725ede59084d857 100644
(file)
--- a/
plugins/muxer/muxer.c
+++ b/
plugins/muxer/muxer.c
@@
-55,15
+55,15
@@
end:
}
static
}
static
-void destroy_muxer(struct bt_component *component)
+void destroy_muxer(struct bt_
private_
component *component)
{
{
- void *data = bt_
component_get_private
_data(component);
+ void *data = bt_
private_component_get_user
_data(component);
destroy_muxer_data(data);
}
enum bt_component_status muxer_component_init(
destroy_muxer_data(data);
}
enum bt_component_status muxer_component_init(
- struct bt_component *component, struct bt_value *params,
+ struct bt_
private_
component *component, struct bt_value *params,
UNUSED_VAR void *init_method_data)
{
enum bt_component_status ret;
UNUSED_VAR void *init_method_data)
{
enum bt_component_status ret;
@@
-74,7
+74,7
@@
enum bt_component_status muxer_component_init(
goto end;
}
goto end;
}
- ret = bt_
component_set_private
_data(component, muxer);
+ ret = bt_
private_component_set_user
_data(component, muxer);
if (ret != BT_COMPONENT_STATUS_OK) {
goto error;
}
if (ret != BT_COMPONENT_STATUS_OK) {
goto error;
}
@@
-87,14
+87,14
@@
error:
static
struct bt_notification *muxer_iterator_get(
static
struct bt_notification *muxer_iterator_get(
- struct bt_notification_iterator *iterator)
+ struct bt_
private_
notification_iterator *iterator)
{
return NULL;
}
static
enum bt_notification_iterator_status muxer_iterator_next(
{
return NULL;
}
static
enum bt_notification_iterator_status muxer_iterator_next(
- struct bt_notification_iterator *iterator)
+ struct bt_
private_
notification_iterator *iterator)
{
return BT_NOTIFICATION_ITERATOR_STATUS_OK;
}
{
return BT_NOTIFICATION_ITERATOR_STATUS_OK;
}
This page took
0.02376 seconds
and
4
git commands to generate.