ODBG2_Plugininit

Optional plugin callback function, called once during the initialization, directly after ODBG2_Pluginquery(), giving plugin the chance to make one-time initializations. Note that calls to plugin API in ODBG2_Pluginquery() may be dangerous due to the possible API changes in the future. The best place to free allocated resources is ODBG2_Plugindestroy().

int ODBG2_Plugininit(void);


Parameters:

None


Return values:

0 on success, -1 if initialization was unsuccessful and plugin must be closed


See also:
Plugins, ODBG2_Plugindestroy()ODBG2_Pluginquery()