10Sstevel@tonic-gate /* 2*11038SRao.Shoaib@Sun.COM * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 30Sstevel@tonic-gate * Copyright (c) 1996,1999 by Internet Software Consortium. 40Sstevel@tonic-gate * 50Sstevel@tonic-gate * Permission to use, copy, modify, and distribute this software for any 60Sstevel@tonic-gate * purpose with or without fee is hereby granted, provided that the above 70Sstevel@tonic-gate * copyright notice and this permission notice appear in all copies. 80Sstevel@tonic-gate * 9*11038SRao.Shoaib@Sun.COM * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES 10*11038SRao.Shoaib@Sun.COM * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11*11038SRao.Shoaib@Sun.COM * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 12*11038SRao.Shoaib@Sun.COM * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13*11038SRao.Shoaib@Sun.COM * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14*11038SRao.Shoaib@Sun.COM * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 15*11038SRao.Shoaib@Sun.COM * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 160Sstevel@tonic-gate */ 170Sstevel@tonic-gate 18*11038SRao.Shoaib@Sun.COM /*! \file 19*11038SRao.Shoaib@Sun.COM * \brief 200Sstevel@tonic-gate * This file is primarily maintained by <tytso@mit.edu> and <ghudson@mit.edu>. 210Sstevel@tonic-gate */ 220Sstevel@tonic-gate 230Sstevel@tonic-gate /* 24*11038SRao.Shoaib@Sun.COM * $Id: hesiod.h,v 1.4 2005/04/27 04:56:14 sra Exp $ 250Sstevel@tonic-gate */ 260Sstevel@tonic-gate 270Sstevel@tonic-gate #ifndef _HESIOD_H_INCLUDED 280Sstevel@tonic-gate #define _HESIOD_H_INCLUDED 290Sstevel@tonic-gate 30*11038SRao.Shoaib@Sun.COM int hesiod_init __P((void **)); 31*11038SRao.Shoaib@Sun.COM void hesiod_end __P((void *)); 32*11038SRao.Shoaib@Sun.COM char * hesiod_to_bind __P((void *, const char *, const char *)); 33*11038SRao.Shoaib@Sun.COM char ** hesiod_resolve __P((void *, const char *, const char *)); 34*11038SRao.Shoaib@Sun.COM void hesiod_free_list __P((void *, char **)); 35*11038SRao.Shoaib@Sun.COM struct __res_state * __hesiod_res_get __P((void *)); 36*11038SRao.Shoaib@Sun.COM void __hesiod_res_set __P((void *, struct __res_state *, 370Sstevel@tonic-gate void (*)(void *))); 380Sstevel@tonic-gate 390Sstevel@tonic-gate #endif /*_HESIOD_H_INCLUDED*/ 40