23 |
#ifndef __WEECHAT_PERL_H |
#ifndef __WEECHAT_PERL_H |
24 |
#define __WEECHAT_PERL_H 1 |
#define __WEECHAT_PERL_H 1 |
25 |
|
|
26 |
typedef struct t_perl_script t_perl_script; |
#include "../plugins.h" |
|
|
|
|
struct t_perl_script |
|
|
{ |
|
|
char *name; /* name of script */ |
|
|
char *version; /* version of script */ |
|
|
char *shutdown_func; /* function when script ends */ |
|
|
char *description; /* description of script */ |
|
|
t_perl_script *prev_script; /* link to previous Perl script */ |
|
|
t_perl_script *next_script; /* link to next Perl script */ |
|
|
}; |
|
27 |
|
|
28 |
extern void wee_perl_init (); |
extern void wee_perl_init (); |
29 |
extern t_perl_script *wee_perl_search (char *); |
extern t_plugin_script *wee_perl_search (char *); |
30 |
extern int wee_perl_exec (char *, char *); |
extern int wee_perl_exec (char *, char *); |
31 |
extern int wee_perl_load (char *); |
extern int wee_perl_load (char *); |
32 |
extern void wee_perl_unload (t_perl_script *); |
extern void wee_perl_unload (t_plugin_script *); |
33 |
extern void wee_perl_unload_all (); |
extern void wee_perl_unload_all (); |
34 |
extern void wee_perl_end (); |
extern void wee_perl_end (); |
35 |
|
|