Add plugins on_unload hook

This commit is contained in:
James Booth
2016-07-05 22:03:14 +01:00
parent 71178b3696
commit 99598e7d57
6 changed files with 43 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ typedef struct prof_plugin_t {
void (*on_start_func)(struct prof_plugin_t* plugin);
void (*on_shutdown_func)(struct prof_plugin_t* plugin);
void (*on_unload_func)(struct prof_plugin_t* plugin);
void (*on_connect_func)(struct prof_plugin_t* plugin, const char *const account_name, const char *const fulljid);
void (*on_disconnect_func)(struct prof_plugin_t* plugin, const char *const account_name,