5#if __DCL_HAVE_ALLOC_DEBUG
6#undef __DCL_ALLOC_LEVEL
7#define __DCL_ALLOC_LEVEL __DCL_ALLOC_INTERNAL
14#if __DCL_HAVE_THIS_FILE__
29 const wchar_t* _value ,
30 const wchar_t* _comment ,
31 const wchar_t* _domain ,
33 const wchar_t* _path ,
40 StringBuilder sb = _name;
78static String __GetGmtStr(time_t time)
89 L
"%a, %d %b %Y %H:%M:%S GMT", &t);
91 buf->__dataLength = n;
100 const wchar_t* _value ,
102 const wchar_t* _path ,
103 const wchar_t* _domain ,
109 StringBuilder sb = _name;
111 if (_value ==
NULL) {
116 sb += __GetGmtStr(time(
NULL) - 31536001);
122 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)
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