nd_entry struct from ratbox3

This commit is contained in:
Valery Yatsko 2008-04-02 14:00:41 +04:00
parent 162828b85d
commit db3ff62e3b
1 changed files with 8 additions and 5 deletions

View File

@ -246,11 +246,14 @@ extern int valid_wild_card_simple(const char *);
extern int clean_resv_nick(const char *);
time_t valid_temp_time(const char *p);
struct nd_entry
{
char name[NICKLEN+1];
time_t expire;
rb_dlink_node lnode; /* node in ll */
struct nd_entry
{
char name[NICKLEN+1];
time_t expire;
unsigned int hashv;
rb_dlink_node hnode; /* node in hash */
rb_dlink_node lnode; /* node in ll */
};
extern void add_nd_entry(const char *name);