keepalive: Added callback to run on each destination response.
authorNacho Garcia Segovia <nacho.gs@zaleos.net>
Thu, 7 May 2020 21:50:10 +0000 (23:50 +0200)
committerNacho Garcia Segovia <nacho.gs@zaleos.net>
Thu, 7 May 2020 21:50:10 +0000 (23:50 +0200)
commit9700a8dae237758e162e509455bc3a62b19730f4
tree5d331a4c318ec56ef0c24e36e47d5793fa4a3f29
parente996aec353972e7f0a4cb5e2a6156e2eee478954
keepalive: Added callback to run on each destination response.

- This functionality it's just available when using api.h bindings. For exported functions no callback will be used, so this doesn't break cfg or rpc api.
- Modified add_destination function to provide this new callback as a parameter.
src/modules/keepalive/api.h
src/modules/keepalive/doc/keepalive.xml
src/modules/keepalive/doc/keepalive_devel.xml
src/modules/keepalive/keepalive.h
src/modules/keepalive/keepalive_api.c
src/modules/keepalive/keepalive_core.c
src/modules/keepalive/keepalive_mod.c
src/modules/keepalive/keepalive_rpc.c