]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/network.h
libnfs.a: move more mount-only functions out of libnfs.a
[nfs-utils.git] / utils / mount / network.h
index 3a2fa7c4475e344255b843a3cee4b9aab140b734..b3a5525792120432e7205fa9c78988fc20c43033 100644 (file)
  */
 
 #include "conn.h"
+#include "mount.h"
+
+#define MNT_SENDBUFSIZE (2048U)
+#define MNT_RECVBUFSIZE (1024U)
 
-int nfs_gethostbyname(const char *, struct sockaddr_in *);
-unsigned short getport(struct sockaddr_in *, unsigned long,
-                       unsigned long, unsigned int);
-int probe_mntport(clnt_addr_t *);
-int probe_nfsport(clnt_addr_t *);
 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 start_statd(void);
+
+unsigned long nfsvers_to_mnt(const unsigned long);
+
+CLIENT *mnt_openclnt(clnt_addr_t *, int *);
+void mnt_closeclnt(CLIENT *, int);