X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fgraph%2Fcomponent-sink.h;h=2c4569c061d3af6f2e5a4a6f20ba4808590019a6;hb=5a3fec55322bf221441f86d5ffedeb049d08d200;hp=7aaafc21371c474b38d60d613d4ea91f6fdbd729;hpb=43c59509042845f8d42c3e99ec74d45fa2dc0908;p=babeltrace.git diff --git a/src/lib/graph/component-sink.h b/src/lib/graph/component-sink.h index 7aaafc21..2c4569c0 100644 --- a/src/lib/graph/component-sink.h +++ b/src/lib/graph/component-sink.h @@ -1,36 +1,18 @@ -#ifndef BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H -#define BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H - /* + * SPDX-License-Identifier: MIT + * * Copyright 2017-2018 Philippe Proulx * Copyright 2015 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 - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. */ +#ifndef BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H +#define BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H + #include -#include "common/macros.h" #include "compat/compiler.h" #include -#include "component-class.h" #include "component.h" struct bt_component_sink { @@ -38,11 +20,6 @@ struct bt_component_sink { bool graph_is_configured_method_called; }; -BT_HIDDEN -struct bt_component *bt_component_sink_create( - const struct bt_component_class *class); - -BT_HIDDEN -void bt_component_sink_destroy(struct bt_component *component); +struct bt_component *bt_component_sink_create(void); #endif /* BABELTRACE_GRAPH_COMPONENT_SINK_INTERNAL_H */