Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/xdr/xdr.c
| Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | xdr_free(xdrproc_t proc, void *objp) | ||||
| x.x_op = XDR_FREE; | x.x_op = XDR_FREE; | ||||
| (*proc)(&x, objp); | (*proc)(&x, objp); | ||||
| } | } | ||||
| /* | /* | ||||
| * XDR nothing | * XDR nothing | ||||
| */ | */ | ||||
| bool_t | bool_t | ||||
| xdr_void(void) | xdr_void(XDR *xdrs __unused, void *ptr __unused) | ||||
| { | { | ||||
| return (TRUE); | return (TRUE); | ||||
| } | } | ||||
| /* | /* | ||||
| * XDR integers | * XDR integers | ||||
| */ | */ | ||||
| bool_t | bool_t | ||||
| xdr_int(XDR *xdrs, int *ip) | xdr_int(XDR *xdrs, int *ip) | ||||
| { | { | ||||
| long l; | long l; | ||||
| ▲ Show 20 Lines • Show All 822 Lines • Show Last 20 Lines | |||||