From cc37910da5b698fa3e3db31d497629ed18c5b1b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 7 Jul 2015 10:43:32 -0400 Subject: [PATCH] Missing notification parameter in bt_component_sink_handle_notification MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/babeltrace/plugin/sink.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/babeltrace/plugin/sink.h b/include/babeltrace/plugin/sink.h index 8284b348..5f188d33 100644 --- a/include/babeltrace/plugin/sink.h +++ b/include/babeltrace/plugin/sink.h @@ -27,20 +27,23 @@ * SOFTWARE. */ -#include - #ifdef __cplusplus extern "C" { #endif +struct bt_component; +struct bt_notification; + /** * Hand-off a notification to a sink component. * * @param component Component instance + * @param notification Notification instance to handle * @returns One of #bt_component_status values */ enum bt_component_status bt_component_sink_handle_notification( - struct bt_component *component); + struct bt_component *component, + struct bt_notification *notification); #ifdef __cplusplus } -- 2.34.1