diff -r 701dd0890b79 -r 90ed94768998 doc/html/coding.html
--- a/doc/html/coding.html Mon Aug 08 20:16:12 2005 +0000
+++ b/doc/html/coding.html Mon Aug 08 20:18:11 2005 +0000
@@ -352,18 +352,21 @@
The returned string is a pointer to a static buffer, and should be
copied by the caller to local storage.
[added in 1.14]
-
- int LOAD_PLUGIN(PLID, const char *cmdline, PLUG_LOADTIME now, void **plugin_handle)
-
Attempts to load a plugin as if "meta load " was passed. If
- plugin_handle is passed, it will be zeroed on failure or contain the pointer to the
- DLL handle on success. Returns 1 for success and 0 for failure. [added in 1.18]
-
- int UNLOAD_PLUGIN(PLID, const char *cmdline, PLUG_LOADTIME now, PL_UNLOAD_REASON reason)
-
Attempts to unload a plugin given by cmdline. A plugin cannot unload itself. [added in 1.18]
-
- int UNLOAD_PLUGIN_BY_HANDLE(PLID, void *plugin_handle, PLUG_LOADTIME now, PL_UNLOAD_REASON reason)
-
Attempts to unload a plugin given by the DLL's handle from LOAD_PLUGIN.
- A plugin cannot unload itself. [added in 1.18]
+
+ int LOAD_PLUGIN(PLID, const char *name, PLUG_LOADTIME now, void **handle)
+
Attempts to load a plugin as if "meta load <name>" was passed. If
+ handle is passed, it will be NULL on failure or contain the DLL handle on success.
+ Returns 1 for success and 0 for failure.
+ [added in 1.18]
+
+ int UNLOAD_PLUGIN(PLID, const char *name, PLUG_LOADTIME now, PL_UNLOAD_REASON reason)
+
Attempts to unload a plugin given by name. A plugin cannot unload itself.
+ [added in 1.18]
+
+ int UNLOAD_PLUGIN_BY_HANDLE(PLID, void *handle, PLUG_LOADTIME now, PL_UNLOAD_REASON reason)
+
Attempts to unload a plugin given by the DLL handle from LOAD_PLUGIN. A plugin cannot unload itself.
+ [added in 1.18]
+