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.2/include/ircd.h (file contents):
Revision 947 by michael, Wed Nov 7 22:47:44 2007 UTC vs.
Revision 948 by michael, Tue Jul 21 17:34:06 2009 UTC

# Line 52 | Line 52 | struct SetOptions
52   * statistics structures
53   */
54   struct ServerStatistics {
55 –  unsigned int    is_cl;  /* number of client connections */
56 –  unsigned int    is_sv;  /* number of server connections */
57 –  unsigned int    is_ni;  /* connection but no idea who it was */
58 –
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    time_t          is_cti; /* time spent connected by clients */
60    time_t          is_sti; /* time spent connected by servers */
61 +
62 +  unsigned int    is_cl;  /* number of client connections */
63 +  unsigned int    is_sv;  /* number of server connections */
64 +  unsigned int    is_ni;  /* connection but no idea who it was */
65 +
66    unsigned int    is_ac;  /* connections accepted */
67    unsigned int    is_ref; /* accepts refused */
68    unsigned int    is_unco; /* unknown commands */
# Line 86 | Line 87 | struct Counter
87    int invisi;   /* invisible clients   */
88    int max_loc;  /* MAX local clients   */
89    int max_tot;  /* MAX global clients  */
90 <  unsigned long totalrestartcount; /* Total client count ever */
90 >  uint64_t totalrestartcount; /* Total client count ever */
91   };
92  
93   extern struct SetOptions GlobalSetOptions; /* defined in ircd.c */
93 – extern unsigned long connect_id;        /* unique connect ID */
94  
95   struct ServerState_t
96   {
# Line 129 | Line 129 | extern dlink_list serv_list;          /*
129   extern dlink_list global_serv_list;   /* global servers on the network              */
130   extern dlink_list oper_list;          /* our opers, duplicated in local_client_list */
131   extern int rehashed_klines;
132 – extern unsigned long get_maxrss(void);
132   extern void set_time(void);
134 –
133   #endif

Diff Legend

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