Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
HttpUtil.cpp File Reference

Macros

#define _atoi64(val)   strtoll(val, nullptr, 10)
 
#define WRITE(buffer, size)    if (size != dest->write(buffer, size)) return false
 
#define COMPARE(str1, str2)   strcasecmp(str1.c_str(), str2) == 0
 

Macro Definition Documentation

◆ _atoi64

#define _atoi64 ( val)    strtoll(val, nullptr, 10)

◆ COMPARE

#define COMPARE ( str1,
str2 )   strcasecmp(str1.c_str(), str2) == 0

◆ WRITE

#define WRITE ( buffer,
size )    if (size != dest->write(buffer, size)) return false