49XDR *new_xdrstdio(FILE *stream,
enum xdr_op xop) {
52 xdrstdio_create(xdr, stream, xop);
57XDR *set_xdrstdio(XDR *xdr, FILE *stream,
enum xdr_op xop) {
58 xdrstdio_create(xdr, stream, xop);
66void delete_xdrstdio(XDR *xdr) {
88extern "C" bool_t xdr_str(XDR *xdrs,
string &buf) {
89 DBG(cerr <<
"In xdr_str, xdrs: " << xdrs << endl);
93 const char *out_tmp = buf.c_str();
95 return xdr_string(xdrs, (
char **)&out_tmp, max_str_len);
101 bool_t stat = xdr_string(xdrs, &in_tmp, max_str_len);
140 return (xdrproc_t)XDR_INT16;
142 return (xdrproc_t)XDR_UINT16;
144 return (xdrproc_t)XDR_INT32;
146 return (xdrproc_t)XDR_UINT32;
148 return (xdrproc_t)XDR_FLOAT32;
150 return (xdrproc_t)XDR_FLOAT64;
155 case dods_structure_c:
156 case dods_sequence_c:
static xdrproc_t xdr_coder(const Type &t)
Returns a function used to encode elements of an array.
top level DAP object to house generic methods
Type
Identifies the data type.