summaryrefslogtreecommitdiff
path: root/src/plugins/perl/weechat-perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/perl/weechat-perl.h')
-rw-r--r--src/plugins/perl/weechat-perl.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/perl/weechat-perl.h b/src/plugins/perl/weechat-perl.h
index d40e22938..84914ae72 100644
--- a/src/plugins/perl/weechat-perl.h
+++ b/src/plugins/perl/weechat-perl.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2017 Sébastien Helleu <flashcode@flashtux.org>
+ * Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef WEECHAT_PERL_H
-#define WEECHAT_PERL_H 1
+#ifndef WEECHAT_PLUGIN_PERL_H
+#define WEECHAT_PLUGIN_PERL_H
#define weechat_plugin weechat_perl_plugin
#define PERL_PLUGIN_NAME "perl"
@@ -27,6 +27,8 @@
extern struct t_weechat_plugin *weechat_perl_plugin;
+extern struct t_plugin_script_data perl_data;
+
extern int perl_quiet;
extern struct t_plugin_script *perl_scripts;
extern struct t_plugin_script *last_perl_script;
@@ -41,8 +43,9 @@ extern HV *weechat_perl_hashtable_to_hash (struct t_hashtable *hashtable);
extern struct t_hashtable *weechat_perl_hash_to_hashtable (SV *hash, int size,
const char *type_keys,
const char *type_values);
+extern XS (weechat_perl_output);
extern void *weechat_perl_exec (struct t_plugin_script *script,
int ret_type, const char *function,
const char *format, void **argv);
-#endif /* WEECHAT_PERL_H */
+#endif /* WEECHAT_PLUGIN_PERL_H */