lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / graph / component-class-sink.h
index e2cf85e2395f31c2aefd6a98333d01fedf3d8583..6e06e1e5f51f792081bd2e0f42df9f9095711080 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_COMPONENT_CLASS_SINK_H
-#define BABELTRACE_COMPONENT_COMPONENT_CLASS_SINK_H
+#ifndef BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_H
+#define BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_H
 
 /*
  * Babeltrace - Component Class Interface.
  * SOFTWARE.
  */
 
-#include <babeltrace/graph/private-component.h>
+/* For component class method type definitions */
+#include <babeltrace/graph/component-class.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 struct bt_component_class;
+struct bt_private_component;
 
 typedef enum bt_component_status (*bt_component_class_sink_consume_method)(
-        struct bt_private_component *private_component);
+       struct bt_private_component *private_component);
 
 extern
 struct bt_component_class *bt_component_class_sink_create(const char *name,
@@ -44,4 +46,4 @@ struct bt_component_class *bt_component_class_sink_create(const char *name,
 }
 #endif
 
-#endif /* BABELTRACE_COMPONENT_COMPONENT_CLASS_SINK_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_H */
This page took 0.027146 seconds and 4 git commands to generate.