summaryrefslogtreecommitdiff
path: root/src/perl/perl-core.h
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-09-11 16:59:21 +0200
committerLemonBoy <thatlemon@gmail.com>2016-09-11 16:59:21 +0200
commitb2424f31933309a0b3dfa6cb541c2917443a38d4 (patch)
tree25becee828cac42c7f34b3aec5263c5f7ddb0e2f /src/perl/perl-core.h
parente4f8abc973872d5a7b2de98d269a924b97d428ab (diff)
downloadirssi-b2424f31933309a0b3dfa6cb541c2917443a38d4.zip
Add a '-autorun' switch to /script reset
This way we reload all the scripts in the autorun folder.
Diffstat (limited to 'src/perl/perl-core.h')
-rw-r--r--src/perl/perl-core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/perl/perl-core.h b/src/perl/perl-core.h
index b451cc5c..7390a6fd 100644
--- a/src/perl/perl-core.h
+++ b/src/perl/perl-core.h
@@ -16,6 +16,8 @@ extern GSList *perl_scripts;
void perl_scripts_init(void);
/* Destroy all perl scripts and deinitialize perl interpreter */
void perl_scripts_deinit(void);
+/* Load all the scripts in the autorun/ folder */
+void perl_scripts_autorun(void);
/* Load a perl script, path must be a full path. */
PERL_SCRIPT_REC *perl_script_load_file(const char *path);