Mercurial > pidgin
comparison plugins/icq/util.h @ 1152:201ec77f3a60
[gaim-migrate @ 1162]
icq. whoop de doo
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 28 Nov 2000 02:22:42 +0000 |
parents | |
children | 8ed70631ed15 |
comparison
equal
deleted
inserted
replaced
1151:428372cc1e39 | 1152:201ec77f3a60 |
---|---|
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
2 #ifndef _UTIL_H_ | |
3 #define _UTIL_H_ | |
4 | |
5 #ifdef HAVE_CONFIG_H | |
6 #include <config.h> | |
7 #endif | |
8 | |
9 #include <sys/types.h> | |
10 | |
11 #ifdef _WIN32 | |
12 #include <winsock.h> | |
13 #else | |
14 #include <netinet/in.h> | |
15 #endif | |
16 | |
17 #include "icqtypes.h" | |
18 #include "icq.h" | |
19 | |
20 #ifndef FALSE | |
21 #define FALSE 0 | |
22 #endif | |
23 | |
24 #ifndef TRUE | |
25 #define TRUE !FALSE | |
26 #endif | |
27 | |
28 void hex_dump(char *data, long size); | |
29 | |
30 WORD Chars_2_Word(unsigned char *buf); | |
31 DWORD Chars_2_DW(unsigned char *buf); | |
32 void DW_2_Chars(unsigned char *buf, DWORD num); | |
33 void Word_2_Chars(unsigned char *buf, WORD num); | |
34 | |
35 const char *icq_ConvertStatus2Str(unsigned long status); | |
36 | |
37 #endif /* _UTIL_H_ */ |