1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 11:03:12 +02:00

Clean up and document all functions in src/socket.c. Also,

remove calls to and the finish_auth() function, which did nothing.
This commit is contained in:
Bram Matthys
2019-10-25 10:51:18 +02:00
parent 599f83cbd4
commit 00aee86b66
4 changed files with 117 additions and 110 deletions
+1 -2
View File
@@ -215,7 +215,7 @@ extern Client *add_connection(ConfigItem_listen *, int);
extern void add_local_domain(char *, int);
extern int check_server_init(Client *);
extern void close_connection(Client *);
extern void close_listeners();
extern void close_unbound_listeners();
extern int connect_server(ConfigItem_link *, Client *, struct hostent *);
extern void get_my_name(Client *, char *, int);
extern int get_sockerr(Client *);
@@ -802,7 +802,6 @@ extern PendingNet *find_pending_net_by_sid_butone(char *sid, Client *exempt);
extern Client *find_pending_net_duplicates(Client *cptr, Client **srv, char **sid);
extern MODVAR char serveropts[];
extern MODVAR char *ISupportStrings[];
extern void finish_auth(Client *acptr);
extern void read_packet(int fd, int revents, void *data);
extern int process_packet(Client *cptr, char *readbuf, int length, int killsafely);
extern void sendto_realops_and_log(FORMAT_STRING(const char *fmt), ...) __attribute__((format(printf,1,2)));