mirror_corosync/tools
Jan Friesse d76fc6ab85 cfg: Improve nodestatusget versioning
Patch tries to make nodestatusget really extendable. Following changes
are implemented:
- corosync_cfg_node_status_version_t is added with (for now) single
  value CFG_NODE_STATUS_V1
- corosync_knet_node_status renamed to corosync_cfg_node_status_v1 (it
  isn't really knet because it works as well for udp(u()
- struct res_lib_cfg_nodestatusget_version is added which holds only ipc
  result header and version on same position as for
  corosync_cfg_node_status_v1
- corosync_cfg_node_status_get requires version and pointer to one of
  corosync_cfg_node_status_v structures
- request is handled in case switches to make adding new version easier

Also fix following bugs:
- totempg_nodestatus_get error was retyped to cs_error_t without any
  meaning.
- header.error was not checked at all in the library

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2020-11-26 16:16:49 +01:00
..
.gitignore Remove corosync-fplay 2012-06-05 12:05:15 +02:00
corosync-blackbox.sh blackbox: Quote subshell result properly 2018-03-02 17:29:16 +01:00
corosync-cfgtool.c cfg: Improve nodestatusget versioning 2020-11-26 16:16:49 +01:00
corosync-cmapctl.c cmapctl: return error on no result of print prefix 2020-08-21 11:22:09 +02:00
corosync-cpgtool.c totemsrp: Revert totemsrp_get_ifaces() changes 2017-11-30 16:59:05 +01:00
corosync-keygen.c keygen: Reflect change in knet 2019-04-11 15:14:06 +02:00
corosync-notifyd.c notifyd: Check cmap_track_add result 2019-11-28 09:44:45 +01:00
corosync-notifyd.sysconfig.example Improve corosync-notifyd example 2013-04-16 17:32:05 +02:00
corosync-quorumtool.c quorumtool: strict check for -o option 2020-08-20 14:28:19 +02:00
corosync-xmlproc.sh build: make path to bash configurable at build time 2012-08-28 15:14:49 +02:00
Makefile.am tools: use util_strtonum for options checking 2020-08-12 16:56:34 +02:00
util.c tools: use util_strtonum for options checking 2020-08-12 16:56:34 +02:00
util.h tools: use util_strtonum for options checking 2020-08-12 16:56:34 +02:00