X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=cll1-0.6.2.h;h=d3456ce3d07ddc1b5c911210719d367da2f697b5;hb=fa54950d31dc0d7e15e945750d4dcbaca2de613e;hp=7c33ce8f3742dfae1fc31535c560a4dde87f3392;hpb=4a1b62ea8f624700dd2eb7a9cb81d480ffd62725;p=svn%2FPrometheus-QoS%2F.git diff --git a/cll1-0.6.2.h b/cll1-0.6.2.h index 7c33ce8..d3456ce 100644 --- a/cll1-0.6.2.h +++ b/cll1-0.6.2.h @@ -34,6 +34,8 @@ /* Section For Dummies part 1, updated 2004-05-07 by xCh. */ #define not ! +#define and && +#define or || #define TRUE 1 #define FALSE 0 #define loop while(1) @@ -72,6 +74,7 @@ /* String macros & sequences, updated 2004-04-19 by xCh. */ #define eq(A,B) ((A) && (B) && !strcmp(A,B)) +#define eqi(A,B) ((A) && (B) && !strcmpi(A,B)) #define strcmpi(A,B) strcasecmp(A,B) #define strlwr(A) {char *_S=A; while(_&&*_S){*_S=tolower(*_S);_S++;}} #define strupr(A) {char *_S=A; while(_&&*_S){*_S=toupper(*_S);_S++;}}