summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/tcl/weechat-tcl-api.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-04-16 14:25:44 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-04-16 14:25:44 +0200
commit44003c2dae28cafba8a8aa95e4a7072775d5a00f (patch)
tree504b9b343feaa0d91b13c3c1fa8881cdafe7ecc1 /src/plugins/scripts/tcl/weechat-tcl-api.h
parent771be1a3164fb91b48ddb9eac95bfae955b37cf9 (diff)
downloadweechat-44003c2dae28cafba8a8aa95e4a7072775d5a00f.zip
Restore buffer callbacks for scripts after /upgrade
Diffstat (limited to 'src/plugins/scripts/tcl/weechat-tcl-api.h')
-rw-r--r--src/plugins/scripts/tcl/weechat-tcl-api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/scripts/tcl/weechat-tcl-api.h b/src/plugins/scripts/tcl/weechat-tcl-api.h
index d6a09970e..eb1a5e055 100644
--- a/src/plugins/scripts/tcl/weechat-tcl-api.h
+++ b/src/plugins/scripts/tcl/weechat-tcl-api.h
@@ -20,6 +20,11 @@
#ifndef __WEECHAT_TCL_API_H
#define __WEECHAT_TCL_API_H 1
+extern int weechat_tcl_api_buffer_input_data_cb (void *data,
+ struct t_gui_buffer *buffer,
+ const char *input_data);
+extern int weechat_tcl_api_buffer_close_cb (void *data,
+ struct t_gui_buffer *buffer);
extern void weechat_tcl_api_init (Tcl_Interp *interp);
#endif /* weechat-tcl.h */