dns_resolve.h 472 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: LGPL-2.1 */
  2. /*
  3. * DNS Resolver upcall management for CIFS DFS
  4. * Handles host name to IP address resolution
  5. *
  6. * Copyright (c) International Business Machines Corp., 2008
  7. * Author(s): Steve French ([email protected])
  8. *
  9. */
  10. #ifndef _DNS_RESOLVE_H
  11. #define _DNS_RESOLVE_H
  12. #ifdef __KERNEL__
  13. extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
  14. #endif /* KERNEL */
  15. #endif /* _DNS_RESOLVE_H */