summaryrefslogtreecommitdiff
path: root/source4/dns_server/dns_update.h
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-12-16 14:25:57 +0100
committerKai Blin <kai@samba.org>2011-12-17 04:19:40 +0100
commitb1fdf4065e4569e58ffceb44e9f4105fa1f8740e (patch)
tree22581427e87316d00b3377fed09c6dd296cedaec /source4/dns_server/dns_update.h
parentafa98bdc51c635cb7d7cc8c63497598e522610fd (diff)
downloadsamba-b1fdf4065e4569e58ffceb44e9f4105fa1f8740e.tar.gz
samba-b1fdf4065e4569e58ffceb44e9f4105fa1f8740e.tar.bz2
samba-b1fdf4065e4569e58ffceb44e9f4105fa1f8740e.zip
s4 dns: Allow updates based on smb.conf setting
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Dec 17 04:19:40 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/dns_server/dns_update.h')
-rw-r--r--source4/dns_server/dns_update.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/source4/dns_server/dns_update.h b/source4/dns_server/dns_update.h
new file mode 100644
index 0000000000..71ff85eda1
--- /dev/null
+++ b/source4/dns_server/dns_update.h
@@ -0,0 +1,25 @@
+/*
+ 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
+};