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

Method linkParent

src/remote/remote.cpp:592–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590// TMN: Beginning of C++ port - ugly but a start
591
592void rem_port::linkParent(rem_port* const parent)
593{
594 fb_assert(parent);
595 fb_assert(this->port_parent == NULL);
596
597 this->port_parent = parent;
598 this->port_next = parent->port_clients;
599 this->port_server = parent->port_server;
600 this->port_server_flags = parent->port_server_flags;
601 this->port_config = parent->port_config;
602
603 parent->port_clients = parent->port_next = this;
604}
605
606const RefPtr<const Config>& rem_port::getPortConfig() const
607{

Callers 2

alloc_portFunction · 0.80
alloc_portFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected