37 using namespace libdap ;
52 xdrstdio_create(xdr, stream, xop);
60 xdrstdio_create(xdr, stream, xop);
94 DBG(cerr <<
"In xdr_str, xdrs: " << xdrs << endl);
98 const char *out_tmp = buf.c_str();
100 return xdr_string(xdrs, (
char **)&out_tmp,
max_str_len);
106 bool_t stat = xdr_string(xdrs, &in_tmp,
max_str_len);
bool_t xdr_str(XDR *xdrs, string &buf)
XDR * set_xdrstdio(XDR *xdr, FILE *stream, enum xdr_op xop)
XDR * new_xdrstdio(FILE *stream, enum xdr_op xop)
Type
Identifies the data type.
const unsigned int max_str_len
void delete_xdrstdio(XDR *xdr)
static xdrproc_t xdr_coder(const Type &t)
Returns a function used to encode elements of an array.