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

Function ng_rmhook_self

lib/ff_ng_base.c:1632–1643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1630}
1631
1632int
1633ng_rmhook_self(hook_p hook)
1634{
1635 int error;
1636 node_p node = NG_HOOK_NODE(hook);
1637
1638 if (node == &ng_deadnode)
1639 return (0);
1640
1641 error = ng_send_fn(node, hook, &ng_rmhook_part2, NULL, 0);
1642 return (error);
1643}
1644
1645/***********************************************************************
1646 * Parse and verify a string of the form: <NODE:><PATH>

Callers 1

ng_destroy_hookFunction · 0.70

Calls 1

ng_send_fnFunction · 0.70

Tested by

no test coverage detected