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

Comparing:
ircd-hybrid-7.2/include/whowas.h (file contents), Revision 948 by michael, Tue Jul 21 17:34:06 2009 UTC vs.
ircd-hybrid-8/include/whowas.h (file contents), Revision 1358 by michael, Sun Apr 22 13:49:23 2012 UTC

# Line 29 | Line 29
29   #include "client.h"
30   #include "config.h"
31  
32 +
33   struct Whowas
34   {
35    int hashv;
36    time_t logoff;
37    char name[NICKLEN];
38 <  char username[USERLEN + 1];
38 >  char username[USERLEN + 1];
39    char hostname[HOSTLEN + 1];
40    char realname[REALLEN + 1];
41    char servername[HOSTLEN + 1];
42    struct Client *online; /* Pointer to new nickname for chasing or NULL */
43 <  struct Whowas *next;  /* for hash table... */
44 <  struct Whowas *prev;  /* for hash table... */
44 <  struct Whowas *cnext; /* for client struct linked list */
45 <  struct Whowas *cprev; /* for client struct linked list */
43 >  dlink_node tnode;      /* for hash table...                           */
44 >  dlink_node cnode;      /* for client struct linked list               */
45   };
46  
47   /*
48   ** initwhowas
49   */
50 < extern void init_whowas(void);
50 > extern void whowas_init(void);
51  
52   /*
53   ** add_history
# Line 79 | Line 78 | extern struct Client *get_history(const
78   ** for debugging...counts related structures stored in whowas array.
79   */
80   extern void count_whowas_memory(unsigned int *, uint64_t *);
81 <
83 < /* XXX m_whowas.c in modules needs these */
84 < extern struct Whowas *WHOWASHASH[];
81 > extern dlink_list WHOWASHASH[];
82   #endif /* INCLUDED_whowas_h */

Diff Legend

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