MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / xdr_response

Function xdr_response

src/remote/protocol.cpp:1378–1388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376}
1377
1378static 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
1390static bool_t xdr_cstring( RemoteXdr* xdrs, CSTRING* cstring)
1391{

Callers

nothing calls this directly

Calls 3

xdr_is_clientFunction · 0.85
xdr_cstring_with_limitFunction · 0.85
xdr_cstringFunction · 0.85

Tested by

no test coverage detected