/* User-defined data */
void *user_data;
- /*
- * Used to protect operations which may only be used during
- * a component's initialization.
- */
- bt_bool initializing;
-
/* Input and output ports (weak references) */
GPtrArray *input_ports;
GPtrArray *output_ports;
return (void *) component;
}
+static inline
+struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
+{
+ assert(comp);
+ return (void *) comp->base.parent;
+}
+
BT_HIDDEN
enum bt_component_status bt_component_accept_port_connection(
struct bt_component *component, struct bt_port *self_port,