+struct bt_port_input;
+struct bt_port_output;
+struct bt_query_executor;
+struct bt_self_component_class_filter;
+struct bt_self_component_filter;
+struct bt_self_component_port_input;
+struct bt_self_component_port_output;
+struct bt_value;
+
+typedef enum bt_self_component_status
+(*bt_component_class_filter_init_method)(
+ struct bt_self_component_filter *self_component,
+ const struct bt_value *params, void *init_method_data);
+
+typedef void (*bt_component_class_filter_finalize_method)(
+ struct bt_self_component_filter *self_component);
+
+typedef enum bt_self_notification_iterator_status
+(*bt_component_class_filter_notification_iterator_init_method)(
+ struct bt_self_notification_iterator *notification_iterator,
+ struct bt_self_component_filter *self_component,
+ struct bt_self_component_port_output *port);
+
+typedef void
+(*bt_component_class_filter_notification_iterator_finalize_method)(
+ struct bt_self_notification_iterator *notification_iterator);
+
+typedef enum bt_self_notification_iterator_status
+(*bt_component_class_filter_notification_iterator_next_method)(
+ struct bt_self_notification_iterator *notification_iterator,
+ bt_notification_array_const notifs, uint64_t capacity,
+ uint64_t *count);
+
+typedef enum bt_query_status
+(*bt_component_class_filter_query_method)(
+ struct bt_self_component_class_filter *comp_class,
+ const struct bt_query_executor *query_executor,
+ const char *object, const struct bt_value *params,
+ const struct bt_value **result);
+
+typedef enum bt_self_component_status
+(*bt_component_class_filter_accept_input_port_connection_method)(
+ struct bt_self_component_filter *self_component,
+ struct bt_self_component_port_input *self_port,
+ const struct bt_port_output *other_port);
+
+typedef enum bt_self_component_status
+(*bt_component_class_filter_accept_output_port_connection_method)(
+ struct bt_self_component_filter *self_component,
+ struct bt_self_component_port_output *self_port,
+ const struct bt_port_input *other_port);
+
+typedef enum bt_self_component_status
+(*bt_component_class_filter_input_port_connected_method)(
+ struct bt_self_component_filter *self_component,
+ struct bt_self_component_port_input *self_port,
+ const struct bt_port_output *other_port);
+
+typedef enum bt_self_component_status
+(*bt_component_class_filter_output_port_connected_method)(
+ struct bt_self_component_filter *self_component,
+ struct bt_self_component_port_output *self_port,
+ const struct bt_port_input *other_port);
+
+typedef void
+(*bt_component_class_filter_input_port_disconnected_method)(
+ struct bt_self_component_filter *self_component,
+ struct bt_self_component_port_input *self_port);
+
+typedef void
+(*bt_component_class_filter_output_port_disconnected_method)(
+ struct bt_self_component_filter *self_component,
+ struct bt_self_component_port_output *self_port);