Add base plug-in skeletons
[babeltrace.git] / include / babeltrace / plugin / source.h
index 1e2176a9805f3d7495d6a2a366244b256d842d6e..7329eeebe9bd927d97923484df0eb6c2ba20dcc1 100644 (file)
  */
 
 #include <stdint.h>
+#include <babeltrace/plugin/component.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_plugin;
+struct bt_component;
 struct bt_notification_iterator;
-typedef struct bt_notification_iterator *(
-               *bt_plugin_source_iterator_create_func)(struct bt_plugin *);
 
-struct bt_notification_iterator *bt_plugin_source_get_iterator(
-               struct bt_plugin *plugin);
+/**
+ * Create an iterator on a component instance.
+ *
+ * @param component    Component instance
+ * @returns            Notification iterator instance
+ */
+struct bt_notification_iterator *bt_component_source_create_iterator(
+               struct bt_component *component);
 
 #ifdef __cplusplus
 }
This page took 0.024013 seconds and 4 git commands to generate.