]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/conn.h
libnfs.a: move clnt_ping() to utils/mount
[nfs-utils.git] / support / include / conn.h
index 11f16ab1be812a95d832ca8a9a743900e97b4b11..ee1b686a440f29d8b68c3bb095cd62e169da16a5 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,13 +28,7 @@ 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,
-             struct sockaddr_in *);
-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, int);
-CLIENT * mnt_openclnt(clnt_addr_t *, int *);
-void mnt_closeclnt(CLIENT *, int);
 
 #endif /* _CONN_H */