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

Method getPlugins

src/yvalve/PluginManager.cpp:1152–1169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1150}
1151
1152IPluginSet* PluginManager::getPlugins(CheckStatusWrapper* status, unsigned int interfaceType,
1153 const char* namesList, IFirebirdConf* firebirdConf)
1154{
1155 try
1156 {
1157 static InitMutex<BuiltinRegister> registerBuiltinPlugins("RegisterBuiltinPlugins");
1158 registerBuiltinPlugins.init();
1159
1160 IPluginSet* rc = FB_NEW PluginSet(interfaceType, namesList, firebirdConf);
1161 rc->addRef();
1162 return rc;
1163 }
1164 catch (const Exception& ex)
1165 {
1166 ex.stuffException(status);
1167 return NULL;
1168 }
1169}
1170
1171
1172void PluginManager::releasePlugin(IPluginBase* plugin)

Callers

nothing calls this directly

Calls 4

PluginSetClass · 0.85
initMethod · 0.45
addRefMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected