projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add bt_graph_add_component(), make bt_component_create() internal
[babeltrace.git]
/
include
/
babeltrace
/
graph
/
component-internal.h
diff --git
a/include/babeltrace/graph/component-internal.h
b/include/babeltrace/graph/component-internal.h
index f78c468b079ff69d3e5aea0522449e8565ffca42..35a353a1ba7be28abc8974c05535e801a9a3a11a 100644
(file)
--- a/
include/babeltrace/graph/component-internal.h
+++ b/
include/babeltrace/graph/component-internal.h
@@
-64,6
+64,8
@@
struct bt_component {
/* Array of struct bt_component_destroy_listener */
GArray *destroy_listeners;
/* Array of struct bt_component_destroy_listener */
GArray *destroy_listeners;
+
+ bool initialized;
};
static inline
};
static inline
@@
-87,6
+89,11
@@
struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
return (void *) comp->base.parent;
}
return (void *) comp->base.parent;
}
+BT_HIDDEN
+enum bt_component_status bt_component_create(
+ struct bt_component_class *component_class,
+ const char *name, struct bt_component **component);
+
BT_HIDDEN
enum bt_component_status bt_component_accept_port_connection(
struct bt_component *component, struct bt_port *self_port,
BT_HIDDEN
enum bt_component_status bt_component_accept_port_connection(
struct bt_component *component, struct bt_port *self_port,
This page took
0.022867 seconds
and
4
git commands to generate.