s3-net: pass down a flags field to DoDNSUpdate().
[Samba.git] / source3 / utils / net_dns.h
blob19bf86683e2aa9f4398a39ee7c200a3d3506a680
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 #if defined(WITH_DNS_UPDATES)
24 #include "../lib/addns/dns.h"
26 DNS_ERROR DoDNSUpdate(char *pszServerName,
27 const char *pszDomainName, const char *pszHostName,
28 const struct sockaddr_storage *sslist,
29 size_t num_addrs,
30 uint32_t flags);
32 DNS_ERROR do_gethostbyname(const char *server, const char *host);
34 #endif /* defined(WITH_DNS_UPDATES) */