lib: use object pool for event and packet notifications
[babeltrace.git] / include / babeltrace / graph / private-component.h
index c2091985202783bc12f7c5bedc029e8eb1ece82a..f26630111c8bd05bf735bcd72f6de2facfdda25d 100644 (file)
@@ -1,5 +1,5 @@
-#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(
@@ -45,4 +44,4 @@ extern enum bt_component_status bt_private_component_set_user_data(
 }
 #endif
 
-#endif /* BABELTRACE_COMPONENT_PRIVATE_COMPONENT_H */
+#endif /* BABELTRACE_GRAPH_PRIVATE_COMPONENT_H */
This page took 0.028 seconds and 4 git commands to generate.