xref: /netbsd-src/external/bsd/libbind/dist/include/hesiod.h (revision 5bbd2a12505d72a8177929a37b5cee489d0a1cfd)
1*5bbd2a12Schristos /*	$NetBSD: hesiod.h,v 1.1.1.2 2012/09/09 16:07:48 christos Exp $	*/
2b5677b36Schristos 
3b5677b36Schristos /*
4b5677b36Schristos  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
5b5677b36Schristos  * Copyright (c) 1996,1999 by Internet Software Consortium.
6b5677b36Schristos  *
7b5677b36Schristos  * Permission to use, copy, modify, and distribute this software for any
8b5677b36Schristos  * purpose with or without fee is hereby granted, provided that the above
9b5677b36Schristos  * copyright notice and this permission notice appear in all copies.
10b5677b36Schristos  *
11b5677b36Schristos  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
12b5677b36Schristos  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13b5677b36Schristos  * MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
14b5677b36Schristos  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15b5677b36Schristos  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16b5677b36Schristos  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
17b5677b36Schristos  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18b5677b36Schristos  */
19b5677b36Schristos 
20b5677b36Schristos /*! \file
21b5677b36Schristos  * \brief
22b5677b36Schristos  * This file is primarily maintained by <tytso@mit.edu> and <ghudson@mit.edu>.
23b5677b36Schristos  */
24b5677b36Schristos 
25b5677b36Schristos /*
26b5677b36Schristos  * Id: hesiod.h,v 1.4 2005/04/27 04:56:14 sra Exp
27b5677b36Schristos  */
28b5677b36Schristos 
29b5677b36Schristos #ifndef _HESIOD_H_INCLUDED
30b5677b36Schristos #define _HESIOD_H_INCLUDED
31b5677b36Schristos 
32b5677b36Schristos int		hesiod_init __P((void **));
33b5677b36Schristos void		hesiod_end __P((void *));
34b5677b36Schristos char *		hesiod_to_bind __P((void *, const char *, const char *));
35b5677b36Schristos char **		hesiod_resolve __P((void *, const char *, const char *));
36b5677b36Schristos void		hesiod_free_list __P((void *, char **));
37b5677b36Schristos struct __res_state * __hesiod_res_get __P((void *));
38b5677b36Schristos void		__hesiod_res_set __P((void *, struct __res_state *,
39b5677b36Schristos 				      void (*)(void *)));
40b5677b36Schristos 
41b5677b36Schristos #endif /*_HESIOD_H_INCLUDED*/
42