X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-filter-internal.h;h=fd39f07ce79d78ffd4cd608f59828aa8cf5cc995;hb=7e69c04f557e46fb50e5a888a3bc3451afbd3b8e;hp=08caef0ed81cf33782a0d52c569d5374b60fe709;hpb=6ac74c0c883983329e958a1e0580ecde29985c76;p=babeltrace.git diff --git a/include/babeltrace/graph/component-filter-internal.h b/include/babeltrace/graph/component-filter-internal.h index 08caef0e..fd39f07c 100644 --- a/include/babeltrace/graph/component-filter-internal.h +++ b/include/babeltrace/graph/component-filter-internal.h @@ -2,12 +2,9 @@ #define BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H /* - * BabelTrace - Filter Component Internal - * + * Copyright 2017-2018 Philippe Proulx * Copyright 2016 Jérémie Galarneau * - * Author: Jérémie Galarneau - * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights @@ -28,25 +25,17 @@ */ #include +#include #include #include -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); + const struct bt_component_class *class); BT_HIDDEN void bt_component_filter_destroy(struct bt_component *component);