mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
first alpha version for syslog support
This commit is contained in:
committed by
Greg Smith
parent
1787cf1c21
commit
2c1eafd7a9
16
config.h
16
config.h
@@ -17,14 +17,16 @@
|
||||
*
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char cluster_name[MAXLEN];
|
||||
int node;
|
||||
char conninfo[MAXLEN];
|
||||
char rsync_options[QUERY_STR_LEN];
|
||||
} repmgr_config;
|
||||
#include "repmgr.h"
|
||||
|
||||
typedef struct {
|
||||
char cluster_name[MAXLEN];
|
||||
int node;
|
||||
char conninfo[MAXLEN];
|
||||
char loglevel[MAXLEN];
|
||||
char logfacility[MAXLEN];
|
||||
char rsync_options[QUERY_STR_LEN];
|
||||
} configuration_options;
|
||||
void parse_config(const char *config_file, repmgr_config *config);
|
||||
void parse_line(char *buff, char *name, char *value);
|
||||
char *trim(char *s);
|
||||
|
||||
Reference in New Issue
Block a user