ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/newserver.h
(Generate patch)

Comparing deliantra/server/include/newserver.h (file contents):
Revision 1.17 by root, Thu Dec 14 00:01:35 2006 UTC vs.
Revision 1.18 by root, Thu Dec 14 01:12:34 2006 UTC

153 /* If we get an incomplete packet, this is used to hold the data. */ 153 /* If we get an incomplete packet, this is used to hold the data. */
154 uint8 inbuf[MAXSOCKBUF]; 154 uint8 inbuf[MAXSOCKBUF];
155 155
156 int read_packet (); // returns length of packet or 0 156 int read_packet (); // returns length of packet or 0
157 void skip_packet (int len); // we have processed the packet, skip it 157 void skip_packet (int len); // we have processed the packet, skip it
158
159 void send_packet (const char *buf);
160 void send_packet (const char *buf, int len);
161 void send_packet (SockList &sl);
158}; 162};
159 163
160#define CLIENT_SUPPORT_READABLES(__sockPtr,__type)\ 164#define CLIENT_SUPPORT_READABLES(__sockPtr,__type)\
161 ( ((__type)>0) &&\ 165 ( ((__type)>0) &&\
162 ((__sockPtr)->has_readable_type) && \ 166 ((__sockPtr)->has_readable_type) && \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines