| 3 * |
3 * |
| 4 * Created by: Robert French |
4 * Created by: Robert French |
| 5 * |
5 * |
| 6 * $Source$ |
6 * $Source$ |
| 7 * $Author: thekingant $ |
7 * $Author: thekingant $ |
| 8 * $Id: zephyr.h 8088 2003-11-11 07:08:13Z thekingant $ |
8 * $Id: zephyr.h 12553 2005-04-25 01:53:01Z thekingant $ |
| 9 * |
9 * |
| 10 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of |
10 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of |
| 11 * Technology. For copying and distribution information, see the |
11 * Technology. For copying and distribution information, see the |
| 12 * file "mit-copyright.h". |
12 * file "mit-copyright.h". |
| 13 */ |
13 */ |
| 18 #include <config.h> |
18 #include <config.h> |
| 19 |
19 |
| 20 #include <sys/types.h> |
20 #include <sys/types.h> |
| 21 #include <sys/time.h> |
21 #include <sys/time.h> |
| 22 |
22 |
| 23 #include <zephyr/zephyr_err.h> |
23 #include <zephyr_err.h> |
| 24 |
24 |
| 25 #ifndef IPPROTO_MAX /* Make sure not already included */ |
25 #ifndef IPPROTO_MAX /* Make sure not already included */ |
| |
26 #ifndef WIN32 |
| 26 #include <netinet/in.h> |
27 #include <netinet/in.h> |
| |
28 #endif |
| 27 #endif |
29 #endif |
| 28 |
30 |
| 29 /* Use __STDC__ to guess whether we can use stdarg, prototypes, and const. |
31 /* Use __STDC__ to guess whether we can use stdarg, prototypes, and const. |
| 30 * This is a public header file, so autoconf can't help us here. */ |
32 * This is a public header file, so autoconf can't help us here. */ |
| 31 #ifdef __STDC__ |
33 #ifdef __STDC__ |
| 241 |
253 |
| 242 /* Successful function return */ |
254 /* Successful function return */ |
| 243 #define ZERR_NONE 0 |
255 #define ZERR_NONE 0 |
| 244 |
256 |
| 245 /* Hostmanager wait time (in secs) */ |
257 /* Hostmanager wait time (in secs) */ |
| 246 #define HM_TIMEOUT 10 |
258 #define HM_TIMEOUT 1 |
| 247 |
259 |
| 248 /* Server wait time (in secs) */ |
260 /* Server wait time (in secs) */ |
| 249 #define SRV_TIMEOUT 30 |
261 #define SRV_TIMEOUT 30 |
| 250 |
262 |
| 251 #define ZAUTH (ZMakeAuthentication) |
263 #define ZAUTH (ZMakeAuthentication) |