-#ifndef BABELTRACE_COMPONENT_FILTER_INTERNAL_H
-#define BABELTRACE_COMPONENT_FILTER_INTERNAL_H
+#ifndef BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H
+#define BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H
/*
- * BabelTrace - Filter Component Internal
- *
* Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#include <babeltrace/graph/component-internal.h>
#include <babeltrace/graph/component-class-internal.h>
-struct bt_value;
-
struct bt_component_filter {
struct bt_component parent;
};
-/**
- * Allocate a filter component.
- *
- * @param class Component class
- * @param params A dictionary of component parameters
- * @returns A filter component instance
- */
BT_HIDDEN
struct bt_component *bt_component_filter_create(
- struct bt_component_class *class, struct bt_value *params);
+ struct bt_component_class *class);
BT_HIDDEN
void bt_component_filter_destroy(struct bt_component *component);
-/**
- * Validate a filter component.
- *
- * @param component Filter component instance to validate
- * @returns One of #bt_component_status
- */
-BT_HIDDEN
-enum bt_component_status bt_component_filter_validate(
- struct bt_component *component);
-
-#endif /* BABELTRACE_COMPONENT_FILTER_INTERNAL_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H */