-#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
#include <babeltrace/graph/component-class-sink.h>
#include <babeltrace/babeltrace-internal.h>
#include <babeltrace/object-internal.h>
+#include <babeltrace/list-internal.h>
#include <babeltrace/types.h>
#include <glib.h>
struct bt_component_class;
+struct bt_plugin_so_shared_lib_handle;
typedef void (*bt_component_class_destroy_listener_func)(
struct bt_component_class *class, void *data);
/* Array of struct bt_component_class_destroy_listener */
GArray *destroy_listeners;
bt_bool frozen;
+ struct bt_list_head node;
+ 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;
};
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;
};
}
}
-#endif /* BABELTRACE_COMPONENT_COMPONENT_CLASS_INTERNAL_H */
+#endif /* BABELTRACE_GRAPH_COMPONENT_CLASS_INTERNAL_H */