libpurple/protocols/qq/packet_parse.h

changeset 23959
586238415076
parent 23950
a974649cdb89
child 24018
91f0294f2377
equal deleted inserted replaced
23958:b53b1ff4bbd7 23959:586238415076
35 * 35 *
36 * TCP allows packet 64K 36 * TCP allows packet 64K
37 */ 37 */
38 #define MAX_PACKET_SIZE 65535 38 #define MAX_PACKET_SIZE 65535
39 39
40 #ifndef _WIN32
40 #include <netinet/in.h> 41 #include <netinet/in.h>
42 #else
43 #include "win32dep.h"
44 #endif
41 45
42 gint qq_get8(guint8 *b, guint8 *buf); 46 gint qq_get8(guint8 *b, guint8 *buf);
43 gint qq_get16(guint16 *w, guint8 *buf); 47 gint qq_get16(guint16 *w, guint8 *buf);
44 gint qq_get32(guint32 *dw, guint8 *buf); 48 gint qq_get32(guint32 *dw, guint8 *buf);
45 gint qq_getIP(struct in_addr *ip, guint8 *buf); 49 gint qq_getIP(struct in_addr *ip, guint8 *buf);

mercurial