home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
irit
/
drawfuns.arc
/
CONFIG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-29
|
796b
|
26 lines
/*****************************************************************************
* General definitions for the configuration file reading routines *
* *
* Written by: Gershon Elber Ver 0.2, Jan. 1989 *
*****************************************************************************/
#ifndef CONFIG_H /* Defined Only once */
#define CONFIG_H
#define SU_BOOLEAN_TYPE 1
#define SU_INTEGER_TYPE 2
#define SU_REAL_TYPE 3
#define SU_STRING_TYPE 4
typedef struct ConfigStruct {
char *VarName;
void *VarData;
int VarType;
} ConfigStruct;
/* And finally the prototype of the configuration routines: */
void Config(char *PrgmName, ConfigStruct *SetUp, int NumVar);
void ConfigPrint(ConfigStruct *SetUp, int NumVar);
#endif CONFIG_H