MySQL 8.0.39
Source Code Documentation
xdr_ref.c File Reference

These are the "non-trivial" xdr primitives used to serialize and de-serialize "pointers". More...

#include <libintl.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_reference (XDR *xdrs, caddr_t *pp, u_int size, xdrproc_t proc)
 
bool_t xdr_pointer (XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj)
 

Detailed Description

These are the "non-trivial" xdr primitives used to serialize and de-serialize "pointers".

See xdr.h for more info on the interface to xdr.

Macro Definition Documentation

◆ LASTUNSIGNED

#define LASTUNSIGNED   ((u_int)0 - 1)

Function Documentation

◆ xdr_pointer()

bool_t xdr_pointer ( XDR xdrs,
char **  objpp,
u_int  obj_size,
xdrproc_t  xdr_obj 
)

◆ xdr_reference()

bool_t xdr_reference ( XDR xdrs,
caddr_t pp,
u_int  size,
xdrproc_t  proc 
)