diff options
author | James Booth <boothj5@gmail.com> | 2016-08-11 23:20:59 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-08-11 23:20:59 +0100 |
commit | a65403c54abd269ed5717a208b61014502e35967 (patch) | |
tree | 0aec778abcebd8caa3ce40ae0f354e4b61e72aa8 /src/plugins/profapi.h | |
parent | bb676cc0fcc3943dc111c4f9e54090337b5e3b79 (diff) | |
download | profani-tty-a65403c54abd269ed5717a208b61014502e35967.tar.gz |
Remove disco features added by plugins on unload
Diffstat (limited to 'src/plugins/profapi.h')
-rw-r--r-- | src/plugins/profapi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/profapi.h b/src/plugins/profapi.h index 0ab5520d..e7119a2b 100644 --- a/src/plugins/profapi.h +++ b/src/plugins/profapi.h @@ -41,6 +41,7 @@ #define prof_completer_remove(key, items) _prof_completer_remove(__FILE__, key, items) #define prof_completer_clear(key) _prof_completer_clear(__FILE__, key) #define prof_win_create(win, input_handler) _prof_win_create(__FILE__, win, input_handler) +#define prof_disco_add_feature(feature) _prof_disco_add_feature(__FILE__, feature) typedef char* PROF_WIN_TAG; typedef void(*CMD_CB)(char **args); @@ -98,6 +99,6 @@ int (*prof_settings_string_list_clear)(char *group, char *key); void (*prof_incoming_message)(char *barejid, char *resource, char *message); -void (*prof_disco_add_feature)(char *feature); +void (*_prof_disco_add_feature)(const char *filename, char *feature); #endif |