Sync usage with man page.
[netbsd-mini2440.git] / dist / ntp / arlib / arlib.h
blobd027c545fdbb169355950b803f06633ac1344150
1 /* $NetBSD$ */
3 /*
4 * arlib.h (C)opyright 1992 Darren Reed.
5 */
7 #define ARES_INITLIST 1
8 #define ARES_CALLINIT 2
9 #define ARES_INITSOCK 4
10 #define ARES_INITDEBG 8
11 #define ARES_INITCACH 16
13 #ifdef __STDC__
14 extern struct hostent *ar_answer(char *, int);
15 extern void ar_close();
16 extern int ar_delete(char *, int);
17 extern int ar_gethostbyname(char *, char *, int);
18 extern int ar_gethostbyaddr(char *, char *, int);
19 extern int ar_init(int);
20 extern int ar_open();
21 extern long ar_timeout(time_t, char *, int);
22 #else
23 extern struct hostent *ar_answer();
24 extern void ar_close();
25 extern int ar_delete();
26 extern int ar_gethostbyname();
27 extern int ar_gethostbyaddr();
28 extern int ar_init();
29 extern int ar_open();
30 extern long ar_timeout();
31 #endif