Implement 'rejected_reply' and switch to RFC5531 definitions
[deb_libnfs.git] / include / libnfs.h
index 8621676d3d8ef8e93b10bca70fd4295ecab34112..ab2b583dea940a5e12b46ab14840c2bd9b040c9b 100644 (file)
@@ -18,8 +18,6 @@
  * 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;
@@ -64,7 +62,8 @@ EXTERN int nfs_queue_length(struct nfs_context *nfs);
 /*
  * Used if you need different credentials than the default for the current user.
  */
-EXTERN void nfs_set_auth(struct nfs_context *nfs, AUTH *auth);
+struct AUTH;
+EXTERN void nfs_set_auth(struct nfs_context *nfs, struct AUTH *auth);
 
 
 /*