diff options
Diffstat (limited to 'src/perl/perl-sources.h')
-rw-r--r-- | src/perl/perl-sources.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/perl/perl-sources.h b/src/perl/perl-sources.h new file mode 100644 index 0000000..0addb35 --- /dev/null +++ b/src/perl/perl-sources.h @@ -0,0 +1,14 @@ +#ifndef IRSSI_PERL_PERL_SOURCES_H +#define IRSSI_PERL_PERL_SOURCES_H + +int perl_timeout_add(int msecs, SV *func, SV *data, int once); +int perl_input_add(int source, int condition, SV *func, SV *data, int once); + +void perl_source_remove(int tag); +/* remove all sources used by script */ +void perl_source_remove_script(PERL_SCRIPT_REC *script); + +void perl_sources_start(void); +void perl_sources_stop(void); + +#endif |