mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Add more commonly-used buffer constants.
This commit is contained in:
parent
7ade3fc1c3
commit
1e55b87620
@ -13,11 +13,15 @@ Buffer Handler
|
||||
/***********************************************************************************************************************************
|
||||
Constant buffers that are generally useful
|
||||
***********************************************************************************************************************************/
|
||||
BUFFER_STRDEF_EXTERN(BRACEL_BUF, "{");
|
||||
BUFFER_STRDEF_EXTERN(BRACER_BUF, "}");
|
||||
BUFFER_STRDEF_EXTERN(BRACKETL_BUF, "[");
|
||||
BUFFER_STRDEF_EXTERN(BRACKETR_BUF, "]");
|
||||
BUFFER_STRDEF_EXTERN(COMMA_BUF, ",");
|
||||
BUFFER_STRDEF_EXTERN(CR_BUF, "\r");
|
||||
BUFFER_STRDEF_EXTERN(EQ_BUF, "=");
|
||||
BUFFER_STRDEF_EXTERN(LF_BUF, "\n");
|
||||
BUFFER_STRDEF_EXTERN(QUOTED_BUF, "\"");
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Contains information about the buffer
|
||||
|
@ -108,11 +108,15 @@ By convention all buffer constant identifiers are appended with _BUF.
|
||||
/***********************************************************************************************************************************
|
||||
Constant buffers that are generally useful
|
||||
***********************************************************************************************************************************/
|
||||
BUFFER_DECLARE(BRACEL_BUF);
|
||||
BUFFER_DECLARE(BRACER_BUF);
|
||||
BUFFER_DECLARE(BRACKETL_BUF);
|
||||
BUFFER_DECLARE(BRACKETR_BUF);
|
||||
BUFFER_DECLARE(COMMA_BUF);
|
||||
BUFFER_DECLARE(CR_BUF);
|
||||
BUFFER_DECLARE(EQ_BUF);
|
||||
BUFFER_DECLARE(LF_BUF);
|
||||
BUFFER_DECLARE(QUOTED_BUF);
|
||||
|
||||
/***********************************************************************************************************************************
|
||||
Macros for function logging
|
||||
|
Loading…
x
Reference in New Issue
Block a user