mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
pgsql conventions (tabs, four-spaces-wide, etc) applied all around. Also tried to fix some very tiny capitalization errors, auto-fill problems, and some inter-block vertical whitespacing issues. Long strings in repmgr.c were left intact, though. They are rather numerous and are less of a problem than tiny bits of function calls and comments wrapping over a line; the latter kind of problem has been mostly fixed. Signed-off-by: Dan Farina <drfarina@acm.org> Signed-off-by: Peter van Hardenberg <pvh@heroku.com>
11 lines
229 B
C
11 lines
229 B
C
/*
|
|
* config.h
|
|
* Copyright (c) 2ndQuadrant, 2010
|
|
*
|
|
*/
|
|
|
|
void parse_config(const char *config_file, char *cluster_name, int *node,
|
|
char *service);
|
|
void parse_line(char *buff, char *name, char *value);
|
|
char *trim(char *s);
|