refactor(main): move map_port to network (#2115)
This commit is contained in:
@@ -16,6 +16,9 @@ namespace net {
|
||||
void
|
||||
free_host(ENetHost *host);
|
||||
|
||||
std::uint16_t
|
||||
map_port(int port);
|
||||
|
||||
using host_t = util::safe_ptr<ENetHost, free_host>;
|
||||
using peer_t = ENetPeer *;
|
||||
using packet_t = util::safe_ptr<ENetPacket, enet_packet_destroy>;
|
||||
|
||||
Reference in New Issue
Block a user