[SCSI] hpsa: sanitize max commands
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / fs / nfs / dns_resolve.h
bloba3f0938babf7685360fcb43bf84e29c8fcfc8e5b
1 /*
2 * Resolve DNS hostnames into valid ip addresses
3 */
4 #ifndef __LINUX_FS_NFS_DNS_RESOLVE_H
5 #define __LINUX_FS_NFS_DNS_RESOLVE_H
7 #define NFS_DNS_HOSTNAME_MAXLEN (128)
9 extern int nfs_dns_resolver_init(void);
10 extern void nfs_dns_resolver_destroy(void);
11 extern ssize_t nfs_dns_resolve_name(char *name, size_t namelen,
12 struct sockaddr *sa, size_t salen);
14 #endif