X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fcomponent%2Fcomponent-filter-internal.h;h=72bbbab1df1f58765e0c75d85d2b0d6ae03cd4ee;hb=920b1d51e92253d429bd8f0f737fc02047a61201;hp=9bedec53aab57d4fe48dbb781f9b9c1b34cbbb96;hpb=262de837eaf8fbd5b2c00a1ffe1aab996c60d783;p=babeltrace.git diff --git a/include/babeltrace/component/component-filter-internal.h b/include/babeltrace/component/component-filter-internal.h index 9bedec53..72bbbab1 100644 --- a/include/babeltrace/component/component-filter-internal.h +++ b/include/babeltrace/component/component-filter-internal.h @@ -30,13 +30,12 @@ #include #include #include -#include struct bt_value; struct bt_component_filter { struct bt_component parent; - struct component_input input; + GPtrArray *input_ports, *output_ports; }; /** @@ -60,4 +59,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 */