Move socket related functions to netmgr/socket.c

Move the netmgr socket related functions from netmgr/netmgr.c and
netmgr/uv-compat.c to netmgr/socket.c, so they are all present all in
the same place.  Adjust the names of couple interal functions
accordingly.
This commit is contained in:
Ondřej Surý
2022-04-27 17:41:47 +02:00
parent f432a2b148
commit 24c3879675
12 changed files with 411 additions and 393 deletions

View File

@@ -43,6 +43,7 @@
#include "../netmgr/http.c"
#include "../netmgr/netmgr-int.h"
#include "../netmgr/socket.c"
#include "../netmgr/uv-compat.c"
#include "../netmgr/uv-compat.h"
#include "../netmgr_p.h"

View File

@@ -35,6 +35,7 @@
#define KEEP_BEFORE
#include "../netmgr/netmgr-int.h"
#include "../netmgr/socket.c"
#include "../netmgr/udp.c"
#include "../netmgr/uv-compat.c"
#include "../netmgr/uv-compat.h"