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

Method printf

src/jrd/svc.cpp:424–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void Service::printf(bool err, const SCHAR* format, ...)
425{
426 // Errors are returned from services as vectors
427 fb_assert(!err);
428 if (err || usvcDataMode)
429 {
430 return;
431 }
432
433 // Ensure that service is not detached.
434 if (svc_flags & SVC_detached)
435 {
436 return;
437 }
438
439 string buf;
440 va_list arglist;
441 va_start(arglist, format);
442 buf.vprintf(format, arglist);
443 va_end(arglist);
444
445 enqueue(reinterpret_cast<const UCHAR*>(buf.begin()), buf.length());
446}
447
448bool Service::isService()
449{

Callers 15

INET_analyzeFunction · 0.45
INET_connectFunction · 0.45
forkFunction · 0.45
get_peer_infoFunction · 0.45
inet_errorFunction · 0.45
versionInfoMethod · 0.45
setIdleTimeoutMethod · 0.45
setStatementTimeoutMethod · 0.45
setServerInfoMethod · 0.45
XNET_analyzeFunction · 0.45
forkMethod · 0.45
GlobalPortLockMethod · 0.45

Calls 4

vprintfMethod · 0.80
enqueueFunction · 0.70
beginMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected