CConnman::AddNode

Add a manually added node, returning false if it was already present.

Synopsis

Declared in <net.h>

[[requires_capability(0x7f950f5fec48), requires_capability(0x7f950ed87478), requires_capability(0x7f950b48f6e8), requires_capability(0x7f95034d2308), requires_capability(0x7f950e20f6d8), requires_capability(0x7f9527747378), requires_capability(0x7f950c324508), requires_capability(0x7f950c240138), requires_capability(0x7f95018b98e8), requires_capability(0x7f950bd91798), requires_capability(0x7f95065c8e98)]]
bool
AddNode(AddedNodeParams const& add);

Return Value

false if the node was already present, true otherwise.

Parameters

NameDescription
addthe parameters describing the node to add.