1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * fs/cifs/dns_resolve.h -- DNS Resolver upcall management for CIFS DFS 3*4882a593Smuzhiyun * Handles host name to IP address resolution 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Copyright (c) International Business Machines Corp., 2008 6*4882a593Smuzhiyun * Author(s): Steve French (sfrench@us.ibm.com) 7*4882a593Smuzhiyun * 8*4882a593Smuzhiyun * This library is free software; you can redistribute it and/or modify 9*4882a593Smuzhiyun * it under the terms of the GNU Lesser General Public License as published 10*4882a593Smuzhiyun * by the Free Software Foundation; either version 2.1 of the License, or 11*4882a593Smuzhiyun * (at your option) any later version. 12*4882a593Smuzhiyun * 13*4882a593Smuzhiyun * This library is distributed in the hope that it will be useful, 14*4882a593Smuzhiyun * but WITHOUT ANY WARRANTY; without even the implied warranty of 15*4882a593Smuzhiyun * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 16*4882a593Smuzhiyun * the GNU Lesser General Public License for more details. 17*4882a593Smuzhiyun * 18*4882a593Smuzhiyun * You should have received a copy of the GNU Lesser General Public License 19*4882a593Smuzhiyun * along with this library; if not, write to the Free Software 20*4882a593Smuzhiyun * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21*4882a593Smuzhiyun */ 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun #ifndef _DNS_RESOLVE_H 24*4882a593Smuzhiyun #define _DNS_RESOLVE_H 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun #ifdef __KERNEL__ 27*4882a593Smuzhiyun extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr); 28*4882a593Smuzhiyun #endif /* KERNEL */ 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun #endif /* _DNS_RESOLVE_H */ 31