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

Method getNonLoopbackProviders

src/common/classes/ParsedList.cpp:97–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97PathName ParsedList::getNonLoopbackProviders(const PathName& aliasDb)
98{
99 PathName dummy;
100 RefPtr<const Config> config;
101 expandDatabaseName(aliasDb, dummy, &config);
102
103 PathName providers(config->getPlugins(IPluginManager::TYPE_PROVIDER));
104 ParsedList list(providers);
105 for (unsigned n = 0; n < list.getCount();)
106 {
107 if (list[n] == "Loopback")
108 list.remove(n);
109 else
110 ++n;
111 }
112 list.makeList(providers);
113 providers.insert(0, "Providers=");
114
115 return providers;
116}

Callers

nothing calls this directly

Calls 6

expandDatabaseNameFunction · 0.85
makeListMethod · 0.80
getPluginsMethod · 0.45
getCountMethod · 0.45
removeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected