lib: add bt_{graph,query_executor}_add_interrupter()
[babeltrace.git] / include / babeltrace2 / graph / self-component-sink.h
index ed9c307e12830a8e9e6667a6d693e83d65c83d45..224c6781b9ebeb5fd57c2d9db869420885a389a7 100644 (file)
@@ -2,7 +2,7 @@
 #define BABELTRACE2_GRAPH_SELF_COMPONENT_SINK_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
+ * 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
 
 #include <stdint.h>
 
-/* For bt_self_component_*_status */
 #include <babeltrace2/graph/self-component.h>
-
-/*
- * For bt_component_sink, bt_self_component, bt_self_component_sink,
- * bt_self_component_port_input, __BT_UPCAST, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #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
This page took 0.024179 seconds and 4 git commands to generate.