X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_graph.i;h=a2e623e5747aa5fa92cf8fbef3fefb956f67b7c1;hb=66964f3f7b0b7e3b774ddb043b0f197018d23730;hp=ccb3c246c18c45fca9e5b04536b5faec21ccb56a;hpb=ab1cea3f45de3ad0f4d70165c723f321a0eae10c;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/native_bt_graph.i b/src/bindings/python/bt2/bt2/native_bt_graph.i index ccb3c246..a2e623e5 100644 --- a/src/bindings/python/bt2/bt2/native_bt_graph.i +++ b/src/bindings/python/bt2/bt2/native_bt_graph.i @@ -112,5 +112,30 @@ PyObject *bt_bt2_graph_add_port_added_listener(struct bt_graph *graph, PyObject *py_callable); + PyObject *bt_bt2_graph_add_ports_connected_listener(struct bt_graph *graph, PyObject *py_callable); + +bt_graph_add_component_status +bt_bt2_graph_add_source_component( + bt_graph *graph, + const bt_component_class_source *component_class, + const char *name, const bt_value *params, + PyObject *obj, bt_logging_level log_level, + const bt_component_source **component); + +bt_graph_add_component_status +bt_bt2_graph_add_filter_component( + bt_graph *graph, + const bt_component_class_filter *component_class, + const char *name, const bt_value *params, + PyObject *obj, bt_logging_level log_level, + const bt_component_filter **component); + +bt_graph_add_component_status +bt_bt2_graph_add_sink_component( + bt_graph *graph, + const bt_component_class_sink *component_class, + const char *name, const bt_value *params, + PyObject *obj, bt_logging_level log_level, + const bt_component_sink **component);