1
/* $Header: /tmp/hpctools/ga/tcgmsg/ipcv4.0/xdrstuff.h,v 1.3 1995-02-24 02:18:08 d3h325 Exp $ */
4
Called automatically at start to allocate the XDR buffers
6
extern void CreateXdrBuf();
10
Call to free the xdr buffers
12
extern void DestroyXdrBuf();
16
int WriteXdrDouble(sock, x, n_double)
20
Write double x[n_double] to the socket translating to XDR representation.
22
Returned is the number of bytes written to the socket.
24
All errors are treated as fatal.
26
extern int WriteXdrDouble();
30
int ReadXdrDouble(sock, x, n_double)
34
Read double x[n_double] from the socket translating from XDR representation.
36
Returned is the number of bytes read from the socket.
38
All errors are treated as fatal.
40
extern int ReadXdrDouble();
44
int WriteXdrLong(sock, x, n_long)
48
Write long x[n_long] to the socket translating to XDR representation.
50
Returned is the number of bytes written to the socket.
52
All errors are treated as fatal.
54
extern int WriteXdrLong();
58
int ReadXdrLong(sock, x, n_long)
62
Read long x[n_long] from the socket translating from XDR representation.
64
Returned is the number of bytes read from the socket.
66
All errors are treated as fatal.
68
extern int ReadXdrLong();