2021-06-18 13:31:49 +08:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1 */
|
2008-01-11 01:10:23 +08:00
|
|
|
/*
|
|
|
|
* fs/cifs/dns_resolve.h -- DNS Resolver upcall management for CIFS DFS
|
|
|
|
* Handles host name to IP address resolution
|
2008-02-08 07:25:02 +08:00
|
|
|
*
|
2008-01-11 01:10:23 +08: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 23:05:50 +08:00
|
|
|
extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
|
2008-01-11 01:10:23 +08:00
|
|
|
#endif /* KERNEL */
|
|
|
|
|
|
|
|
#endif /* _DNS_RESOLVE_H */
|