about summary refs log tree commit diff stats
path: root/src/plugins/profapi.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-11 23:20:59 +0100
committerJames Booth <boothj5@gmail.com>2016-08-11 23:20:59 +0100
commita65403c54abd269ed5717a208b61014502e35967 (patch)
tree0aec778abcebd8caa3ce40ae0f354e4b61e72aa8 /src/plugins/profapi.h
parentbb676cc0fcc3943dc111c4f9e54090337b5e3b79 (diff)
downloadprofani-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.h3
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