#define BABELTRACE_GRAPH_COMPONENT_H
/*
- * BabelTrace - Babeltrace Component Interface
- *
* Copyright 2015 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
/* For bt_bool */
#include <babeltrace/types.h>
-/* For bt_object_get_ref */
-#include <babeltrace/object.h>
-
#ifdef __cplusplus
extern "C" {
#endif
BT_COMPONENT_CLASS_TYPE_SINK;
}
-extern struct bt_graph *bt_component_borrow_graph(struct bt_component *component);
-
-static inline
-struct bt_graph *bt_component_get_graph(struct bt_component *component)
-{
- return bt_object_get_ref(bt_component_borrow_graph(component));
-}
+extern bt_bool bt_component_graph_is_canceled(struct bt_component *component);
#ifdef __cplusplus
}