Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
dns_resolver.h
Go to the documentation of this file.
1
/*
2
* DNS Resolver upcall management for CIFS DFS and AFS
3
* Handles host name to IP address resolution and DNS query for AFSDB RR.
4
*
5
* Copyright (c) International Business Machines Corp., 2008
6
* Author(s): Steve French (
[email protected]
)
7
* Wang Lei (
[email protected]
)
8
*
9
* This library is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU Lesser General Public License as published
11
* by the Free Software Foundation; either version 2.1 of the License, or
12
* (at your option) any later version.
13
*
14
* This library is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
17
* the GNU Lesser General Public License for more details.
18
*
19
* You should have received a copy of the GNU Lesser General Public License
20
* along with this library; if not, write to the Free Software
21
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
*/
23
24
#ifndef _LINUX_DNS_RESOLVER_H
25
#define _LINUX_DNS_RESOLVER_H
26
27
#ifdef __KERNEL__
28
29
extern
int
dns_query
(
const
char
*
type
,
const
char
*
name
,
size_t
namelen
,
30
const
char
*
options
,
char
**_result,
time_t
*_expiry);
31
32
#endif
/* KERNEL */
33
34
#endif
/* _LINUX_DNS_RESOLVER_H */
Generated on Thu Jan 10 2013 14:51:20 for Linux Kernel by
1.8.2