diff options
Diffstat (limited to 'tools/libxutil/xdr.h')
-rw-r--r-- | tools/libxutil/xdr.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/libxutil/xdr.h b/tools/libxutil/xdr.h new file mode 100644 index 0000000000..cb7d97df95 --- /dev/null +++ b/tools/libxutil/xdr.h @@ -0,0 +1,14 @@ +/* $Id: xdr.h,v 1.2 2003/09/29 13:40:00 mjw Exp $ */ +#ifndef _SP_XDR_H_ +#define _SP_XDR_H_ +#include "iostream.h" +#include "sxpr.h" +int pack_uint(IOStream *out, unsigned int x); +int unpack_uint(IOStream *in, unsigned int *x); +int pack_string(IOStream *out, Sxpr x); +int unpack_string(IOStream *in, Sxpr *x); +int pack_cons(IOStream *out, Sxpr x); +int unpack_cons(IOStream *in, Sxpr *x); +int pack_sxpr(IOStream *out, Sxpr x); +int unpack_sxpr(IOStream *in, Sxpr *x); +#endif /* _SP_XDR_H_ */ |