diff options
Diffstat (limited to 'source/packets')
-rw-r--r-- | source/packets/cPacket.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h index 7d85afc97..702b3e369 100644 --- a/source/packets/cPacket.h +++ b/source/packets/cPacket.h @@ -1,3 +1,4 @@ +
#pragma once
#include "../cSocket.h"
@@ -7,7 +8,6 @@ -class cSocket;
class cPacket
{
public:
@@ -53,6 +53,9 @@ public: static int RecvAll( cSocket & a_Socket, char* a_Data, unsigned int a_Size, int a_Options );
};
+typedef std::list <cPacket*> PacketList;
+typedef std::deque<cPacket *> PacketQueue;
+
|