]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/sunrpc/xdr.h
SUNRPC: New xdr_streams XDR decoder API
[karo-tx-linux.git] / include / linux / sunrpc / xdr.h
index a21cf5378c1d5e08bc087f9ac816907046b87a7f..9a21e8102c429ad5960f21f724ada2fd12667945 100644 (file)
@@ -204,9 +204,10 @@ struct xdr_stream {
 };
 
 /*
- * This is the xdr_stream style generic XDR function.
+ * These are the xdr_stream style generic XDR encode and decode functions.
  */
 typedef void   (*kxdreproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj);
+typedef int    (*kxdrdproc_t)(void *rqstp, struct xdr_stream *xdr, void *obj);
 
 extern void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p);
 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes);