5#if __DCL_HAVE_ALLOC_DEBUG
6#undef __DCL_ALLOC_LEVEL
7#define __DCL_ALLOC_LEVEL __DCL_ALLOC_INTERNAL
29 const wchar_t* _value ,
30 const wchar_t* _comment ,
31 const wchar_t* _domain ,
33 const wchar_t* _path ,
41 StringBuilder sb = _name;
80static String __GetGmtStr(time_t time)
91 L
"%a, %d %b %Y %H:%M:%S GMT", &t);
93 buf->__dataLength =
n;
101 const wchar_t* _name,
102 const wchar_t* _value ,
104 const wchar_t* _path ,
105 const wchar_t* _domain ,
111 StringBuilder sb = _name;
113 if (_value ==
NULL) {
118 sb += __GetGmtStr(time(
NULL) - 31536001);
125 sb += __GetGmtStr(_expires);
DCLCAPI errno_t gmtime_s(struct tm *__tm, const time_t *__time)
#define DATETIME_FORMAT_BUFFER_SIZE
#define __DCL_VERIFY(expr)
#define __DCL_ASSERT(expr)
void CharsetConvertException *size_t n
HttpExpires(time_t _expires)
HttpSetCookie(const wchar_t *_name, const wchar_t *_value=NULL, time_t _expires=0, const wchar_t *_path=NULL, const wchar_t *_domain=NULL, bool _secure=false)
String toString(unsigned _base=10) const