ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/ircd.h
(Generate patch)

Comparing:
ircd-hybrid-7.3/include/ircd.h (file contents), Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC vs.
ircd-hybrid/include/ircd.h (file contents), Revision 1155 by michael, Tue Aug 9 20:27:45 2011 UTC

# Line 52 | Line 52 | struct SetOptions
52   */
53   struct ServerStatistics
54   {
55 <  uint64_t        is_cbs; /* bytes sent to clients */
56 <  uint64_t        is_cbr; /* bytes received from clients */
57 <  uint64_t        is_sbs; /* bytes sent to servers */
58 <  uint64_t        is_sbr; /* bytes received from servers */
59 <
60 <  time_t          is_cti; /* time spent connected by clients */
61 <  time_t          is_sti; /* time spent connected by servers */
62 <
63 <  unsigned int    is_cl;  /* number of client connections */
64 <  unsigned int    is_sv;  /* number of server connections */
65 <  unsigned int    is_ni;  /* connection but no idea who it was */
66 <  unsigned int    is_ac;  /* connections accepted */
67 <  unsigned int    is_ref; /* accepts refused */
55 >  uint64_t        is_cbs;  /* bytes sent to clients */
56 >  uint64_t        is_cbr;  /* bytes received from clients */
57 >  uint64_t        is_sbs;  /* bytes sent to servers */
58 >  uint64_t        is_sbr;  /* bytes received from servers */
59 >
60 >  time_t          is_cti;  /* time spent connected by clients */
61 >  time_t          is_sti;  /* time spent connected by servers */
62 >
63 >  unsigned int    is_cl;   /* number of client connections */
64 >  unsigned int    is_sv;   /* number of server connections */
65 >  unsigned int    is_ni;   /* connection but no idea who it was */
66 >  unsigned int    is_ac;   /* connections accepted */
67 >  unsigned int    is_ref;  /* accepts refused */
68    unsigned int    is_unco; /* unknown commands */
69    unsigned int    is_wrdi; /* command going in wrong direction */
70    unsigned int    is_unpf; /* unknown prefix */
71    unsigned int    is_empt; /* empty message */
72 <  unsigned int    is_num; /* numeric message */
72 >  unsigned int    is_num;  /* numeric message */
73    unsigned int    is_kill; /* number of kills generated on collisions */
74    unsigned int    is_asuc; /* successful auth requests */
75    unsigned int    is_abad; /* bad auth requests */
# Line 81 | Line 81 | extern struct ServerStatistics ServerSta
81   struct Counter
82   {
83    uint64_t totalrestartcount; /* Total client count ever */
84 <  unsigned int myserver; /* my servers          */
85 <  unsigned int oper;     /* Opers               */
86 <  unsigned int local;    /* Local Clients       */
87 <  unsigned int total;    /* total clients       */
88 <  unsigned int invisi;   /* invisible clients   */
89 <  unsigned int max_loc;  /* MAX local clients   */
90 <  unsigned int max_tot;  /* MAX global clients  */
84 >  unsigned int myserver;      /* my servers          */
85 >  unsigned int oper;          /* Opers               */
86 >  unsigned int local;         /* Local Clients       */
87 >  unsigned int total;         /* total clients       */
88 >  unsigned int invisi;        /* invisible clients   */
89 >  unsigned int max_loc;       /* MAX local clients   */
90 >  unsigned int max_tot;       /* MAX global clients  */
91 >  unsigned int max_loc_con;   /* MAX local connection count (clients + server) */
92 >  unsigned int max_loc_cli;   /* XXX This is redundant - Max local client count */
93   };
94  
95   extern struct SetOptions GlobalSetOptions; /* defined in ircd.c */

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)