X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=support%2Finclude%2Fconn.h;h=ee1b686a440f29d8b68c3bb095cd62e169da16a5;hb=56a4a153c8559efe6e090e99eaf190d530299de2;hp=11f16ab1be812a95d832ca8a9a743900e97b4b11;hpb=7f9343a38c031d9cc61a6bc7e06df519b16d1293;p=nfs-utils.git diff --git a/support/include/conn.h b/support/include/conn.h index 11f16ab..ee1b686 100644 --- a/support/include/conn.h +++ b/support/include/conn.h @@ -18,9 +18,6 @@ #include #include -#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 */