ia64/xen-unstable

view tools/xfrd/xdr.h @ 3498:1d24a5b0b338

bitkeeper revision 1.1159.223.25 (41f2cb9aEKMZkZbvqBE0eXhpljlV4Q)

Description: fix path to python
There is no python2 in debian. Instead, use python.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
author iap10@labyrinth.cl.cam.ac.uk
date Sat Jan 22 21:54:34 2005 +0000 (2005-01-22)
parents 0e23f01219c6
children
line source
1 #ifndef _XUTIL_XDR_H_
2 #define _XUTIL_XDR_H_
3 #include "iostream.h"
4 #include "sxpr.h"
6 int pack_type(IOStream *io, unsigned short x);
8 int unpack_type(IOStream *io, unsigned short *x);
10 int pack_bool(IOStream *io, int x);
12 int unpack_bool(IOStream *io, int *x);
14 int pack_uint(IOStream *out, unsigned int x);
16 int unpack_uint(IOStream *in, unsigned int *x);
18 int pack_string(IOStream *out, Sxpr x);
20 int unpack_string(IOStream *in, Sxpr *x);
22 int pack_cons(IOStream *out, Sxpr x);
24 int unpack_cons(IOStream *in, Sxpr *x);
26 int pack_sxpr(IOStream *out, Sxpr x);
28 int unpack_sxpr(IOStream *in, Sxpr *x);
30 #endif /* _XUTIL_XDR_H_ */