mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-05 06:53:13 +02:00
- Generate UIDs for local clients.
This commit is contained in:
@@ -365,6 +365,8 @@ extern void clear_client_hash_table();
|
||||
extern void clear_watch_hash_table();
|
||||
extern int add_to_client_hash_table(char *, aClient *);
|
||||
extern int del_from_client_hash_table(char *, aClient *);
|
||||
extern int add_to_id_hash_table(char *, aClient *);
|
||||
extern int del_from_id_hash_table(char *, aClient *);
|
||||
extern int add_to_channel_hash_table(char *, aChannel *);
|
||||
extern int del_from_channel_hash_table(char *, aChannel *);
|
||||
extern int add_to_watch_hash_table(char *, aClient *, int);
|
||||
@@ -375,6 +377,7 @@ extern void count_watch_memory(int *, u_long *);
|
||||
extern aWatch *hash_get_watch(char *);
|
||||
extern aChannel *hash_get_chan_bucket(unsigned int);
|
||||
extern aClient *hash_find_client(char *, aClient *);
|
||||
extern aClient *hash_find_id(char *, aClient *);
|
||||
extern aClient *hash_find_nickserver(char *, aClient *);
|
||||
extern aClient *hash_find_server(char *, aClient *);
|
||||
extern char *find_by_aln(char *);
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#define RPL_ISUPPORT 005
|
||||
|
||||
#define RPL_REDIR 10
|
||||
#define RPL_YOURID 42
|
||||
|
||||
#define RPL_REMOTEISUPPORT 105
|
||||
|
||||
|
||||
@@ -940,6 +940,7 @@ typedef struct {
|
||||
struct Client {
|
||||
struct list_head client_node; /* for global client list (client_list) */
|
||||
struct list_head client_hash; /* for clientTable */
|
||||
struct list_head id_hash; /* for idTable */
|
||||
|
||||
anUser *user; /* ...defined, if this is a User */
|
||||
aServer *serv; /* ...defined, if this is a server */
|
||||
|
||||
Reference in New Issue
Block a user