135 struct cookie *old_cookie;
170 while (
len &&
string[
len - 1] ==
' ')
len--;
186 while (*
p ==
' ')
p++;
221 while (*
p ==
' ')
p++;
223 while (*
q && *
q !=
' ' && *
q !=
'=' && *
q !=
';')
q++;
238 while (*
p ==
' ')
p++;
241 while (*
p ==
' ')
p++;
243 while (*
q && *
q !=
';')
q++;
256 while (*
q ==
' ')
q++;
265 static const WCHAR pathW[] = {
'p',
'a',
't',
'h',0};
266 static const WCHAR domainW[] = {
'd',
'o',
'm',
'a',
'i',
'n',0};
280 while (*
p && *
p !=
';')
p++;
281 if (*
p ==
';') *
p++ = 0;
311 if ((
p =
strrchrW( cookie_path,
'/' )) &&
p != cookie_path) *
p = 0;
326 struct list *domain_cursor;
336 struct list *cookie_cursor;
347 static const WCHAR cookieW[] = {
'C',
'o',
'o',
'k',
'i',
'e',
':',
' '};
351 len = len_cookie + len_name;
363 header[len_cookie + len_name] =
'=';
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static WCHAR * strdupW(const WCHAR *src)
static void list_remove(struct list_entry *entry)
static void list_add_tail(struct list_entry *head, struct list_entry *entry)
static void list_add_head(struct list_entry *head, struct list_entry *entry)
static void list_init(struct list_entry *head)
GLdouble GLdouble GLdouble GLdouble q
#define memcpy(s1, s2, n)
static CookieInternal * cookies
static unsigned __int64 next
BOOL add_request_headers(struct request *request, const WCHAR *headers, DWORD len, DWORD flags)
#define LIST_FOR_EACH(cursor, list)
#define LIST_FOR_EACH_SAFE(cursor, cursor2, list)
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
static void delete_cookie(struct cookie *cookie)
BOOL add_cookie_headers(struct request *request)
void destroy_cookies(struct session *session)
static struct cookie * find_cookie(struct domain *domain, const WCHAR *path, const WCHAR *name)
static void delete_domain(struct domain *domain)
static struct attr * parse_attr(const WCHAR *str, int *used)
static struct cookie * parse_cookie(const WCHAR *string)
static BOOL add_cookie(struct session *session, struct cookie *cookie, WCHAR *domain_name, WCHAR *path)
BOOL set_cookies(struct request *request, const WCHAR *cookies)
static BOOL domain_match(const WCHAR *name, struct domain *domain, BOOL partial)
static void free_attr(struct attr *attr)
static struct domain * add_domain(struct session *session, WCHAR *name)
#define WINHTTP_ADDREQ_FLAG_COALESCE_WITH_SEMICOLON
#define WINHTTP_ADDREQ_FLAG_ADD