20 static void swap_int(
void *dstp,
const void *srcp)
22 unsigned char *dst = (
unsigned char *)dstp;
23 const unsigned char *src = (
const unsigned char *)srcp;
35 static void swap_float(
void *dstp,
const void *srcp)
37 unsigned char *dst = (
unsigned char *)dstp;
38 const unsigned char *src = (
const unsigned char *)srcp;
50 static void swap_double(
void *dstp,
const void *srcp)
52 unsigned char *dst = (
unsigned char *)dstp;
53 const unsigned char *src = (
const unsigned char *)srcp;
91 swap_double(dst, src);
96 swap_double(dst, src);
void G_xdr_put_int(void *dst, const int *src)
void G_xdr_put_float(void *dst, const float *src)
void G_xdr_get_double(double *dst, const void *src)
void G_xdr_put_double(void *dst, const double *src)
void G_xdr_get_int(int *dst, const void *src)
void G_xdr_get_float(float *dst, const void *src)