MySQL 9.1.0
Source Code Documentation
xdr_array.c File Reference

Generic XDR routines implementation. More...

#include <libintl.h>
#include <limits.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <stdio.h>
#include <string.h>

Macros

#define LASTUNSIGNED   ((u_int)0 - 1)
 

Functions

bool_t xdr_array (XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc)
 
bool_t xdr_vector (XDR *xdrs, char *basep, u_int nelem, u_int elemsize, xdrproc_t xdr_elem)
 

Detailed Description

Generic XDR routines implementation.

These are the "non-trivial" xdr primitives used to serialize and de-serialize arrays. See xdr.h for more info on the interface to xdr.

Macro Definition Documentation

◆ LASTUNSIGNED

#define LASTUNSIGNED   ((u_int)0 - 1)

Function Documentation

◆ xdr_array()

bool_t xdr_array ( XDR xdrs,
caddr_t addrp,
u_int sizep,
u_int  maxsize,
u_int  elsize,
xdrproc_t  elproc 
)

◆ xdr_vector()

bool_t xdr_vector ( XDR xdrs,
char *  basep,
u_int  nelem,
u_int  elemsize,
xdrproc_t  xdr_elem 
)