typedef struct { char *key; int ovrwrt;/* 1 = allow overwrite */ int typ; /* 1 = char, 2 = int, 3 = long, 4 = string */ void *val; } CFGITEM; int ReadCfg(char *name, CFGITEM cfgitm[], int items);