changeset 2617:b97a9e3fdb63

added subconfig type
author alex
date Fri, 02 Nov 2001 00:47:38 +0000
parents f96462d7453e
children 47a338888698
files cfgparser.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cfgparser.h	Fri Nov 02 00:32:35 2001 +0000
+++ b/cfgparser.h	Fri Nov 02 00:47:38 2001 +0000
@@ -13,6 +13,8 @@
 #define CONF_TYPE_FUNC_PARAM	5
 #define CONF_TYPE_PRINT		6
 #define CONF_TYPE_FUNC_FULL	7
+#define CONF_TYPE_SUBCONFIG	8
+
 
 
 #define ERR_NOT_AN_OPTION	-1
@@ -31,7 +33,7 @@
 struct config {
 	char *name;
 	void *p;
-	unsigned int type :3;
+	unsigned int type :4;
 	unsigned int flags:4;
 	float min,max;
 };