]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/network.h
libnfs.a: move get_socket() function to utils/mount/network.c
[nfs-utils.git] / utils / mount / network.h
index 83375f052a4be117db0d5dee05560b9e57a16318..0f24a32b7a011c9df7c5a6e8eb9d1ccfaea2e757 100644 (file)
 #include "conn.h"
 #include "mount.h"
 
+#define MNT_SENDBUFSIZE (2048U)
+#define MNT_RECVBUFSIZE (1024U)
+
 int probe_bothports(clnt_addr_t *, clnt_addr_t *);
 int nfs_gethostbyname(const char *, struct sockaddr_in *);
 int nfs_call_umount(clnt_addr_t *, dirpath *);
+int clnt_ping(struct sockaddr_in *, const unsigned long,
+               const unsigned long, const unsigned int,
+               struct sockaddr_in *);
 
 int start_statd(void);
+
+unsigned long nfsvers_to_mnt(const unsigned long);
+
+CLIENT *mnt_openclnt(clnt_addr_t *, int *);
+void mnt_closeclnt(CLIENT *, int);