1
0
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:
William Pitcock
2013-05-20 22:00:24 +00:00
parent 01ff7c4a16
commit b02069f944
8 changed files with 58 additions and 14 deletions
+3
View File
@@ -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 *);
+1
View File
@@ -36,6 +36,7 @@
#define RPL_ISUPPORT 005
#define RPL_REDIR 10
#define RPL_YOURID 42
#define RPL_REMOTEISUPPORT 105
+1
View File
@@ -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 */