Allow a component to remove a port and any user to disconnect one
[babeltrace.git] / include / babeltrace / component / component-filter-internal.h
index 5ae007fa477c177d794dc4ab0f4a926fce53fef5..68598346c963a2fb5587160c56d787427748f906 100644 (file)
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/component/component-internal.h>
 #include <babeltrace/component/component-class-internal.h>
-#include <babeltrace/component/input.h>
 
 struct bt_value;
 
 struct bt_component_filter {
        struct bt_component parent;
-       struct component_input input;
 };
 
 /**
@@ -50,6 +48,9 @@ BT_HIDDEN
 struct bt_component *bt_component_filter_create(
                struct bt_component_class *class, struct bt_value *params);
 
+BT_HIDDEN
+void bt_component_filter_destroy(struct bt_component *component);
+
 /**
  * Validate a filter component.
  *
@@ -60,4 +61,18 @@ BT_HIDDEN
 enum bt_component_status bt_component_filter_validate(
                struct bt_component *component);
 
+/**
+ * Create an iterator on a component instance.
+ *
+ * @param component    Component instance
+ * @returns            Notification iterator instance
+ */
+BT_HIDDEN
+struct bt_notification_iterator *bt_component_filter_create_notification_iterator(
+               struct bt_component *component);
+
+BT_HIDDEN
+struct bt_notification_iterator *bt_component_filter_create_notification_iterator_with_init_method_data(
+        struct bt_component *component, void *init_method_data);
+
 #endif /* BABELTRACE_COMPONENT_FILTER_INTERNAL_H */
This page took 0.03416 seconds and 4 git commands to generate.