OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_const.h versions 1.10 and 1.11
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_const.h 1.10 -> 1.11

--- rc_const.h   2002/07/30 16:33:51     1.10
+++ rc_const.h   2002/08/01 08:09:04     1.11
@@ -70,6 +70,7 @@
 #define RC_DFL_DESC "Name of the default section in a rcfile."
 #define RC_ERR_DESC "Name of the error section in a rcfile."
 
+/* Option friendly names, should not include newline termination */
 #define RC_USE_NAME "usage"
 #define RC_DBG_NAME "debug"
 #define RC_VER_NAME "version"
@@ -102,6 +103,7 @@
 #define RC_DFL_NAME "NameDefault"       
 #define RC_ERR_NAME "NameError"
 
+/* Error and warning strings, should not include newline termination */
 #define RC_ERRSTR_OK  "Okay"
 #define RC_ERRSTR_USE "Usage"
 #define RC_ERRSTR_MEM "Memory"
@@ -118,4 +120,10 @@
 
 #define RC_GLOB_WILD  "all"
 
+/* Default values, do not include newlines and special chars must be escaped */
+#define RC_DEF_ON     "1"                       /* Digital switch */
+#define RC_DEF_OFF    "0"                       /* Digital switch */
+#define RC_DEF_DEF    "^%(\\w+).*?\\n(.*?)^$"   /* Section definition */
+#define RC_DEF_NCF    "config"                  /* Config section name */
+
 #endif /* __OSSPRC_CONST_H__ */

CVSTrac 2.0.1