| 2 * |
2 * |
| 3 * |
3 * |
| 4 * |
4 * |
| 5 */ |
5 */ |
| 6 |
6 |
| 7 #include <aim.h> |
7 #include <faim/aim.h> |
| 8 #include <ctype.h> |
8 #include <ctype.h> |
| 9 |
9 |
| 10 #define AIMUTIL_USEMACROS |
10 #define AIMUTIL_USEMACROS |
| 11 |
11 |
| 12 #ifdef AIMUTIL_USEMACROS |
12 #ifdef AIMUTIL_USEMACROS |
| 13 /* macros in aim.h */ |
13 /* macros in faim/aim.h */ |
| 14 #else |
14 #else |
| 15 inline int aimutil_put8(u_char *buf, u_char data) |
15 inline int aimutil_put8(u_char *buf, u_char data) |
| 16 { |
16 { |
| 17 buf[0] = (u_char)data&0xff; |
17 buf[0] = (u_char)data&0xff; |
| 18 return 1; |
18 return 1; |