mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Conflicts: config.c dbutils.c dbutils.h repmgrd.c Signed-off-by: Dan Farina <drfarina@acm.org>
23 lines
454 B
C
23 lines
454 B
C
/*
|
|
* strutil.h
|
|
*
|
|
* Copyright (c) Heroku, 2010
|
|
*
|
|
*/
|
|
|
|
#ifndef _STRUTIL_H_
|
|
#define _STRUTIL_H_
|
|
|
|
#define QUERY_STR_LEN 8192
|
|
#define MAXLEN 1024
|
|
#define MAXLINELENGTH 4096
|
|
#define MAXVERSIONSTR 16
|
|
#define MAXCONNINFO 1024
|
|
|
|
|
|
extern int xsnprintf(char *str, size_t size, const char *format, ...);
|
|
extern int sqlquery_snprintf(char *str, const char *format, ...);
|
|
extern int maxlen_snprintf(char *str, const char *format, ...);
|
|
|
|
#endif /* _STRUTIL_H_ */
|