121 |
int (*mkdir_home) (t_weechat_plugin *, char *); |
int (*mkdir_home) (t_weechat_plugin *, char *); |
122 |
void (*exec_on_files) (t_weechat_plugin *, char *, |
void (*exec_on_files) (t_weechat_plugin *, char *, |
123 |
int (*)(t_weechat_plugin *, char *)); |
int (*)(t_weechat_plugin *, char *)); |
124 |
|
|
125 |
|
void (*printf) (t_weechat_plugin *, char *, char *, char *, ...); |
126 |
|
void (*printf_server) (t_weechat_plugin *, char *, ...); |
127 |
|
void (*infobar_printf) (t_weechat_plugin *, int, char *, ...); |
128 |
|
|
129 |
t_plugin_msg_handler *(*msg_handler_add) (t_weechat_plugin *, char *, |
t_plugin_msg_handler *(*msg_handler_add) (t_weechat_plugin *, char *, |
130 |
t_plugin_handler_func *, |
t_plugin_handler_func *, |
131 |
char *, void *); |
char *, void *); |
138 |
void (*cmd_handler_remove) (t_weechat_plugin *, t_plugin_cmd_handler *); |
void (*cmd_handler_remove) (t_weechat_plugin *, t_plugin_cmd_handler *); |
139 |
void (*cmd_handler_remove_all) (t_weechat_plugin *); |
void (*cmd_handler_remove_all) (t_weechat_plugin *); |
140 |
|
|
|
void (*printf) (t_weechat_plugin *, char *, char *, char *, ...); |
|
|
void (*printf_server) (t_weechat_plugin *, char *, ...); |
|
|
void (*infobar_printf) (t_weechat_plugin *, int, char *, ...); |
|
|
|
|
141 |
void (*exec_command) (t_weechat_plugin *, char *, char *, char *); |
void (*exec_command) (t_weechat_plugin *, char *, char *, char *); |
142 |
char *(*get_info) (t_weechat_plugin *, char *, char *, char *); |
char *(*get_info) (t_weechat_plugin *, char *, char *, char *); |
143 |
t_plugin_dcc_info *(*get_dcc_info) (t_weechat_plugin *); |
t_plugin_dcc_info *(*get_dcc_info) (t_weechat_plugin *); |
144 |
void (*free_dcc_info) (t_weechat_plugin *, t_plugin_dcc_info *); |
void (*free_dcc_info) (t_weechat_plugin *, t_plugin_dcc_info *); |
|
|
|
145 |
char *(*get_config) (t_weechat_plugin *, char *); |
char *(*get_config) (t_weechat_plugin *, char *); |
146 |
|
|
147 |
/* WeeChat developers: ALWAYS add new functions at the end */ |
/* WeeChat developers: ALWAYS add new functions at the end */ |
155 |
extern void weechat_plugin_exec_on_files (t_weechat_plugin *, char *, |
extern void weechat_plugin_exec_on_files (t_weechat_plugin *, char *, |
156 |
int (*)(t_weechat_plugin *, char *)); |
int (*)(t_weechat_plugin *, char *)); |
157 |
|
|
158 |
|
/* display functions */ |
159 |
|
extern void weechat_plugin_printf (t_weechat_plugin *, char *, char *, char *, ...); |
160 |
|
extern void weechat_plugin_printf_server (t_weechat_plugin *, char *, ...); |
161 |
|
extern void weechat_plugin_infobar_printf (t_weechat_plugin *, int, char *, ...); |
162 |
|
|
163 |
/* handler functions */ |
/* handler functions */ |
164 |
extern t_plugin_msg_handler *weechat_plugin_msg_handler_add (t_weechat_plugin *, char *, |
extern t_plugin_msg_handler *weechat_plugin_msg_handler_add (t_weechat_plugin *, char *, |
165 |
t_plugin_handler_func *, |
t_plugin_handler_func *, |
173 |
extern void weechat_plugin_cmd_handler_remove (t_weechat_plugin *, t_plugin_cmd_handler *); |
extern void weechat_plugin_cmd_handler_remove (t_weechat_plugin *, t_plugin_cmd_handler *); |
174 |
extern void weechat_plugin_cmd_handler_remove_all (t_weechat_plugin *); |
extern void weechat_plugin_cmd_handler_remove_all (t_weechat_plugin *); |
175 |
|
|
176 |
/* display functions */ |
/* other functions */ |
|
extern void weechat_plugin_printf (t_weechat_plugin *, char *, char *, char *, ...); |
|
|
extern void weechat_plugin_printf_server (t_weechat_plugin *, char *, ...); |
|
|
extern void weechat_plugin_infobar_printf (t_weechat_plugin *, int, char *, ...); |
|
|
|
|
|
/* IRC functions */ |
|
177 |
extern void weechat_plugin_exec_command (t_weechat_plugin *, char *, char *, char *); |
extern void weechat_plugin_exec_command (t_weechat_plugin *, char *, char *, char *); |
178 |
extern char *weechat_plugin_get_info (t_weechat_plugin *, char *, char *, char *); |
extern char *weechat_plugin_get_info (t_weechat_plugin *, char *, char *, char *); |
179 |
extern t_plugin_dcc_info *weechat_plugin_get_dcc_info (t_weechat_plugin *); |
extern t_plugin_dcc_info *weechat_plugin_get_dcc_info (t_weechat_plugin *); |
180 |
extern void weechat_plugin_free_dcc_info (t_weechat_plugin *, t_plugin_dcc_info *); |
extern void weechat_plugin_free_dcc_info (t_weechat_plugin *, t_plugin_dcc_info *); |
|
|
|
|
/* other functions */ |
|
181 |
extern char *weechat_plugin_get_config (t_weechat_plugin *, char *); |
extern char *weechat_plugin_get_config (t_weechat_plugin *, char *); |
182 |
|
|
183 |
#endif /* weechat-plugin.h */ |
#endif /* weechat-plugin.h */ |