2021-06-18 08:31:49 +03:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1 */
|
2008-01-10 20:10:23 +03:00
|
|
|
/*
|
2021-09-13 22:51:10 +03:00
|
|
|
* DNS Resolver upcall management for CIFS DFS
|
|
|
|
* Handles host name to IP address resolution
|
2008-02-08 02:25:02 +03:00
|
|
|
*
|
2008-01-10 20:10:23 +03:00
|
|
|
* Copyright (c) International Business Machines Corp., 2008
|
|
|
|
* Author(s): Steve French (sfrench@us.ibm.com)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _DNS_RESOLVE_H
|
|
|
|
#define _DNS_RESOLVE_H
|
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
2021-05-18 18:05:50 +03:00
|
|
|
extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
|
2008-01-10 20:10:23 +03:00
|
|
|
#endif /* KERNEL */
|
|
|
|
|
|
|
|
#endif /* _DNS_RESOLVE_H */
|