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

Function xdrinet_create

src/remote/inet.cpp:2472–2491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2470
2471
2472RemoteXdr* xdrinet_create(rem_port* port, UCHAR* buffer, USHORT length, enum xdr_op x_op)
2473{
2474/**************************************
2475 *
2476 * x d r i n e t _ c r e a t e
2477 *
2478 **************************************
2479 *
2480 * Functional description
2481 * Initialize an XDR stream.
2482 *
2483 **************************************/
2484
2485 RemoteXdr* xdrs = FB_NEW InetXdr;
2486
2487 xdrs->x_public = port;
2488 xdrs->create(reinterpret_cast<SCHAR*>(buffer), length, x_op);
2489
2490 return xdrs;
2491}
2492
2493#ifdef HAVE_SETITIMER
2494static void alarm_handler( int x)

Callers 1

alloc_portFunction · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected