/[svn]/ircd-hybrid-7.2/include/s_gline.h
ViewVC logotype

Diff of /ircd-hybrid-7.2/include/s_gline.h

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

revision 956 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 957 by michael, Tue Jul 28 18:47:23 2009 UTC
# Line 27  Line 27 
27    
28  #include "ircd_defs.h"  #include "ircd_defs.h"
29    
30    #define GLINE_PENDING_DEL_TYPE 0
31    #define GLINE_PENDING_ADD_TYPE 1
32    
33  struct AccessItem;  struct AccessItem;
34    
35  extern void cleanup_glines(void *);  extern void cleanup_glines(void *);
# Line 36  struct gline_pending Line 39  struct gline_pending
39  {  {
40    dlink_node node;    dlink_node node;
41    
42    char oper_nick1[NICKLEN + 1];    struct {
43    char oper_user1[USERLEN + 1];      char oper_nick[NICKLEN + 1];
44    char oper_host1[HOSTLEN + 1];      char oper_user[USERLEN + 1];
45    char oper_server1[HOSTLEN + 1];      char oper_host[HOSTLEN + 1];
46    char reason1[REASONLEN + 1];      char oper_server[HOSTLEN + 1];
47    time_t time_request1;      char reason[REASONLEN + 1];
48        time_t time_request;
49    char oper_nick2[NICKLEN + 1];    } vote_1, vote_2;
   char oper_user2[USERLEN + 1];  
   char oper_host2[HOSTLEN + 1];  
   char oper_server2[HOSTLEN + 1];  
   char reason2[REASONLEN + 1];  
   time_t time_request2;  
50    
51    time_t last_gline_time;       /* for expiring entry */    time_t last_gline_time;       /* for expiring entry */
52    char user[USERLEN * 2 + 2];    char user[USERLEN * 2 + 2];
53    char host[HOSTLEN * 2 + 2];    char host[HOSTLEN * 2 + 2];
54  };  };
55    
56    
57  /*  /*
58   * how long a pending G line can be around   * how long a pending G line can be around
59   * 10 minutes should be plenty   * 10 minutes should be plenty
# Line 62  struct gline_pending Line 61  struct gline_pending
61  #define GLINE_PENDING_EXPIRE 600  #define GLINE_PENDING_EXPIRE 600
62  #define CLEANUP_GLINES_TIME  300  #define CLEANUP_GLINES_TIME  300
63    
64  extern dlink_list pending_glines;  extern dlink_list pending_glines[];
65  #endif /* INCLUDED_s_gline_h */  #endif /* INCLUDED_s_gline_h */

Legend:
Removed from v.956  
changed lines
  Added in v.957

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26