Steve French | 929be90 | 2021-06-18 00:31:49 -0500 | [diff] [blame] | 1 | /* SPDX-License-Identifier: LGPL-2.1 */ |
Steve French | 197c183 | 2008-01-10 17:10:23 +0000 | [diff] [blame] | 2 | /* |
Steve French | 099dd78 | 2021-09-13 14:51:10 -0500 | [diff] [blame] | 3 | * DNS Resolver upcall management for CIFS DFS |
| 4 | * Handles host name to IP address resolution |
Steve French | ad7a292 | 2008-02-07 23:25:02 +0000 | [diff] [blame] | 5 | * |
Steve French | 197c183 | 2008-01-10 17:10:23 +0000 | [diff] [blame] | 6 | * Copyright (c) International Business Machines Corp., 2008 |
| 7 | * Author(s): Steve French (sfrench@us.ibm.com) |
| 8 | * |
Steve French | 197c183 | 2008-01-10 17:10:23 +0000 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef _DNS_RESOLVE_H |
| 12 | #define _DNS_RESOLVE_H |
| 13 | |
| 14 | #ifdef __KERNEL__ |
Shyam Prasad N | 506c1da | 2021-05-18 15:05:50 +0000 | [diff] [blame] | 15 | extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry); |
Steve French | 197c183 | 2008-01-10 17:10:23 +0000 | [diff] [blame] | 16 | #endif /* KERNEL */ |
| 17 | |
| 18 | #endif /* _DNS_RESOLVE_H */ |