SYNOPSISint dbaddtype(name, type, size)
char *name;
int type;
int size;
DESCRIPTION
Parameters
The function will return 0 if successful, and -1 if there is no room for more datatypes, or if a type with a different name already exists with the same type number.
EXAMPLEtypedef struct tagTIMESTAMP
{
short year;
unsigned short month;
unsigned short day;
unsigned short hour;
unsigned short minute;
unsigned short second;
unsigned long fraction;
} TIMESTAMP;
dbaddtype("timestamp", 32, sizeof(TIMESTAMP);