-#ifndef BABELTRACE_COMPONENT_PRIVATE_COMPONENT_H
-#define BABELTRACE_COMPONENT_PRIVATE_COMPONENT_H
+#ifndef BABELTRACE_GRAPH_PRIVATE_COMPONENT_H
+#define BABELTRACE_GRAPH_PRIVATE_COMPONENT_H
/*
* Copyright 2017 Philippe Proulx <pproulx@efficios.com>
* SOFTWARE.
*/
-#include <babeltrace/graph/component.h>
-
#ifdef __cplusplus
extern "C" {
#endif
+struct bt_component;
struct bt_private_component;
-struct bt_component *bt_component_from_private_component(
+extern struct bt_component *bt_component_borrow_from_private(
struct bt_private_component *private_component);
extern void *bt_private_component_get_user_data(
}
#endif
-#endif /* BABELTRACE_COMPONENT_PRIVATE_COMPONENT_H */
+#endif /* BABELTRACE_GRAPH_PRIVATE_COMPONENT_H */