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

Method getConfig

src/yvalve/PluginManager.cpp:1194–1209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192
1193
1194IConfig* PluginManager::getConfig(CheckStatusWrapper* status, const char* filename)
1195{
1196 try
1197 {
1198 IConfig* rc = FB_NEW ConfigAccess(RefPtr<ConfigFile>(
1199 FB_NEW_POOL(*getDefaultMemoryPool()) ConfigFile(*getDefaultMemoryPool(),
1200 filename, ConfigFile::HAS_SUB_CONF)));
1201 rc->addRef();
1202 return rc;
1203 }
1204 catch (const Firebird::Exception& ex)
1205 {
1206 ex.stuffException(status);
1207 }
1208 return NULL;
1209}
1210
1211
1212void PluginManager::shutdown()

Callers 1

findPluginConfigFunction · 0.45

Calls 5

ConfigAccessClass · 0.85
getDefaultMemoryPoolFunction · 0.85
ConfigFileClass · 0.85
addRefMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected