Add base plug-in skeletons
[babeltrace.git] / include / babeltrace / plugin / plugin.h
index b522c91b7aec251e2ab7a80b1e93c2d6637e94cd..8eec84e552e4fb92e456cd6befa33b8865efb6f7 100644 (file)
@@ -57,6 +57,22 @@ extern const char *bt_plugin_get_author(struct bt_plugin *plugin);
  */
 extern const char *bt_plugin_get_license(struct bt_plugin *plugin);
 
+/**
+ * Get the decription of a plug-in.
+ *
+ * @param plugin       An instance of a plug-in
+ * @returns            Plug-in description or NULL if none is available
+ */
+extern const char *bt_plugin_get_description(struct bt_plugin *plugin);
+
+/**
+ * Get the path of a plug-in.
+ *
+ * @param plugin       An instance of a plug-in
+ * @returns            Plug-in path or NULL on error
+ */
+extern const char *bt_plugin_get_path(struct bt_plugin *plugin);
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.024117 seconds and 4 git commands to generate.