1 | /* Copyright (C) 1997-2023 Free Software Foundation, Inc. |
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 | <https://www.gnu.org/licenses/>. */ |
17 | |
18 | /* |
19 | * Copyright (c) 1996,1999 by Internet Software Consortium. |
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 | |
35 | /* |
36 | * This file is primarily maintained by <tytso@mit.edu> and <ghudson@mit.edu>. |
37 | */ |
38 | |
39 | #ifndef _HESIOD_H_INCLUDED |
40 | #define _HESIOD_H_INCLUDED |
41 | |
42 | int hesiod_init (void **context) attribute_hidden; |
43 | void hesiod_end (void *context) attribute_hidden; |
44 | char * hesiod_to_bind (void *context, const char *name, |
45 | const char *type) attribute_hidden; |
46 | char ** hesiod_resolve (void *context, const char *name, |
47 | const char *type) attribute_hidden; |
48 | void hesiod_free_list (void *context, char **list) attribute_hidden; |
49 | |
50 | #endif /*_HESIOD_H_INCLUDED*/ |
51 | |