00001
00002
00003
00004
00005 #ifndef __IXESQL_H__
00006 #define __IXESQL_H__
00007
00008
00009 #include <list>
00010
00011 enum SqlToken {
00012 tkn_all = tkn_last_token,
00013 tkn_commit,
00014 tkn_create,
00015 tkn_describe,
00016 tkn_error,
00017 tkn_exit,
00018 tkn_help,
00019 tkn_insert,
00020 tkn_int1,
00021 tkn_int2,
00022 tkn_int4,
00023 tkn_int8,
00024 tkn_into,
00025 tkn_open,
00026 tkn_real4,
00027 tkn_real8,
00028 tkn_select,
00029 tkn_show,
00030 tkn_table,
00031 tkn_text,
00032 tkn_values,
00033 tkn_varchar
00034 };
00035
00036 struct tableField {
00037 char_t* name;
00038 char_t* refTableName;
00039 int type;
00040
00041 tableField() { name = refTableName = NULL; }
00042 ~tableField() { delete[] name; delete[] refTableName; }
00043 };
00044
00045 #endif // IXESQL_H