diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/fs/nfs/dns_resolve.h | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/fs/nfs/dns_resolve.h')
-rw-r--r-- | ANDROID_3.4.5/fs/nfs/dns_resolve.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/ANDROID_3.4.5/fs/nfs/dns_resolve.h b/ANDROID_3.4.5/fs/nfs/dns_resolve.h deleted file mode 100644 index 2e4f596d..00000000 --- a/ANDROID_3.4.5/fs/nfs/dns_resolve.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Resolve DNS hostnames into valid ip addresses - */ -#ifndef __LINUX_FS_NFS_DNS_RESOLVE_H -#define __LINUX_FS_NFS_DNS_RESOLVE_H - -#define NFS_DNS_HOSTNAME_MAXLEN (128) - - -#ifdef CONFIG_NFS_USE_KERNEL_DNS -static inline int nfs_dns_resolver_init(void) -{ - return 0; -} - -static inline void nfs_dns_resolver_destroy(void) -{} - -static inline int nfs_dns_resolver_cache_init(struct net *net) -{ - return 0; -} - -static inline void nfs_dns_resolver_cache_destroy(struct net *net) -{} -#else -extern int nfs_dns_resolver_init(void); -extern void nfs_dns_resolver_destroy(void); -extern int nfs_dns_resolver_cache_init(struct net *net); -extern void nfs_dns_resolver_cache_destroy(struct net *net); -#endif - -extern ssize_t nfs_dns_resolve_name(struct net *net, char *name, - size_t namelen, struct sockaddr *sa, size_t salen); - -#endif |