X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Flibnfs-private.h;h=8fb305f0ee8860c9ee2bfae6ad015d31588e6cdd;hb=fc01d2a96189edc0c08fb1d757f83c63077b0516;hp=b7399acaab42ce45d6e20dc2d75e005b2d714405;hpb=1896d37bfaae78bfa0e6ee3e3fb19b0a92bb1adb;p=deb_libnfs.git diff --git a/include/libnfs-private.h b/include/libnfs-private.h index b7399ac..8fb305f 100644 --- a/include/libnfs-private.h +++ b/include/libnfs-private.h @@ -35,8 +35,8 @@ struct rpc_context { struct rpc_pdu *outqueue; struct rpc_pdu *waitpdu; - int insize; int inpos; + int insize; char *inbuf; }; @@ -68,4 +68,5 @@ void rpc_error_all_pdus(struct rpc_context *rpc, char *error); void rpc_set_error(struct rpc_context *rpc, char *error_string, ...); void nfs_set_error(struct nfs_context *nfs, char *error_string, ...); +struct rpc_context *nfs_get_rpc_context(struct nfs_context *nfs);