diff --git a/src/common/type/buffer.c b/src/common/type/buffer.c index 770acc32a..f6de6379d 100644 --- a/src/common/type/buffer.c +++ b/src/common/type/buffer.c @@ -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 diff --git a/src/common/type/buffer.h b/src/common/type/buffer.h index c7d7a02ba..b3d3897d4 100644 --- a/src/common/type/buffer.h +++ b/src/common/type/buffer.h @@ -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