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

Function GETLONG

src/common/xdr.cpp:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74#define PUTBYTES xdrs->x_putbytes
75
76inline bool_t GETLONG(xdr_t* xdrs, SLONG* lp)
77{
78 SLONG l;
79
80 if (!xdrs->x_getbytes(reinterpret_cast<char*>(&l), 4))
81 return FALSE;
82
83 *lp = xdrs->x_local ? l : ntohl(l);
84
85 return TRUE;
86}
87
88inline bool_t PUTLONG(xdr_t* xdrs, const SLONG* lp)
89{

Callers 13

xdr_hyperFunction · 0.85
xdr_doubleFunction · 0.85
xdr_decfloat_hyperFunction · 0.85
xdr_enumFunction · 0.85
xdr_floatFunction · 0.85
xdr_intFunction · 0.85
xdr_longFunction · 0.85
xdr_quadFunction · 0.85
xdr_shortFunction · 0.85
xdr_stringFunction · 0.85
xdr_u_intFunction · 0.85
xdr_u_longFunction · 0.85

Calls 1

x_getbytesMethod · 0.45

Tested by

no test coverage detected