You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Add string constants.
This commit is contained in:
@@ -21,7 +21,9 @@ Constant strings that are generally useful
|
||||
***********************************************************************************************************************************/
|
||||
STRING_EXTERN(BRACKETL_STR, "[");
|
||||
STRING_EXTERN(BRACKETR_STR, "]");
|
||||
STRING_EXTERN(COLON_STR, COLON_Z);
|
||||
STRING_EXTERN(CR_STR, "\r");
|
||||
STRING_EXTERN(DASH_STR, DASH_Z);
|
||||
STRING_EXTERN(DOT_STR, ".");
|
||||
STRING_EXTERN(DOTDOT_STR, "..");
|
||||
STRING_EXTERN(EMPTY_STR, "");
|
||||
|
||||
@@ -120,7 +120,9 @@ Constant strings that are generally useful
|
||||
***********************************************************************************************************************************/
|
||||
STRING_DECLARE(BRACKETL_STR);
|
||||
STRING_DECLARE(BRACKETR_STR);
|
||||
STRING_DECLARE(COLON_STR);
|
||||
STRING_DECLARE(CR_STR);
|
||||
STRING_DECLARE(DASH_STR);
|
||||
STRING_DECLARE(DOT_STR);
|
||||
STRING_DECLARE(DOTDOT_STR);
|
||||
STRING_DECLARE(EMPTY_STR);
|
||||
|
||||
@@ -7,6 +7,8 @@ Zero-Terminated String Handler
|
||||
/***********************************************************************************************************************************
|
||||
Zero-terminated strings that are generally useful
|
||||
***********************************************************************************************************************************/
|
||||
#define COLON_Z ":"
|
||||
#define DASH_Z "-"
|
||||
#define FALSE_Z "false"
|
||||
#define NULL_Z "null"
|
||||
#define TRUE_Z "true"
|
||||
|
||||
Reference in New Issue
Block a user