Merge pull request #19 from Memphiz/auth2
[deb_libnfs.git] / include / libnfs.h
index 3ff49d73b0f8604052efa5dc7f7dabb3e1b2133c..9758a7814619c35ab44612871c1f249e493aa628 100644 (file)
@@ -18,6 +18,8 @@
  * This is the highlevel interface to access NFS resources using a posix-like interface
  */
 #include <stdint.h>
+#include <rpc/rpc.h>
+#include <rpc/auth.h>
 
 struct nfs_context;
 struct rpc_context;
@@ -62,8 +64,7 @@ EXTERN int nfs_queue_length(struct nfs_context *nfs);
 /*
  * Used if you need different credentials than the default for the current user.
  */
-struct AUTH;
-EXTERN void nfs_set_auth(struct nfs_context *nfs, struct AUTH *auth);
+EXTERN void nfs_set_auth(struct nfs_context *nfs, AUTH *auth);
 
 
 /*