summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/tcl/weechat-tcl.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-08-27 15:59:06 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-08-27 15:59:06 +0200
commit712623547f7e6fffc1bda625399ac54de87b6e2d (patch)
tree7353e6aec83c944eaa7b8af24694015b13f7715f /src/plugins/scripts/tcl/weechat-tcl.h
parentbb42984f5d6101ddc750700768ed3faf27f31021 (diff)
downloadweechat-712623547f7e6fffc1bda625399ac54de87b6e2d.zip
Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
Note: tcl >= 8.5 is now required (for tcl plugin).
Diffstat (limited to 'src/plugins/scripts/tcl/weechat-tcl.h')
-rw-r--r--src/plugins/scripts/tcl/weechat-tcl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/scripts/tcl/weechat-tcl.h b/src/plugins/scripts/tcl/weechat-tcl.h
index 78972233e..d3a7fd312 100644
--- a/src/plugins/scripts/tcl/weechat-tcl.h
+++ b/src/plugins/scripts/tcl/weechat-tcl.h
@@ -35,8 +35,13 @@ extern struct t_plugin_script *tcl_current_script;
extern struct t_plugin_script *tcl_registered_script;
extern const char *tcl_current_script_filename;
+extern Tcl_Obj *weechat_tcl_hashtable_to_dict (Tcl_Interp *interp,
+ struct t_hashtable *hashtable);
+extern struct t_hashtable *weechat_tcl_dict_to_hashtable (Tcl_Interp *interp,
+ Tcl_Obj *dict,
+ int hashtable_size);
extern void *weechat_tcl_exec (struct t_plugin_script *script,
- int ret_type, const char *function,
- char **argv);
+ int ret_type, const char *function,
+ const char *format, void **argv);
#endif /* __WEECHAT_TCL_H */