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/trunk/include/ircd.h (file contents):
Revision 4105 by michael, Sun Jun 29 11:48:50 2014 UTC vs.
Revision 4106 by michael, Mon Jun 30 15:50:11 2014 UTC

# Line 32 | Line 32
32   #include "config.h"
33  
34  
35 < struct SetOptions
35 > struct
36   {
37    unsigned int autoconn;      /* autoconn enabled for all servers? */
38    int floodcount;    /* Number of messages in 1 second    */
# Line 41 | Line 41 | struct SetOptions
41    unsigned int ident_timeout; /* timeout for identd lookups        */
42    int spam_num;
43    unsigned int spam_time;
44 < };
44 > } GlobalSetOptions;
45  
46   /*
47   * statistics structures
# Line 83 | Line 83 | struct Counter
83    unsigned int max_tot;       /* MAX global clients  */
84    unsigned int max_loc_con;   /* MAX local connection count (clients + server) */
85    unsigned int max_loc_cli;   /* XXX This is redundant - Max local client count */
86 < };
86 > } Count;
87  
88 < struct ServerState_t
88 > struct
89   {
90    unsigned int foreground;
91 < };
91 > } server_state;
92  
93  
94   #ifdef HAVE_LIBGEOIP
# Line 103 | Line 103 | extern const char *pidFileName;
103   extern int dorehash;
104   extern int doremotd;
105   extern struct event event_write_links_file;
106 – extern struct Counter Count;
106   extern struct ServerStatistics ServerStats;
108 – extern struct SetOptions GlobalSetOptions; /* defined in ircd.c */
109 – extern struct ServerState_t server_state;
107   extern struct timeval SystemTime;
108   #define CurrentTime SystemTime.tv_sec
109   extern int unsigned default_server_capabs;

Diff Legend

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