diff options
Diffstat (limited to 'contrib/ntp/arlib/arlib.h')
-rw-r--r-- | contrib/ntp/arlib/arlib.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/ntp/arlib/arlib.h b/contrib/ntp/arlib/arlib.h new file mode 100644 index 0000000..a295b88 --- /dev/null +++ b/contrib/ntp/arlib/arlib.h @@ -0,0 +1,29 @@ +/* + * arlib.h (C)opyright 1992 Darren Reed. + */ + +#define ARES_INITLIST 1 +#define ARES_CALLINIT 2 +#define ARES_INITSOCK 4 +#define ARES_INITDEBG 8 +#define ARES_INITCACH 16 + +#ifdef __STDC__ +extern struct hostent *ar_answer(char *, int); +extern void ar_close(); +extern int ar_delete(char *, int); +extern int ar_gethostbyname(char *, char *, int); +extern int ar_gethostbyaddr(char *, char *, int); +extern int ar_init(int); +extern int ar_open(); +extern long ar_timeout(time_t, char *, int); +#else +extern struct hostent *ar_answer(); +extern void ar_close(); +extern int ar_delete(); +extern int ar_gethostbyname(); +extern int ar_gethostbyaddr(); +extern int ar_init(); +extern int ar_open(); +extern long ar_timeout(); +#endif |