mirror_corosync/include/corosync
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
..
totem cfg: New API to get extended node/link infomation 2020-11-26 16:15:50 +01:00
.gitignore build: drop obsoleted SOCKETDIR option 2012-03-12 07:12:48 +01:00
cfg.h cfg: Improve nodestatusget versioning 2020-11-26 16:16:49 +01:00
cmap.h cmap: Fix strncpy warning in cmap_iter_next 2018-08-13 09:00:41 +02:00
coroapi.h Revert "totemip: Add support for sin6_scope_id" 2020-04-22 13:30:19 +02:00
corodefs.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
corotypes.h logging: Add CS_PRI_NODE_ID and CS_PRI_RING_ID 2019-07-03 10:53:52 +02:00
cpg.h cpg: Add CPG_REASON_UNDEFINED 2019-04-16 14:49:10 +02:00
hdb.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
icmap.h icmap: fix the icmap_get_*_r functions 2019-11-18 16:29:57 +01:00
ipc_cfg.h cfg: Improve nodestatusget versioning 2020-11-26 16:16:49 +01:00
ipc_cmap.h stats: Add map with on-demand statistics 2017-07-27 15:53:04 +02:00
ipc_cpg.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
ipc_quorum.h quorum: Add support for nodelist callback 2020-10-12 13:22:11 +02:00
ipc_votequorum.h votequorum: Fix up quorum/nodelist callbacks 2016-06-28 13:58:39 +02:00
logsys.h log: Implement support for reopening log files 2018-10-16 14:46:52 +02:00
mar_gen.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
quorum.h quorum: Add support for nodelist callback 2020-10-12 13:22:11 +02:00
sam.h low:typo fix in sam.h 2016-06-27 12:47:34 +02:00
sq.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
swab.h Adds doxygen stubs to include directory 2016-05-12 15:59:48 +02:00
votequorum.h votequorum: Fix up quorum/nodelist callbacks 2016-06-28 13:58:39 +02:00