ossp-pkg/rc/rc_config.h 1.1 -> 1.2
--- rc_config.h 2002/04/09 17:01:29 1.1
+++ rc_config.h 2002/04/11 16:52:45 1.2
@@ -24,17 +24,43 @@
** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
** SUCH DAMAGE.
**
-** rc_config.h: Run-command processor ISO C public API header file
+** rc_config.h: Run-command processor ISO C public header file
*/
#ifndef __OSSPRC_CONFIG_H__
#define __OSSPRC_CONFIG_H__
-#include "rc_cliopt.h" /* Command line option */
+/* 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
-typedef struct { /* Main rc configuration storage */
- rc_cliopt_t *pCliopt; /* Aggregate command line option */
- int m_nLocks; /* Server locks, not thread-safe FIXME */
-} rc_config_t;
+#define RC_NUMOPTS 29 /* Increment with each option addition */
#endif /* __OSSPRC_CONFIG_H__ */
|
|