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

Function findInPluginsConf

src/yvalve/PluginManager.cpp:102–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 InitInstance<StaticConfHolder> pluginsConf;
101
102 RefPtr<ConfigFile> findInPluginsConf(const char* param, const char* pluginName)
103 {
104 ConfigFile* f = pluginsConf().get();
105 if (f)
106 {
107 const ConfigFile::Parameter* plugPar = f->findParameter(param, pluginName);
108 if (plugPar && plugPar->sub.hasData())
109 {
110 return plugPar->sub;
111 }
112 }
113
114 return RefPtr<ConfigFile>(NULL);
115 }
116
117 bool flShutdown = false;
118

Callers 3

findPluginConfigFunction · 0.85
PluginLoadInfoMethod · 0.85
registerPluginFactoryMethod · 0.85

Calls 3

findParameterMethod · 0.80
getMethod · 0.45
hasDataMethod · 0.45

Tested by

no test coverage detected