#ifndef __FASTCMP_H__#define __FASTCMP_H__// returns false if s != c// returns true if s == cFUNCINLINEstaticATTRINLINEbooleanfasticmp(constchar*s,constchar*c){for(;*s&&toupper(*s)==toupper(*c);s++,c++);return(*s==*c);// make sure both strings ended}// case-sensitive of the aboveFUNCINLINEstaticATTRINLINEbooleanfastcmp(constchar*s,constchar*c){for(;*s&&*s==*c;s++,c++);return(*s==*c);// make sure both strings ended}// length-limited of the above// only true if both strings are at least l characters long AND match, case-sensitively!FUNCINLINEstaticATTRINLINEbooleanfastncmp(constchar*s,constchar*c,UINT16l){for(;*s&&*s==*c&&--l;s++,c++);return!l;// make sure you reached the end}#endif