}
/*******************************************************************
- Internal interface to resolve a name into an IP address.
+ Samba interface to resolve a name into an IP address.
Use this function if the string is either an IP address, DNS
or host name or NetBIOS name. This uses the name switch in the
smb.conf to determine the order of name resolution.
resolve_hosts() when looking up DC's via SRV RR entries in DNS
**********************************************************************/
-static NTSTATUS _internal_resolve_name(TALLOC_CTX *ctx,
+NTSTATUS internal_resolve_name(TALLOC_CTX *ctx,
const char *name,
int name_type,
const char *sitename,
return status;
}
+#if 0
/********************************************************
Wrapper function for _internal_resolve_name() that returns
talloc'ed memory.
*return_iplist = iplist;
return NT_STATUS_OK;
}
+#endif
/********************************************************
Internal interface to resolve a name into one IP address.