Read the max read/write sizes supported when connecting to NFS
[deb_libnfs.git] / include / libnfs.h
index 2debb8b7660e9a6130e1b50bd920c47a9081e478..8defc101acf3a7f6a676e2508cfac27cdcc3aa09 100644 (file)
@@ -67,6 +67,16 @@ void nfs_destroy_context(struct nfs_context *nfs);
 
 struct nfsfh;
 
+/*
+ * Get the maximum supported READ3 size by the server
+ */
+size_t nfs_get_readmax(struct nfs_context *nfs);
+
+/*
+ * Get the maximum supported WRITE3 size by the server
+ */
+size_t nfs_get_writemax(struct nfs_context *nfs);
+
 
 /*
  * MOUNT THE EXPORT