summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/perl/weechat-perl-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/perl/weechat-perl-api.h
parent771be1a3164fb91b48ddb9eac95bfae955b37cf9 (diff)
downloadweechat-44003c2dae28cafba8a8aa95e4a7072775d5a00f.zip
Restore buffer callbacks for scripts after /upgrade
Diffstat (limited to 'src/plugins/scripts/perl/weechat-perl-api.h')
-rw-r--r--src/plugins/scripts/perl/weechat-perl-api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl-api.h b/src/plugins/scripts/perl/weechat-perl-api.h
index fdfd1d695..5dbd0067d 100644
--- a/src/plugins/scripts/perl/weechat-perl-api.h
+++ b/src/plugins/scripts/perl/weechat-perl-api.h
@@ -20,6 +20,11 @@
#ifndef __WEECHAT_PERL_API_H
#define __WEECHAT_PERL_API_H 1
+extern int weechat_perl_api_buffer_input_data_cb (void *data,
+ struct t_gui_buffer *buffer,
+ const char *input_data);
+extern int weechat_perl_api_buffer_close_cb (void *data,
+ struct t_gui_buffer *buffer);
extern void weechat_perl_api_init (pTHX);
#endif /* weechat-perl.h */