xref: /titanic_52/usr/src/lib/libresolv2/include/hesiod.h (revision 9525b14bcdeb5b5f6f95ab27c2f48f18bd2ec829)
17c478bd9Sstevel@tonic-gate /*
2*9525b14bSRao Shoaib  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
37c478bd9Sstevel@tonic-gate  * Copyright (c) 1996,1999 by Internet Software Consortium.
47c478bd9Sstevel@tonic-gate  *
57c478bd9Sstevel@tonic-gate  * Permission to use, copy, modify, and distribute this software for any
67c478bd9Sstevel@tonic-gate  * purpose with or without fee is hereby granted, provided that the above
77c478bd9Sstevel@tonic-gate  * copyright notice and this permission notice appear in all copies.
87c478bd9Sstevel@tonic-gate  *
9*9525b14bSRao Shoaib  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
10*9525b14bSRao Shoaib  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*9525b14bSRao Shoaib  * MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
12*9525b14bSRao Shoaib  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*9525b14bSRao Shoaib  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*9525b14bSRao Shoaib  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
15*9525b14bSRao Shoaib  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
167c478bd9Sstevel@tonic-gate  */
177c478bd9Sstevel@tonic-gate 
18*9525b14bSRao Shoaib /*! \file
19*9525b14bSRao Shoaib  * \brief
207c478bd9Sstevel@tonic-gate  * This file is primarily maintained by <tytso@mit.edu> and <ghudson@mit.edu>.
217c478bd9Sstevel@tonic-gate  */
227c478bd9Sstevel@tonic-gate 
237c478bd9Sstevel@tonic-gate /*
24*9525b14bSRao Shoaib  * $Id: hesiod.h,v 1.4 2005/04/27 04:56:14 sra Exp $
257c478bd9Sstevel@tonic-gate  */
267c478bd9Sstevel@tonic-gate 
277c478bd9Sstevel@tonic-gate #ifndef _HESIOD_H_INCLUDED
287c478bd9Sstevel@tonic-gate #define _HESIOD_H_INCLUDED
297c478bd9Sstevel@tonic-gate 
30*9525b14bSRao Shoaib int		hesiod_init __P((void **));
31*9525b14bSRao Shoaib void		hesiod_end __P((void *));
32*9525b14bSRao Shoaib char *		hesiod_to_bind __P((void *, const char *, const char *));
33*9525b14bSRao Shoaib char **		hesiod_resolve __P((void *, const char *, const char *));
34*9525b14bSRao Shoaib void		hesiod_free_list __P((void *, char **));
35*9525b14bSRao Shoaib struct __res_state * __hesiod_res_get __P((void *));
36*9525b14bSRao Shoaib void		__hesiod_res_set __P((void *, struct __res_state *,
377c478bd9Sstevel@tonic-gate 				      void (*)(void *)));
387c478bd9Sstevel@tonic-gate 
397c478bd9Sstevel@tonic-gate #endif /*_HESIOD_H_INCLUDED*/
40