MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ng_ID2noderef

Function ng_ID2noderef

lib/ff_ng_base.c:831–842  ·  view source on GitHub ↗

Node ID handling ************************************************************************/

Source from the content-addressed store, hash-verified

829 Node ID handling
830************************************************************************/
831static node_p
832ng_ID2noderef(ng_ID_t ID)
833{
834 node_p node;
835
836 IDHASH_RLOCK();
837 NG_IDHASH_FIND(ID, node);
838 if (node)
839 NG_NODE_REF(node);
840 IDHASH_RUNLOCK();
841 return(node);
842}
843
844ng_ID_t
845ng_node2ID(node_p node)

Callers 2

ng_name2noderefFunction · 0.70
ng_address_IDFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected