/[weechat]/weechat/src/plugins/weechat-plugin.h
ViewVC logotype

Diff of /weechat/src/plugins/weechat-plugin.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by flashcode, Mon Oct 17 14:30:04 2005 UTC revision 1.3 by flashcode, Mon Oct 17 17:45:23 2005 UTC
# Line 121  struct t_weechat_plugin Line 121  struct t_weechat_plugin
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 *);
# Line 134  struct t_weechat_plugin Line 138  struct t_weechat_plugin
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 */
# Line 156  extern int weechat_plugin_mkdir_home (t_ Line 155  extern int weechat_plugin_mkdir_home (t_
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 *,
# Line 169  extern t_plugin_cmd_handler *weechat_plu Line 173  extern t_plugin_cmd_handler *weechat_plu
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 */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26