2 Unix SMB/CIFS implementation.
4 bind9 dlz driver for Samba
6 Copyright (C) 2010 Andrew Tridgell
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 provide the minimal set of prototypes and defines for bind9 interop
24 The aim is to not require the bind9 source when building the
27 typedef unsigned int isc_result_t;
28 typedef uint32_t dns_ttl_t;
30 #define DLZ_DLOPEN_VERSION 1
33 #define ISC_R_SUCCESS 0
34 #define ISC_R_NOMEMORY 1
35 #define ISC_R_NOTFOUND 23
36 #define ISC_R_FAILURE 25
39 #define ISC_LOG_INFO (-1)
40 #define ISC_LOG_NOTICE (-2)
41 #define ISC_LOG_WARNING (-3)
42 #define ISC_LOG_ERROR (-4)
43 #define ISC_LOG_CRITICAL (-5)
45 /* a couple of opaque structures */
46 struct dns_sdlzlookup;
47 typedef struct dns_sdlzlookup dns_sdlzlookup_t;
48 struct dns_sdlzallnodes;
49 typedef struct dns_sdlzallnodes dns_sdlzallnodes_t;