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

Method getEntry

examples/dbcrypt/CryptKeyHolder.cpp:244–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242};
243
244IConfigEntry* CryptKeyHolder::getEntry(CheckStatusWrapper* status, const char* entryName)
245{
246 IConfig* def = config->getDefaultConfig(status);
247 if (status->getState() & Firebird::IStatus::STATE_ERRORS)
248 return NULL;
249
250 IConfigEntry* confEntry = def->find(status, entryName);
251 def->release();
252 if (status->getState() & Firebird::IStatus::STATE_ERRORS)
253 return NULL;
254
255 return confEntry;
256}
257
258int CryptKeyHolder::keyCallback(CheckStatusWrapper* status, ICryptKeyCallback* callback)
259{

Callers

nothing calls this directly

Calls 4

getDefaultConfigMethod · 0.45
getStateMethod · 0.45
findMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected