projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move initialization of components to init functions
[babeltrace.git]
/
include
/
babeltrace
/
plugin
/
sink-internal.h
diff --git
a/include/babeltrace/plugin/sink-internal.h
b/include/babeltrace/plugin/sink-internal.h
index 30617789559a8d7a376f84c9143cda85c17809c3..b33333871ed5344c3b69597bd3528ed0b64c5341 100644
(file)
--- a/
include/babeltrace/plugin/sink-internal.h
+++ b/
include/babeltrace/plugin/sink-internal.h
@@
-38,4
+38,13
@@
struct bt_component_sink {
bt_component_sink_handle_notification_cb handle_notification;
};
bt_component_sink_handle_notification_cb handle_notification;
};
+/**
+ * Allocate a sink component.
+ *
+ * @param name Component instance name (will be copied)
+ * @returns A sink component instance
+ */
+BT_HIDDEN
+extern struct bt_component *bt_component_sink_create(const char *name);
+
#endif /* BABELTRACE_PLUGIN_SINK_INTERNAL_H */
#endif /* BABELTRACE_PLUGIN_SINK_INTERNAL_H */
This page took
0.023225 seconds
and
4
git commands to generate.