X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/070f97038a36f1c8e5401f0701f1313ea33148cc..76addde818f6fdc09ff8ff264eafeab7d4c1af8e:/projects/rscriptd/listener.h diff --git a/projects/rscriptd/listener.h b/projects/rscriptd/listener.h index abc03f6f..c6fb143a 100644 --- a/projects/rscriptd/listener.h +++ b/projects/rscriptd/listener.h @@ -26,10 +26,10 @@ #include #include -#include "os_int.h" -#include "blowfish.h" -#include "rs_packets.h" -#include "stg_logger.h" +#include "stg/os_int.h" +#include "stg/blowfish.h" +#include "stg/rs_packets.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();