blob: afc0df381246bea7ab231b446c1f855fb24abe87 [file] [log] [blame]
Steve French929be902021-06-18 00:31:49 -05001/* SPDX-License-Identifier: LGPL-2.1 */
Steve French197c1832008-01-10 17:10:23 +00002/*
Steve French099dd782021-09-13 14:51:10 -05003 * DNS Resolver upcall management for CIFS DFS
4 * Handles host name to IP address resolution
Steve Frenchad7a2922008-02-07 23:25:02 +00005 *
Steve French197c1832008-01-10 17:10:23 +00006 * Copyright (c) International Business Machines Corp., 2008
7 * Author(s): Steve French (sfrench@us.ibm.com)
8 *
Steve French197c1832008-01-10 17:10:23 +00009 */
10
11#ifndef _DNS_RESOLVE_H
12#define _DNS_RESOLVE_H
13
14#ifdef __KERNEL__
Shyam Prasad N506c1da2021-05-18 15:05:50 +000015extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
Steve French197c1832008-01-10 17:10:23 +000016#endif /* KERNEL */
17
18#endif /* _DNS_RESOLVE_H */