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++;
278 while (*
p && *
p !=
';')
p++;
279 if (*
p ==
';') *
p++ = 0;
309 if ((
p =
wcsrchr( cookie_path,
'/' )) &&
p != cookie_path) *
p = 0;
315 else free( cookie_domain );
317 else free( cookie_path );
324 struct list *domain_cursor;
335 struct list *cookie_cursor;
346 static const WCHAR cookieW[] = {
'C',
'o',
'o',
'k',
'i',
'e',
':',
' '};
350 len = len_cookie + len_name;
362 header[len_cookie + len_name] =
'=';
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
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)
_ACRTIMP int __cdecl wcscmp(const wchar_t *, const wchar_t *)
_ACRTIMP wchar_t *__cdecl wcsstr(const wchar_t *, const wchar_t *)
static wchar_t * wcsdup(const wchar_t *str)
GLdouble GLdouble GLdouble GLdouble q
#define memcpy(s1, s2, n)
static CookieInternal * cookies
static unsigned __int64 next
DWORD 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)
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)
DWORD add_cookie_headers(struct request *request)
#define WINHTTP_ADDREQ_FLAG_COALESCE_WITH_SEMICOLON
#define WINHTTP_ADDREQ_FLAG_ADD