//---------------------------------- speclist.h ------------------------------

class Spec {
public:
     enum { MAXNAME = 100, MAXFILENAME = 100, MAXFIELD = 500 };
     char relation_to_previous;  // either "a"=and, "o"=or, " "=the first one
     char fieldname[MAXNAME];
     char comparison[3];   // either "=", "!=", "<", "<=", ">", ">="
     char fieldvalueC[MAXFIELD];
};

class Speclist {
public:
     enum { MAXSPECS = 100 };
     Spec specs[MAXSPECS];
     int numspecs;
     Speclist() { numspecs = 0; }
     void print();
     void addspec (char relationship, char *whichfield, 
                   char *newcomparison, char *newfieldvalue);
};
