9
* item in polish notation with back link
17
/* user-friendly value */
24
* (len)(size)(array of ITEM)(array of operand in user-friendly form)
33
#define HDRSIZEQT ( 2*sizeof(int4) )
34
#define COMPUTESIZE(size,lenofoperand) ( HDRSIZEQT + size * sizeof(ITEM) + lenofoperand )
35
#define GETQUERY(x) (ITEM*)( (char*)(x)+HDRSIZEQT )
36
#define GETOPERAND(x) ( (char*)GETQUERY(x) + ((QUERYTYPE*)x)->size * sizeof(ITEM) )
38
#define ISOPERATOR(x) ( (x)=='!' || (x)=='&' || (x)=='|' || (x)=='(' || (x)==')' )
46
#define VALTRUE 6 /* for stop words */
49
bool execute(ITEM * curitem, void *checkval,
50
bool calcnot, bool (*chkcond) (void *checkval, ITEM * val));