summaryrefslogtreecommitdiff
path: root/src/core/wee-hook.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-08-22 21:34:29 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-08-22 21:34:29 +0200
commit74d595498dec1c0b6572d7381b2d13f2ad5322dc (patch)
tree845e4f24cca392c365b65b58cbaae89b9b102508 /src/core/wee-hook.h
parent4185de52197ee9e94c0e4543510cbe94eb26b964 (diff)
downloadweechat-74d595498dec1c0b6572d7381b2d13f2ad5322dc.zip
Add hook infolist to plugins API, fix bugs with gettext in plugins
Diffstat (limited to 'src/core/wee-hook.h')
-rw-r--r--src/core/wee-hook.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h
index 074ad97d5..74dab9747 100644
--- a/src/core/wee-hook.h
+++ b/src/core/wee-hook.h
@@ -27,6 +27,7 @@
struct t_gui_buffer;
struct t_gui_completion;
struct t_weelist;
+struct t_infolist;
/* hook types */
@@ -273,6 +274,8 @@ extern char *hook_modifier_exec (struct t_weechat_plugin *plugin,
extern void unhook (struct t_hook *hook);
extern void unhook_all_plugin (struct t_weechat_plugin *plugin);
extern void unhook_all ();
+extern int hook_add_to_infolist (struct t_infolist *infolist,
+ const char *type);
extern void hook_print_log ();
#endif /* wee-hook.h */