MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE isc_send

Function API_ROUTINE isc_send

src/yvalve/why.cpp:3392–3410  ·  view source on GitHub ↗

Get a record from the host program.

Source from the content-addressed store, hash-verified

3390
3391// Get a record from the host program.
3392ISC_STATUS API_ROUTINE isc_send(ISC_STATUS* userStatus, isc_req_handle* reqHandle, USHORT msgType,
3393 USHORT msgLength, const void* msg, SSHORT level)
3394{
3395 StatusVector status(userStatus);
3396 CheckStatusWrapper statusWrapper(&status);
3397
3398 try
3399 {
3400 RefPtr<YRequest> request(translateHandle(requests, reqHandle));
3401 request->send(&statusWrapper, level, msgType,
3402 msgLength, static_cast<const UCHAR*>(msg));
3403 }
3404 catch (const Exception& e)
3405 {
3406 e.stuffException(&statusWrapper);
3407 }
3408
3409 return status[1];
3410}
3411
3412
3413// Attach a service through the first subsystem that recognizes it.

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
sendMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected