X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fself-component-sink.h;h=224c6781b9ebeb5fd57c2d9db869420885a389a7;hp=ed9c307e12830a8e9e6667a6d693e83d65c83d45;hb=9b4f9b425f2efce9a6ccc25f7ae062ebc1116a7d;hpb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3 diff --git a/include/babeltrace2/graph/self-component-sink.h b/include/babeltrace2/graph/self-component-sink.h index ed9c307e..224c6781 100644 --- a/include/babeltrace2/graph/self-component-sink.h +++ b/include/babeltrace2/graph/self-component-sink.h @@ -2,7 +2,7 @@ #define BABELTRACE2_GRAPH_SELF_COMPONENT_SINK_H /* - * Copyright 2017-2018 Philippe Proulx + * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -29,13 +29,7 @@ #include -/* For bt_self_component_*_status */ #include - -/* - * For bt_component_sink, bt_self_component, bt_self_component_sink, - * bt_self_component_port_input, __BT_UPCAST, __BT_UPCAST_CONST - */ #include #ifdef __cplusplus @@ -72,6 +66,9 @@ bt_self_component_sink_add_input_port( const char *name, void *user_data, bt_self_component_port_input **self_component_port); +extern bt_bool bt_self_component_sink_is_interrupted( + const bt_self_component_sink *self_component); + #ifdef __cplusplus } #endif