Add ctf fs iterator initialization
[babeltrace.git] / include / babeltrace / plugin / plugin-system.h
index 59fc54cc79f3e2eb889c8bbedfe3e9489677a4c2..0c3618c219b46b79dc1957ad750400cede5db1cd 100644 (file)
@@ -49,9 +49,9 @@ typedef void (*bt_plugin_exit_func)(void);
 /**
  * Component private data deallocation function type.
  *
- * @param data         Component private data
+ * @param component    Component instance
  */
-typedef void (*bt_component_destroy_cb)(void *data);
+typedef void (*bt_component_destroy_cb)(struct bt_component *component);
 
 /**
  * Component initialization function type.
@@ -123,7 +123,7 @@ bt_component_source_set_iterator_init_cb(struct bt_component *source,
 /**
  * Notification handling function type.
  *
- * A reference must be taken on the notification if the component wishes to
+ * A reference must be taken on the notification if the component has to
  * keep ownership of the notification beyond the invocation of the callback.
  *
  * @param sink         Sink component instance
This page took 0.025873 seconds and 4 git commands to generate.