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 502 by michael, Sat Dec 24 14:45:17 2005 UTC vs.
Revision 503 by michael, Fri Mar 3 19:53:47 2006 UTC

# Line 181 | Line 181 | struct LocalUser
181     * The following fields are allocated only for local clients
182     * (directly connected to *this* server with a socket.
183     */
184 +  unsigned int registration;
185 +  unsigned int cap_client;    /* Client capabilities (from us) */
186 +  unsigned int cap_active;    /* Active capabilities (to us) */
187 +
188    /* Anti flooding part, all because of lamers... */
189    time_t            last_away; /* Away since... */
190    time_t            last_join_time;   /* when this client last
# Line 269 | Line 273 | struct LocalUser
273   #define STAT_SERVER             0x10
274   #define STAT_CLIENT             0x20
275  
276 + #define REG_NEED_USER 0x1
277 + #define REG_NEED_NICK 0x2
278 + #define REG_NEED_CAP  0x4
279 + #define REG_INIT (REG_NEED_USER|REG_NEED_NICK)
280 +
281   #define HasID(x)                ((x)->id[0] != '\0')
282   #define ID(x)                   (HasID(x) ? (x)->id : (x)->name)
283   #define ID_or_name(x,client_p)  ((IsCapable(client_p, CAP_TS6) && HasID(x)) ? (x)->id : (x)->name)
# Line 319 | Line 328 | struct LocalUser
328   #define DoesTS(x)       ((x)->tsinfo == TS_DOESTS)
329  
330  
331 +
332 + #define CAP_MULTI_PREFIX  0x00000001
333 +
334   /* housekeeping flags */
335   #define FLAGS_PINGSENT    0x00000001 /* Unreplied ping sent                      */
336   #define FLAGS_DEADSOCKET  0x00000002 /* Local socket is dead--Exiting soon       */

Diff Legend

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