"destroy" method -> "finalize" method
[babeltrace.git] / plugins / ctf / fs / fs.h
index 80bd6d04efc864deabba09a8121cf77ebab63e49..769ab70563c79492e5aeb21797ba772b3fdf1e87 100644 (file)
  */
 
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/plugin/component.h>
+#include <babeltrace/component/component.h>
 #include "data-stream.h"
 
-#define CTF_FS_COMPONENT_NAME "fs"
 #define CTF_FS_COMPONENT_DESCRIPTION \
        "Component used to read a CTF trace located on a file system."
 
@@ -107,7 +106,28 @@ struct ctf_fs_component {
 };
 
 BT_HIDDEN
-enum bt_component_status ctf_fs_init(struct bt_component *source,
-               struct bt_value *params);
+enum bt_component_status ctf_fs_init(struct bt_private_component *source,
+               struct bt_value *params, void *init_method_data);
+
+BT_HIDDEN
+void ctf_fs_finalize(struct bt_private_component *component);
+
+BT_HIDDEN
+enum bt_notification_iterator_status ctf_fs_iterator_init(
+               struct bt_private_component *source,
+               struct bt_private_port *port,
+               struct bt_private_notification_iterator *it);
+
+void ctf_fs_iterator_finalize(struct bt_private_notification_iterator *it);
+
+enum bt_notification_iterator_status ctf_fs_iterator_next(
+               struct bt_private_notification_iterator *iterator);
+
+struct bt_notification *ctf_fs_iterator_get(
+               struct bt_private_notification_iterator *iterator);
+
+BT_HIDDEN
+struct bt_value *ctf_fs_query(struct bt_component_class *comp_class,
+               const char *object, struct bt_value *params);
 
 #endif /* BABELTRACE_PLUGIN_CTF_FS_H */
This page took 0.027261 seconds and 4 git commands to generate.