ossp-pkg/rc/rc_config.h 1.2 -> 1.3
--- rc_config.h 2002/04/11 16:52:45 1.2
+++ rc_config.h 2002/04/22 12:16:39 1.3
@@ -31,36 +31,37 @@
#define __OSSPRC_CONFIG_H__
/* Available options and their values */
-#define RC_USE_VAL 0
-#define RC_DBG_VAL 1
-#define RC_VER_VAL 2
-#define RC_EVL_VAL 3
-#define RC_HLP_VAL 4
-#define RC_INF_VAL 5
-#define RC_LBL_VAL 6
-#define RC_PRN_VAL 7
-#define RC_SIL_VAL 8
-#define RC_RAW_VAL 9
-#define RC_VRB_VAL 10
-#define RC_EXC_VAL 11
-#define RC_LOC_VAL 12
-#define RC_CNF_VAL 13
-#define RC_FNC_VAL 14
-#define RC_QRY_VAL 15
-#define RC_TMP_VAL 16
-#define RC_OWN_VAL 17
-#define RC_GRP_VAL 18
-#define RC_MSK_VAL 19
-#define RC_ASS_VAL 20
-#define RC_DEF_VAL 21
-#define RC_REF_VAL 22
-#define RC_PRM_VAL 23
-#define RC_TRM_VAL 24
-#define RC_NCF_VAL 25
-#define RC_CMN_VAL 26
-#define RC_DFL_VAL 27
-#define RC_ERR_VAL 28
+#define RC_HEADVAL 0 /* Unused, as popt reserves 0 to return success */
+#define RC_USE_VAL 1
+#define RC_DBG_VAL 2
+#define RC_VER_VAL 3
+#define RC_EVL_VAL 4
+#define RC_HLP_VAL 5
+#define RC_INF_VAL 6
+#define RC_LBL_VAL 7
+#define RC_PRN_VAL 8
+#define RC_SIL_VAL 9
+#define RC_RAW_VAL 10
+#define RC_VRB_VAL 11
+#define RC_EXC_VAL 12
+#define RC_LOC_VAL 13
+#define RC_CNF_VAL 14
+#define RC_FNC_VAL 15
+#define RC_QRY_VAL 16
+#define RC_TMP_VAL 17
+#define RC_OWN_VAL 18
+#define RC_GRP_VAL 19
+#define RC_MSK_VAL 20
+#define RC_ASS_VAL 21
+#define RC_DEF_VAL 22
+#define RC_REF_VAL 23
+#define RC_PRM_VAL 24
+#define RC_TRM_VAL 25
+#define RC_NCF_VAL 26
+#define RC_CMN_VAL 27
+#define RC_DFL_VAL 28
+#define RC_ERR_VAL 29
-#define RC_NUMOPTS 29 /* Increment with each option addition */
+#define RC_NUMOPTS 30 /* Increment with each option addition */
#endif /* __OSSPRC_CONFIG_H__ */
|
|