moved strcaseeq() macro from constants.h to utils.h
This commit is contained in:
@@ -50,6 +50,11 @@
|
||||
*/
|
||||
#define strneq(x,y,len) (strncmp(x, y, len) == 0)
|
||||
|
||||
/**
|
||||
* Macro compares two strings for equality ignoring case
|
||||
*/
|
||||
#define strcaseeq(x,y) (strcasecmp(x, y) == 0)
|
||||
|
||||
/**
|
||||
* Macro compares two binary blobs for equality
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user