API_DOCS: Plug-in management

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

API_DOCS: Plug-in management

Post by JeffM »

3 new API calls for plug-in management have been added to the development version (2.1.x)

Code: Select all

BZF_API int bz_getLoadedPlugins( bz_APIStringList * list );
Will fill the passed in list with the names of all loaded plugins. Returns the number of plug-ins in the list.

Code: Select all

BZF_API bool bz_loadPlugin( const char* path, const char* params );
loads a plug-in, returns true if successful.

Code: Select all

BZF_API bool bz_unloadPlugin( const char* path );
unloads the specified plug-in, returns true if successful. It is not recommended that a plug-in attempt to unload itself.

These commands are the same as the / command versions, but accessible by the API.
ImageJeffM
Post Reply