Add an agentx_retry call.
authormartijn <martijn@openbsd.org>
Fri, 14 Oct 2022 15:26:58 +0000 (15:26 +0000)
committermartijn <martijn@openbsd.org>
Fri, 14 Oct 2022 15:26:58 +0000 (15:26 +0000)
commit67d8ab44192c0cf7e54831adb628115b09b38c05
tree6111ead5deb3eba8f5bd9e1e9d0093e1d08e01ec
parent8fea2aa46aedcb4f01bb4436c66b23cc0e41fd16
Add an agentx_retry call.
If a session, agentcaps, region, index, or object doesn't properly open
because of an error returned by the AgentX master it remained closed until
a reconnect. This new function call walks the tree and tries to reopen
everything in a closed state.

OK sthen@
lib/libagentx/Symbols.list
lib/libagentx/agentx.3
lib/libagentx/agentx.c
lib/libagentx/agentx.h
lib/libagentx/shlib_version