summaryrefslogtreecommitdiff
path: root/source4/dns_server/dlz_bind9.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-15 15:02:09 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-15 21:48:15 +1100
commit74f8c9ccf854ab7853ff18a605737acf85541a73 (patch)
treec902103b41d0f5cfbd74b788143676794b0e68b6 /source4/dns_server/dlz_bind9.h
parent6f6aa5f775baae6c921ceb5b9ac4fb0bc790f697 (diff)
downloadsamba-74f8c9ccf854ab7853ff18a605737acf85541a73.tar.gz
samba-74f8c9ccf854ab7853ff18a605737acf85541a73.tar.bz2
samba-74f8c9ccf854ab7853ff18a605737acf85541a73.zip
s4-dns: added basic DLZ writeable support to dlz_bind9
this implements the expanded DLZ update driver API, allowing for bind9 to send dynamic updates to the Samba DLZ driver. This change also adds support for exporting all DNS zones in the SAM database, which also means we now correctly separate the _msdcs zone from the main zone.
Diffstat (limited to 'source4/dns_server/dlz_bind9.h')
-rw-r--r--source4/dns_server/dlz_bind9.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/source4/dns_server/dlz_bind9.h b/source4/dns_server/dlz_bind9.h
deleted file mode 100644
index 34f9605b12..0000000000
--- a/source4/dns_server/dlz_bind9.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
-
- bind9 dlz driver for Samba
-
- Copyright (C) 2010 Andrew Tridgell
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- provide the minimal set of prototypes and defines for bind9 interop
- The aim is to not require the bind9 source when building the
- dlz_bind9 module
- */
-typedef unsigned int isc_result_t;
-typedef uint32_t dns_ttl_t;
-
-#define DLZ_DLOPEN_VERSION 1
-
-/* return this in flags to dlz_version() if thread safe */
-#define DNS_SDLZFLAG_THREADSAFE 0x00000001U
-
-/* result codes */
-#define ISC_R_SUCCESS 0
-#define ISC_R_NOMEMORY 1
-#define ISC_R_NOTFOUND 23
-#define ISC_R_FAILURE 25
-
-/* log levels */
-#define ISC_LOG_INFO (-1)
-#define ISC_LOG_NOTICE (-2)
-#define ISC_LOG_WARNING (-3)
-#define ISC_LOG_ERROR (-4)
-#define ISC_LOG_CRITICAL (-5)
-
-/* a couple of opaque structures */
-struct dns_sdlzlookup;
-typedef struct dns_sdlzlookup dns_sdlzlookup_t;
-struct dns_sdlzallnodes;
-typedef struct dns_sdlzallnodes dns_sdlzallnodes_t;