mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
There are now too many options to sensibly fit into general --help output; we'll add separate output for each repmgr command, e.g. "repmgr node --help".
41 lines
646 B
C
41 lines
646 B
C
/*
|
|
* repmgr-action-cluster.h
|
|
* Copyright (c) 2ndQuadrant, 2010-2017
|
|
*/
|
|
|
|
#ifndef _REPMGR_ACTION_CLUSTER_H_
|
|
#define _REPMGR_ACTION_CLUSTER_H_
|
|
|
|
|
|
|
|
typedef struct
|
|
{
|
|
int node_id;
|
|
int node_status;
|
|
} t_node_status_rec;
|
|
|
|
typedef struct
|
|
{
|
|
int node_id;
|
|
char node_name[MAXLEN];
|
|
t_node_status_rec **node_status_list;
|
|
} t_node_matrix_rec;
|
|
|
|
typedef struct
|
|
{
|
|
int node_id;
|
|
char node_name[MAXLEN];
|
|
t_node_matrix_rec **matrix_list_rec;
|
|
} t_node_status_cube;
|
|
|
|
|
|
|
|
extern void do_cluster_show(void);
|
|
extern void do_cluster_event(void);
|
|
extern void do_cluster_crosscheck(void);
|
|
extern void do_cluster_matrix(void);
|
|
|
|
extern void do_cluster_help(void);
|
|
|
|
#endif
|