X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibnfs.c;h=c7c9f48285a9f64ade49f9fdd0997d7c16f810ad;hb=b14062764e21e3f03b5d0176f0ac6c127e760012;hp=86ff7c22d8e33a0d1c50a5e2ad057983fb3ec791;hpb=fa3c25beeeb4c533089a2af8454ef50e21e7b8f5;p=deb_libnfs.git diff --git a/lib/libnfs.c b/lib/libnfs.c index 86ff7c2..c7c9f48 100644 --- a/lib/libnfs.c +++ b/lib/libnfs.c @@ -37,6 +37,8 @@ #include #include #include +#include +#include "libnfs-zdr.h" #include "libnfs.h" #include "libnfs-raw.h" #include "libnfs-raw-mount.h" @@ -111,7 +113,7 @@ struct nfs_mcb_data { static int nfs_lookup_path_async_internal(struct nfs_context *nfs, struct nfs_cb_data *data, struct nfs_fh3 *fh); -void nfs_set_auth(struct nfs_context *nfs, AUTH *auth) +void nfs_set_auth(struct nfs_context *nfs, struct AUTH *auth) { rpc_set_auth(nfs->rpc, auth); } @@ -3341,7 +3343,7 @@ uint64_t nfs_get_readmax(struct nfs_context *nfs) */ uint64_t nfs_get_writemax(struct nfs_context *nfs) { - /* Some XDR libraries can not marshall PDUs bigger than this */ + /* Some ZDR libraries can not marshall PDUs bigger than this */ if (nfs->writemax < 32768) { return nfs->writemax; }