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

Comparing:
ircd-hybrid-7.2/include/client.h (file contents), Revision 1015 by michael, Sun Oct 25 00:08:06 2009 UTC vs.
ircd-hybrid-7.3/include/client.h (file contents), Revision 1113 by michael, Sat Dec 18 22:44:10 2010 UTC

# Line 111 | Line 111 | struct Client
111    unsigned int      hopcount;   /* number of servers to this 0 = local */
112    unsigned int      status;     /* Client type */
113    unsigned int      handler;    /* Handler index */
114  unsigned int      serial;     /* used to enforce 1 send per nick */
114  
115    dlink_list        channel;   /* chain of channel pointer blocks */
116  
# Line 143 | Line 142 | struct Client
142     * gcos field in /etc/passwd but anything can go here.
143     */
144    char              info[REALLEN + 1]; /* Free form additional client info */
146  char              client_host[HOSTLEN + 1];
147  char              client_server[HOSTLEN + 1];
145  
146 <  /* client->sockhost contains the ip address gotten from the socket as a
146 >  /*
147 >   * client->sockhost contains the ip address gotten from the socket as a
148     * string, this field should be considered read-only once the connection
149     * has been made. (set in s_bsd.c only)
150     */
# Line 160 | Line 158 | struct LocalUser
158     * The following fields are allocated only for local clients
159     * (directly connected to *this* server with a socket.
160     */
161 <  dlink_node        lclient_node;
164 <
161 >  dlink_node   lclient_node;
162  
163 +  char         client_host[HOSTLEN + 1];
164 +  char         client_server[HOSTLEN + 1];
165  
166    unsigned int registration;
167    unsigned int cap_client;    /* Client capabilities (from us) */
# Line 171 | Line 170 | struct LocalUser
170    unsigned int operflags;     /* oper priv flags */
171    unsigned int random_ping;
172  
173 +  unsigned int serial;     /* used to enforce 1 send per nick */
174  
175    /* Anti flooding part, all because of lamers... */
176    time_t       last_knock;    /* time of last knock */

Diff Legend

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