X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/bb0ffb6084b51b95a8cbce53ecfea95b1e71982e..91002d861d8e0729e84f9ef65a19001d515d7dbe:/projects/rscriptd/listener.h diff --git a/projects/rscriptd/listener.h b/projects/rscriptd/listener.h index 16c49219..c6fb143a 100644 --- a/projects/rscriptd/listener.h +++ b/projects/rscriptd/listener.h @@ -29,7 +29,7 @@ #include "stg/os_int.h" #include "stg/blowfish.h" #include "stg/rs_packets.h" -#include "stg/stg_logger.h" +#include "stg/logger.h" struct UserData { @@ -94,10 +94,9 @@ private: // Networking stuff bool PrepareNet(); bool FinalizeNet(); - bool WaitPackets(int sd) const; bool RecvPacket(); // Parsing stuff - bool CheckHeader(const RS_PACKET_HEADER & header) const; + bool CheckHeader(const RS::PACKET_HEADER & header) const; bool GetParams(char * buffer, UserData & data); // Processing stuff void ProcessPending();