ossp-pkg/rc/rc_const.h 1.35 -> 1.36
--- rc_const.h 2003/07/11 08:49:36 1.35
+++ rc_const.h 2003/07/11 09:18:20 1.36
@@ -81,6 +81,21 @@
#define RC_DFL_DESC "Name of the default section in a rcfile."
#define RC_ERR_DESC "Name of the error section in a rcfile."
+/* Error messages with newline termination */
+#define RC_ERRTXT_ALL "Error condition in %s:%s():%d.\n"
+#define RC_ERRTXT_USE "OSSP rc:API usage is wrong.\n"
+#define RC_ERRTXT_MEM "OSSP rc:Memory allocation failure.\n"
+#define RC_ERRTXT_SYS "OSSP rc:Underlying system failure.\n"
+#define RC_ERRTXT_IO "OSSP rc:Input output failure.\n"
+#define RC_ERRTXT_INT "OSSP rc:Internal failure.\n"
+#define RC_ERRTXT_FNC "OSSP rc:Function file %s could not be opened.\n"
+#define RC_ERRTXT_LOC "OSSP rc:Location dir %s could not be opened.\n"
+#define RC_ERRTXT_TMP "OSSP rc:Temporary dir %s could not be opened.\n"
+#define RC_ERRTXT_RCF "OSSP rc:One or more rc files could not be opened.\n"
+#define RC_ERRTXT_CFG "OSSP rc:Configuration failure.\n"
+#define RC_ERRTXT_ROOT "OSSP rc:You must be root to run these commands.\n"
+#define RC_ERRTXT_GEN "OSSP rc:Generic failure condition of class '%s',.\n"
+
/* Option friendly names, should not include newline termination */
#define RC_USE_NAME "usage"
#define RC_DBG_NAME "debug"
|
|