summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-08-03 17:59:17 +0200
committerChristian Ambach <ambi@samba.org>2012-08-06 18:07:52 +0200
commit18c152f8aa5ab7b5463fa1f6daf72fbbe32eaddb (patch)
tree336fbe8e2b7fab78c267963875702b7134c10ef4 /source4/dns_server
parentefe28b124770eaa66e39b1e9c717358d53547bd5 (diff)
downloadsamba-18c152f8aa5ab7b5463fa1f6daf72fbbe32eaddb.tar.gz
samba-18c152f8aa5ab7b5463fa1f6daf72fbbe32eaddb.tar.bz2
samba-18c152f8aa5ab7b5463fa1f6daf72fbbe32eaddb.zip
lib/param: move enum dns_update_settings to lib/param
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/dns_update.c2
-rw-r--r--source4/dns_server/dns_update.h25
2 files changed, 1 insertions, 26 deletions
diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c
index a09818d70a..e7514acace 100644
--- a/source4/dns_server/dns_update.c
+++ b/source4/dns_server/dns_update.c
@@ -26,11 +26,11 @@
#include "librpc/gen_ndr/ndr_dnsp.h"
#include <ldb.h>
#include "param/param.h"
+#include "param/loadparm.h"
#include "dsdb/samdb/samdb.h"
#include "dsdb/common/util.h"
#include "smbd/service_task.h"
#include "dns_server/dns_server.h"
-#include "dns_server/dns_update.h"
static WERROR dns_rr_to_dnsp(TALLOC_CTX *mem_ctx,
const struct dns_res_rec *rrec,
diff --git a/source4/dns_server/dns_update.h b/source4/dns_server/dns_update.h
deleted file mode 100644
index 71ff85eda1..0000000000
--- a/source4/dns_server/dns_update.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
-
- DNS update settings
-
- Copyright (C) 2011 Kai Blin <kai@samba.org>
-
- 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/>.
-*/
-enum dns_update_settings {
- DNS_UPDATE_OFF=0,
- DNS_UPDATE_ON=1,
- DNS_UPDATE_SIGNED=2
-};