/[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.6 by flashcode, Tue Oct 25 17:37:13 2005 UTC revision 1.7 by flashcode, Fri Oct 28 07:31:22 2005 UTC
# Line 22  Line 22 
22  #ifndef __WEECHAT_WEECHAT_PLUGIN_H  #ifndef __WEECHAT_WEECHAT_PLUGIN_H
23  #define __WEECHAT_WEECHAT_PLUGIN_H 1  #define __WEECHAT_WEECHAT_PLUGIN_H 1
24    
25    /* return codes for init function and handlers */
26    #define PLUGIN_RC_KO                 -1 /* function/handler failed             */
27    #define PLUGIN_RC_OK                 0  /* function/handler ok                 */
28    
29    /* return codes specific to message handlers: messages can be discarded for
30       WeeChat, for plugins, or both */
31    #define PLUGIN_RC_OK_IGNORE_WEECHAT  1  /* ignore WeeChat for this message     */
32    #define PLUGIN_RC_OK_IGNORE_PLUGINS  2  /* ignore other plugins for this msg   */
33    #define PLUGIN_RC_OK_IGNORE_ALL      (PLUGIN_RC_DISCARD_WEECHAT \
34                                         | PLUGIN_RC_DISCARD_PLUGINS)
35                                            /* ignore WeeChat and other plugins    */
36    
37  typedef struct t_plugin_dcc_info t_plugin_dcc_info;  typedef struct t_plugin_dcc_info t_plugin_dcc_info;
38    
39  struct t_plugin_dcc_info  struct t_plugin_dcc_info

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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