diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-07-28 17:50:55 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-07-30 16:12:54 +1000 |
commit | a786c016f0af6fa116ae2483d6261dbed009d87e (patch) | |
tree | e26233c2b3e9d8c96ee6941b478c6c39774722e5 /support/include/conn.h | |
parent | 612141ad76b47cb3d7ae505795d6a1ca45b77201 (diff) | |
download | nfs-utils-a786c016f0af6fa116ae2483d6261dbed009d87e.tar.gz nfs-utils-a786c016f0af6fa116ae2483d6261dbed009d87e.tar.xz nfs-utils-a786c016f0af6fa116ae2483d6261dbed009d87e.zip |
libnfs.a: eliminate conn.c and conn.h
conn.[ch] are now no longer needed. Clean them out and delete them.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/include/conn.h')
-rw-r--r-- | support/include/conn.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/support/include/conn.h b/support/include/conn.h deleted file mode 100644 index 2b1f07d..0000000 --- a/support/include/conn.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * conn.h -- Connection routines for NFS mount / umount code. - * - * 2006-06-06 Amit Gud <agud@redhat.com> - * - Moved code snippets here from util-linux/mount - */ - -#ifndef _CONN_H -#define _CONN_H - -#ifdef HAVE_RPCSVC_NFS_PROT_H -#include <rpcsvc/nfs_prot.h> -#else -#include <linux/nfs.h> -#define nfsstat nfs_stat -#endif - -#include <rpc/pmap_prot.h> -#include <rpc/clnt.h> - -typedef struct { - char **hostname; - struct sockaddr_in saddr; - struct pmap pmap; -} clnt_addr_t; - -/* RPC call timeout values */ -static const struct timeval TIMEOUT = { 20, 0 }; -static const struct timeval RETRY_TIMEOUT = { 3, 0 }; - -#endif /* _CONN_H */ - |