(svn r8546) -Codechange: add a seperate (wrapper) functions to send/receive booleans.

This commit is contained in:
rubidium
2007-02-02 23:16:58 +00:00
parent 9ddd227eb3
commit 500f9a971a
7 changed files with 32 additions and 21 deletions

View File

@@ -45,6 +45,7 @@ public:
/* Sending/writing of packets */
void PrepareToSend(void);
void Send_bool (bool data);
void Send_uint8 (uint8 data);
void Send_uint16(uint16 data);
void Send_uint32(uint32 data);
@@ -56,6 +57,7 @@ public:
void PrepareToRead(void);
bool CanReadFromPacket (uint bytes_to_read);
bool Recv_bool (void);
uint8 Recv_uint8 (void);
uint16 Recv_uint16(void);
uint32 Recv_uint32(void);