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

Method load

src/remote/server/server.cpp:7467–7495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7465}
7466
7467void SrvAuthBlock::load(ClumpletReader& id)
7468{
7469 if (id.find(CNCT_login))
7470 {
7471 id.getString(userName);
7472 fb_utils::dpbItemUpper(userName);
7473 HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: login %s\n", userName.c_str()));
7474 }
7475
7476 if (id.find(CNCT_plugin_name))
7477 {
7478 id.getPath(pluginName);
7479 firstTime = false;
7480 HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: plugin %s\n", pluginName.c_str()));
7481 }
7482
7483 if (id.find(CNCT_plugin_list))
7484 {
7485 id.getPath(pluginList);
7486 HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: plugin list %s\n", pluginList.c_str()));
7487 }
7488
7489 dataForPlugin.clear();
7490 getMultiPartConnectParameter(dataForPlugin, id, CNCT_specific_data);
7491 if (dataForPlugin.hasData())
7492 {
7493 HANDSHAKE_DEBUG(fprintf(stderr, "Srv: AuthBlock: data %u\n", static_cast<unsigned>(dataForPlugin.getCount())));
7494 }
7495}
7496
7497const char* SrvAuthBlock::getPluginName()
7498{

Callers 3

xdr_protocolFunction · 0.45
accept_connectionFunction · 0.45
receive_after_startMethod · 0.45

Calls 9

getPathMethod · 0.80
dpbItemUpperFunction · 0.50
findMethod · 0.45
getStringMethod · 0.45
c_strMethod · 0.45
clearMethod · 0.45
hasDataMethod · 0.45
getCountMethod · 0.45

Tested by

no test coverage detected