repmgrd: split physical and BDR functionality into separate files

This commit is contained in:
Ian Barwick
2017-07-13 17:21:29 +09:00
parent 0320f409aa
commit d77e8d4d22
8 changed files with 2232 additions and 2083 deletions

13
repmgr-bdr.h Normal file
View File

@@ -0,0 +1,13 @@
/*
* repmgr-bdr.h
* Copyright (c) 2ndQuadrant, 2010-2017
*/
#ifndef _REPMGR_BDR_H_
#define _REPMGR_BDR_H_
extern void do_bdr_node_check(void);
extern void monitor_bdr(void);
extern t_node_info *do_bdr_failover(NodeInfoList *nodes, t_node_info *monitored_node);
#endif /* _REPMGR_BDR_H_ */