projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
List detected component classes
[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 f609e93eca25b7360fff9beb91322935314c3b72..ec6f9c2f1a42620f4d115f8c266f6e1d4ad2d1f8 100644
(file)
--- a/
include/babeltrace/plugin/sink-internal.h
+++ b/
include/babeltrace/plugin/sink-internal.h
@@
-32,6
+32,8
@@
#include <babeltrace/plugin/component-class-internal.h>
#include <babeltrace/plugin/plugin-system.h>
#include <babeltrace/plugin/component-class-internal.h>
#include <babeltrace/plugin/plugin-system.h>
+struct bt_value;
+
struct bt_component_sink_class {
struct bt_component_class parent;
};
struct bt_component_sink_class {
struct bt_component_class parent;
};
@@
-47,22
+49,21
@@
struct bt_component_sink {
* Allocate a sink component.
*
* @param class Component class
* Allocate a sink component.
*
* @param class Component class
- * @param
name Component instance name (will be copied)
+ * @param
params A dictionary of component parameters
* @returns A sink component instance
*/
BT_HIDDEN
* @returns A sink component instance
*/
BT_HIDDEN
-
extern
struct bt_component *bt_component_sink_create(
- struct bt_component_class *class,
const char *name
);
+struct bt_component *bt_component_sink_create(
+ struct bt_component_class *class,
struct bt_value *params
);
/**
/**
- *
Allocate a sink component class
.
+ *
Validate a sink component
.
*
*
- * @param
name Component instance name (will be copied)
- * @returns
A sink component class instance
+ * @param
component Sink component instance to validate
+ * @returns
One of #bt_component_status
*/
*/
-/* FIXME */
BT_HIDDEN
BT_HIDDEN
-e
xtern struct bt_component *bt_component_class_sink_cre
ate(
- struct bt_component
_class *class, const char *name
);
+e
num bt_component_status bt_component_sink_valid
ate(
+ struct bt_component
*component
);
#endif /* BABELTRACE_PLUGIN_SINK_INTERNAL_H */
#endif /* BABELTRACE_PLUGIN_SINK_INTERNAL_H */
This page took
0.02476 seconds
and
4
git commands to generate.