diff --git a/src/plugin.h b/src/plugin.h
index ebe9b41b7a7db6ab15ec9a26581da769fab4750d..d82fc7387d3486c03ab722b2504c00c84988316a 100644 (file)
--- a/src/plugin.h
+++ b/src/plugin.h
* messages on failure as determined by success
* @param success result of the plugin cycle; true if result is meaningful
* output, false if result contains error messages
+ * @param plugin_name the name of the plugin which succeeded; may become invalid
+ * once the callback returns (i.e. strdup it if you need it afterwards).
* @param data the caller defined pointer passed to plugin_run()
*/
typedef void (*plugin_callback_t)(const GString *result, const bool success,
- void *data);
+ const char *plugin_name, void *data);
/**
* This object represents a cycle through all available plugins, until