home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
misc
/
emu
/
gbuk.lha
/
src
/
READVARS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-10
|
441b
|
24 lines
#define VARIABLE_INVALID 0
#define VARIABLE_NUMBER 1
#define VARIABLE_STRING 2
#define VARIABLE_NUMBER_ARRAY 3
#define VARIABLE_STRING_ARRAY 4
typedef struct{
UBYTE Type;
union {
char *String;
char **StringArray;
int Number;
int NumberData;
}Data;
}VARIABLE;
typedef struct{
int Number;
VARIABLE *Data;
}VARIABLEHEADER;
void KillVariable(VARIABLEHEADER *var);
VARIABLEHEADER *FindVariable(char *name, char *data);