Sorry, it was late and I was tired.
[dyninst.git] / common / src / bsdKludges.C
1
2 #include "util/h/headers.h"
3
4 typedef int (*intKludge)();
5
6 void   P_xdr_destroy(XDR *x) { XDR_DESTROY(x);}
7 void P_xdrrec_create(XDR *x, const u_int send_sz, const u_int rec_sz,
8                      const caddr_t handle, 
9                      xdr_rd_func read_r, xdr_wr_func write_f) {
10   xdrrec_create(x, send_sz, rec_sz, handle, (intKludge) read_r,
11                 (intKludge) write_f);} 
12 bool_t P_xdrrec_endofrecord(XDR *x, int now) {
13   return (xdrrec_endofrecord(x, now));}
14 bool_t P_xdrrec_skiprecord(XDR *x) { return (xdrrec_skiprecord(x));}