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