forked from Imagelibrary/rtems
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/xdr.h: Cosmetics from freebsd.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* librpc/include/rpc/xdr.h: Cosmetics from freebsd.
|
||||
|
||||
2010-05-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* librpc/src/rpc/clnt_udp.c: Cosmetics from freebsd.
|
||||
|
||||
@@ -102,14 +102,14 @@ enum xdr_op {
|
||||
*/
|
||||
typedef struct __rpc_xdr {
|
||||
enum xdr_op x_op; /* operation; fast additional param */
|
||||
struct xdr_ops {
|
||||
const struct xdr_ops {
|
||||
/* get a long from underlying stream */
|
||||
bool_t (*x_getlong)(struct __rpc_xdr *, long *);
|
||||
/* put a long to underlying stream */
|
||||
/* put a long to " */
|
||||
bool_t (*x_putlong)(struct __rpc_xdr *, const long *);
|
||||
/* get some bytes from underlying stream */
|
||||
/* get some bytes from " */
|
||||
bool_t (*x_getbytes)(struct __rpc_xdr *, char *, u_int);
|
||||
/* put some bytes to underlying stream */
|
||||
/* put some bytes to " */
|
||||
bool_t (*x_putbytes)(struct __rpc_xdr *, const char *, u_int);
|
||||
/* returns bytes off from beginning */
|
||||
u_int (*x_getpostn)(struct __rpc_xdr *);
|
||||
|
||||
Reference in New Issue
Block a user