patch-2.3.99-pre4 linux/include/linux/sunrpc/xdr.h
Next file: linux/include/linux/swap.h
Previous file: linux/include/linux/sunrpc/svc.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Apr 10 23:24:04 2000
- Orig file:
v2.3.99-pre3/linux/include/linux/sunrpc/xdr.h
- Orig date:
Sun Feb 20 21:12:40 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/include/linux/sunrpc/xdr.h linux/include/linux/sunrpc/xdr.h
@@ -59,6 +59,7 @@
/*
* Miscellaneous XDR helper functions
*/
+u32 * xdr_encode_array(u32 *p, const char *s, unsigned int len);
u32 * xdr_encode_string(u32 *p, const char *s);
u32 * xdr_decode_string(u32 *p, char **sp, int *lenp, int maxlen);
u32 * xdr_encode_netobj(u32 *p, const struct xdr_netobj *);
@@ -92,6 +93,9 @@
{
return iov->iov_len = ((u8 *) p - (u8 *) iov->iov_base);
}
+
+void xdr_shift_iovec(struct iovec *, int, size_t);
+void xdr_zero_iovec(struct iovec *, int, size_t);
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)