22 |
#define __WEECHAT_PLUGINS_H 1 |
#define __WEECHAT_PLUGINS_H 1 |
23 |
|
|
24 |
#include "weechat-plugin.h" |
#include "weechat-plugin.h" |
25 |
|
#include "../irc/irc.h" |
26 |
#include "../gui/gui.h" |
#include "../gui/gui.h" |
27 |
|
|
28 |
typedef int (t_weechat_init_func) (t_weechat_plugin *); |
typedef int (t_weechat_init_func) (t_weechat_plugin *); |
32 |
extern t_weechat_plugin *last_weechat_plugin; |
extern t_weechat_plugin *last_weechat_plugin; |
33 |
|
|
34 |
extern t_gui_buffer *plugin_find_buffer (char *, char *); |
extern t_gui_buffer *plugin_find_buffer (char *, char *); |
35 |
|
extern t_irc_server *plugin_find_server (char *, char *); |
36 |
extern void plugin_exec_on_files (t_weechat_plugin *, char *, |
extern void plugin_exec_on_files (t_weechat_plugin *, char *, |
37 |
int (*)(t_weechat_plugin *, char *)); |
int (*)(t_weechat_plugin *, char *)); |
38 |
extern t_weechat_plugin *plugin_search (char *); |
extern t_weechat_plugin *plugin_search (char *); |