dns_resolve.h 522 Bytes
Newer Older
1
/* SPDX-License-Identifier: LGPL-2.1 */
2
3
4
/*
 *   fs/cifs/dns_resolve.h -- DNS Resolver upcall management for CIFS DFS
 *                            Handles host name to IP address resolution
5
 *
6
7
8
9
10
11
12
13
14
 *   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__
15
extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
16
17
18
#endif /* KERNEL */

#endif /* _DNS_RESOLVE_H */