mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
nd_entry struct from ratbox3
This commit is contained in:
parent
85958381ad
commit
5c65d4ca0c
1 changed files with 8 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue