49 #include <sys/types.h>
66 memset(&concurrencyInfos,
'\0',
sizeof(concurrencyInfos));
67 concurrencyInfos.
lock =
'?';
83 if (strchr(set, *
string))
104 while (tolower(*op1) == tolower(*op2))
114 return(tolower(*op1) - tolower(*op2));
129 const char *op1 = (
const char *)mem1;
130 const char *op2 = (
const char *)mem2;
133 if (tolower(*op1) != tolower(*op2))
135 return tolower(*op1) - tolower(*op2);
156 *str = toupper(*str);
175 *str = tolower(*str);
194 const char *endPtr = data + n;
195 while (data < endPtr && *data !=
'\0')
static ConcurrencyInfosCollector concurrencyCollector
void(* ConcurrencyInfosCollector)(struct ConcurrencyInfos &concurrencyInfos)
static void SetConcurrencyInfosCollector(ConcurrencyInfosCollector)
static const char * locateCharacter(const char *s, const char *set, size_t l)
static void GetConcurrencyInfos(struct ConcurrencyInfos &concurrencyInfos)
static const char * strnchr(const char *, size_t n, char ch)
static void strupper(char *str)
static void strlower(char *str)
static int strCaselessCompare(const char *opt1, const char *opt2)
static int memicmp(const void *opt1, const void *opt2, size_t len)