Home | History | Annotate | Download | only in misc
      1 #define SSF_DCOND 0
      2 #define SSF_SCOND 1
      3 #define SSF_OR	  2
      4 #define SSF_AND	  3
      5 #define SSF_NOT	  4
      6 #define SSF_D_GE  5
      7 #define SSF_D_LE  6
      8 #define SSF_S_GE  7
      9 #define SSF_S_LE  8
     10 #define SSF_S_AUTO  9
     11 
     12 struct ssfilter
     13 {
     14 	int type;
     15 	struct ssfilter *post;
     16 	struct ssfilter *pred;
     17 };
     18 
     19 int ssfilter_parse(struct ssfilter **f, int argc, char **argv, FILE *fp);
     20 void *parse_hostcond(char*);
     21 
     22