| 1376 | } |
| 1377 | |
| 1378 | static inline bool_t xdr_response(RemoteXdr* xdrs, CSTRING* cstring) |
| 1379 | { |
| 1380 | if (xdr_is_client(xdrs) && xdrs->x_op == XDR_DECODE && cstring->cstr_allocated) |
| 1381 | { |
| 1382 | ULONG limit = cstring->cstr_allocated; |
| 1383 | cstring->cstr_allocated = 0; |
| 1384 | return xdr_cstring_with_limit(xdrs, cstring, limit); |
| 1385 | } |
| 1386 | |
| 1387 | return xdr_cstring(xdrs, cstring); |
| 1388 | } |
| 1389 | |
| 1390 | static bool_t xdr_cstring( RemoteXdr* xdrs, CSTRING* cstring) |
| 1391 | { |
nothing calls this directly
no test coverage detected