]>
Commit | Line | Data |
---|---|---|
04277e02 | 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. |
5018f16c FW |
2 | This file is part of the GNU C Library. |
3 | ||
4 | The GNU C Library is free software; you can redistribute it and/or | |
5 | modify it under the terms of the GNU Lesser General Public | |
6 | License as published by the Free Software Foundation; either | |
7 | version 2.1 of the License, or (at your option) any later version. | |
8 | ||
9 | The GNU C Library is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
12 | Lesser General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU Lesser General Public | |
15 | License along with the GNU C Library; if not, see | |
16 | <http://www.gnu.org/licenses/>. */ | |
17 | ||
61eb22d3 | 18 | /* |
2f54c82d | 19 | * Copyright (c) 1996,1999 by Internet Software Consortium. |
61eb22d3 UD |
20 | * |
21 | * Permission to use, copy, modify, and distribute this software for any | |
22 | * purpose with or without fee is hereby granted, provided that the above | |
23 | * copyright notice and this permission notice appear in all copies. | |
24 | * | |
25 | * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS | |
26 | * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES | |
27 | * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE | |
28 | * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL | |
29 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR | |
30 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS | |
31 | * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS | |
32 | * SOFTWARE. | |
33 | */ | |
34 | ||
2f54c82d UD |
35 | /* |
36 | * This file is primarily maintained by <tytso@mit.edu> and <ghudson@mit.edu>. | |
37 | */ | |
61eb22d3 | 38 | |
2f54c82d UD |
39 | #ifndef _HESIOD_H_INCLUDED |
40 | #define _HESIOD_H_INCLUDED | |
41 | ||
5018f16c FW |
42 | int hesiod_init (void **context) attribute_hidden; |
43 | void hesiod_end (void *context) attribute_hidden; | |
79937577 | 44 | char * hesiod_to_bind (void *context, const char *name, |
5018f16c | 45 | const char *type) attribute_hidden; |
79937577 | 46 | char ** hesiod_resolve (void *context, const char *name, |
5018f16c FW |
47 | const char *type) attribute_hidden; |
48 | void hesiod_free_list (void *context, char **list) attribute_hidden; | |
2f54c82d UD |
49 | |
50 | #endif /*_HESIOD_H_INCLUDED*/ |