PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/ntp/arlib/arlib.h

https://bitbucket.org/freebsd/freebsd-head/
C++ Header | 29 lines | 24 code | 2 blank | 3 comment | 0 complexity | 3c686dc754af85f735f2b7b7bd455d04 MD5 | raw file
 1/*
 2 * arlib.h (C)opyright 1992 Darren Reed.
 3 */
 4
 5#define	ARES_INITLIST	1
 6#define	ARES_CALLINIT	2
 7#define ARES_INITSOCK	4
 8#define ARES_INITDEBG	8
 9#define ARES_INITCACH	16
10
11#ifdef	__STDC__
12extern	struct	hostent	*ar_answer(char *, int);
13extern	void    ar_close();
14extern	int     ar_delete(char *, int);
15extern	int     ar_gethostbyname(char *, char *, int);
16extern	int     ar_gethostbyaddr(char *, char *, int);
17extern	int     ar_init(int);
18extern	int     ar_open();
19extern	long    ar_timeout(time_t, char *, int);
20#else
21extern	struct	hostent	*ar_answer();
22extern	void    ar_close();
23extern	int     ar_delete();
24extern	int     ar_gethostbyname();
25extern	int     ar_gethostbyaddr();
26extern	int     ar_init();
27extern	int     ar_open();
28extern	long    ar_timeout();
29#endif