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

Function xdrxnet_create

src/remote/os/win32/xnet.cpp:1697–1717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1695
1696
1697static RemoteXdr* xdrxnet_create(rem_port* port, UCHAR* buffer, USHORT length, xdr_op x_op)
1698{
1699/**************************************
1700 *
1701 * x d r x n e t _ c r e a t e
1702 *
1703 **************************************
1704 *
1705 * Functional description
1706 * Initialize an XDR stream.
1707 *
1708 **************************************/
1709
1710 RemoteXdr* xdrs = FB_NEW XnetXdr;
1711
1712 xdrs->x_public = port;
1713 xdrs->x_local = true;
1714 xdrs->create(reinterpret_cast<SCHAR*>(buffer), length, x_op);
1715
1716 return xdrs;
1717}
1718
1719
1720static void xnet_gen_error (rem_port* port, const Arg::StatusVector& v)

Callers 1

alloc_portFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected