ctdb-server: Clean up connection tracking functions
[samba4-gss.git] / source3 / utils / net_dns.h
blob508aff9d97add6e411a481dd53b4f3ab5f747a31
1 /*
2 Samba Unix/Linux Dynamic DNS Update
3 net ads commands
5 Copyright (C) Krishna Ganugapati (krishnag@centeris.com) 2006
6 Copyright (C) Gerald Carter 2006
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/>.
22 /* flags for DoDNSUpdate */
24 #define DNS_UPDATE_SIGNED 0x01
25 #define DNS_UPDATE_SIGNED_SUFFICIENT 0x02
26 #define DNS_UPDATE_UNSIGNED 0x04
27 #define DNS_UPDATE_UNSIGNED_SUFFICIENT 0x08
28 #define DNS_UPDATE_PROBE 0x10
29 #define DNS_UPDATE_PROBE_SUFFICIENT 0x20
31 #if defined(HAVE_KRB5)
33 #include "../lib/addns/dns.h"
35 struct cli_credentials;
37 DNS_ERROR DoDNSUpdate(char *pszServerName,
38 const char *pszDomainName,
39 const char *pszHostName,
40 struct cli_credentials *creds,
41 const struct sockaddr_storage *sslist,
42 size_t num_addrs,
43 uint32_t flags,
44 uint32_t ttl,
45 bool remove_host);
47 #endif /* defined(HAVE_KRB5) */