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

Function FB_PLUGIN_ENTRY_POINT

examples/replication/fbSampleReplicator.cpp:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101extern "C"
102{
103 FB_DLL_EXPORT void FB_PLUGIN_ENTRY_POINT(IMaster* m)
104 {
105 master = m;
106 IPluginManager* pm = m->getPluginManager();
107 pm->registerModule(&module);
108 pm->registerPluginFactory(IPluginManager::TYPE_REPLICATOR, "fbSampleReplicator", &factory);
109 }
110}
111
112static std::atomic_int logCounter;

Callers

nothing calls this directly

Calls 3

getPluginManagerMethod · 0.45
registerModuleMethod · 0.45
registerPluginFactoryMethod · 0.45

Tested by

no test coverage detected