lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / graph / component-class-internal.h
index 02671eafd8c1614448c99cc7771958116b35037a..66d920d65b6325250065f619161614432a632a8f 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_COMPONENT_CLASS_INTERNAL_H
-#define BABELTRACE_COMPONENT_COMPONENT_CLASS_INTERNAL_H
+#ifndef BABELTRACE_GRAPH_COMPONENT_CLASS_INTERNAL_H
+#define BABELTRACE_GRAPH_COMPONENT_CLASS_INTERNAL_H
 
 /*
  * BabelTrace - Component Class Internal
@@ -71,17 +71,16 @@ struct bt_component_class {
        struct bt_plugin_so_shared_lib_handle *so_handle;
 };
 
-struct bt_component_class_iterator_methods {
+struct bt_component_class_notification_iterator_methods {
        bt_component_class_notification_iterator_init_method init;
        bt_component_class_notification_iterator_finalize_method finalize;
        bt_component_class_notification_iterator_next_method next;
-       bt_component_class_notification_iterator_seek_time_method seek_time;
 };
 
 struct bt_component_class_source {
        struct bt_component_class parent;
        struct {
-               struct bt_component_class_iterator_methods iterator;
+               struct bt_component_class_notification_iterator_methods iterator;
        } methods;
 };
 
@@ -95,7 +94,7 @@ struct bt_component_class_sink {
 struct bt_component_class_filter {
        struct bt_component_class parent;
        struct {
-               struct bt_component_class_iterator_methods iterator;
+               struct bt_component_class_notification_iterator_methods iterator;
        } methods;
 };
 
@@ -120,4 +119,4 @@ const char *bt_component_class_type_string(enum bt_component_class_type type)
        }
 }
 
-#endif /* BABELTRACE_COMPONENT_COMPONENT_CLASS_INTERNAL_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_CLASS_INTERNAL_H */
This page took 0.036135 seconds and 4 git commands to generate.