Changeset 188 for code/branches/network/src/network/PacketBuffer.h
- Timestamp:
- Nov 7, 2007, 8:38:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/PacketBuffer.h
r174 r188 16 16 #include <queue> 17 17 #include <string> 18 #include <enet/enet.h> 18 19 #include <boost/bind.hpp> 19 20 #include <boost/thread/mutex.hpp> … … 31 32 32 33 struct QueueItem{ 33 PacketEnvelope*packet;34 ENetPacket *packet; 34 35 QueueItem *next; 35 36 }; … … 43 44 void print(); 44 45 // pops a packet from the queue 45 PacketEnvelopepop();46 ENetPacket *pop(); 46 47 // pushs a packet to the queue 47 bool push( PacketEnvelopepck);48 bool push(ENetPacket *pck); 48 49 private: 49 50 QueueItem *first;
Note: See TracChangeset
for help on using the changeset viewer.