]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/conn.h
mount.nfs: use nfs_error instead of fprintf in get_socket()
[nfs-utils.git] / support / include / conn.h
index ae19a3e4912fea0ff377fb228d320860e79a2ea7..2b1f07d5b922c242b2cf7877b53bccb870173d9b 100644 (file)
@@ -18,9 +18,6 @@
 #include <rpc/pmap_prot.h>
 #include <rpc/clnt.h>
 
-#define MNT_SENDBUFSIZE ((u_int)2048)
-#define MNT_RECVBUFSIZE ((u_int)1024)
-
 typedef struct {
        char **hostname;
        struct sockaddr_in saddr;
@@ -31,12 +28,5 @@ typedef struct {
 static const struct timeval TIMEOUT = { 20, 0 };
 static const struct timeval RETRY_TIMEOUT = { 3, 0 };
 
-int clnt_ping(struct sockaddr_in *, const u_long, const u_long, const u_int);
-u_long nfsvers_to_mnt(const u_long);
-u_long mntvers_to_nfs(const u_long);
-int get_socket(struct sockaddr_in *, u_int, int);
-CLIENT * mnt_openclnt(clnt_addr_t *, int *);
-void mnt_closeclnt(CLIENT *, int);
-
 #endif /* _CONN_H */