summaryrefslogtreecommitdiffstats
path: root/database/eurephiadb_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'database/eurephiadb_driver.h')
-rw-r--r--database/eurephiadb_driver.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/database/eurephiadb_driver.h b/database/eurephiadb_driver.h
index fef6499..fa0cf35 100644
--- a/database/eurephiadb_driver.h
+++ b/database/eurephiadb_driver.h
@@ -700,6 +700,36 @@ xmlDoc * EUREPHIA_DRIVERAPI_FUNC(eDBadminFirewallProfiles)(eurephiaCTX *ctx, xml
/**
+ * Query or modify the eurephia plug-ins setup.
+ *
+ * @version API version level 4
+ * @param ctx eurephiaCTX
+ * @param xmlqry XML document with the operation and information.
+ *
+ * The XML format skeleton
+ * @code
+ * <eurephia format="1">
+ * <plugins mode="{search|register|unregister|modify}"
+ * [plugin-id="{ID}"] [plugin-dso="{FILENAME}]">
+ * <fieldMapping table="plugins">
+ * <{field name}>{value}</{field name}>
+ * </fieldMapping>
+ * </plugins>
+ * </eurephia>
+ * @endcode
+ * It can be several field name tags to narrow the search even more.
+ * For the register and unregister mode, either the plugin or plugin-id field name tag
+ * must be present. For modify mode one of the plugin-id or plugin-dso attributes
+ * must be present.
+ *
+ * @return Returns a valid XML document with the result on success, otherwise either
+ * NULL or an XML error document is returned.
+ * @see eurephiaXML_CreateDoc(), eurephiaXML_getRoot()
+ */
+xmlDoc * EUREPHIA_DRIVERAPI_FUNC(eDBadminPlugins)(eurephiaCTX *ctx, xmlDoc *xmlqry);
+
+
+/**
* Retrieve the eurephia lastlog
*
* @version API version level 2