#include "curl_setup.h"#include "urldata.h"#include "cookie.h"#include "strtok.h"#include "sendf.h"#include "slist.h"#include "share.h"#include "strtoofft.h"#include "strcase.h"#include "curl_memrchr.h"#include "inet_pton.h"#include "curl_printf.h"#include "curl_memory.h"#include "memdebug.h"
Go to the source code of this file.
Defines | |
| #define | CLONE(field) |
Functions | |
| static int | cookie_output (struct CookieInfo *c, const char *dumphere) |
| static int | cookie_sort (const void *p1, const void *p2) |
| struct Cookie * | Curl_cookie_add (struct Curl_easy *data, struct CookieInfo *c, bool httpheader, char *lineptr, const char *domain, const char *path) |
| void | Curl_cookie_cleanup (struct CookieInfo *c) |
| void | Curl_cookie_clearall (struct CookieInfo *cookies) |
| void | Curl_cookie_clearsess (struct CookieInfo *cookies) |
| void | Curl_cookie_freelist (struct Cookie *co) |
| struct Cookie * | Curl_cookie_getlist (struct CookieInfo *c, const char *host, const char *path, bool secure) |
| struct CookieInfo * | Curl_cookie_init (struct Curl_easy *data, const char *file, struct CookieInfo *inc, bool newsession) |
| struct curl_slist * | Curl_cookie_list (struct Curl_easy *data) |
| void | Curl_cookie_loadfiles (struct Curl_easy *data) |
| void | Curl_flush_cookies (struct Curl_easy *data, int cleanup) |
| static struct Cookie * | dup_cookie (struct Cookie *src) |
| static void | freecookie (struct Cookie *co) |
| static char * | get_line (char *buf, int len, FILE *input) |
| static char * | get_netscape_format (const struct Cookie *co) |
| static bool | isip (const char *domain) |
| static bool | pathmatch (const char *cookie_path, const char *request_uri) |
| static void | remove_expired (struct CookieInfo *cookies) |
| static char * | sanitize_cookie_path (const char *cookie_path) |
| static void | strstore (char **str, const char *newstr) |
| static bool | tailmatch (const char *cooke_domain, const char *hostname) |
| #define CLONE | ( | field | ) |
| static int cookie_output | ( | struct CookieInfo * | c, |
| const char * | dumphere | ||
| ) | [static] |
| static int cookie_sort | ( | const void * | p1, |
| const void * | p2 | ||
| ) | [static] |
| struct Cookie* Curl_cookie_add | ( | struct Curl_easy * | data, |
| struct CookieInfo * | c, | ||
| bool | httpheader, | ||
| char * | lineptr, | ||
| const char * | domain, | ||
| const char * | path | ||
| ) | [read] |
| void Curl_cookie_cleanup | ( | struct CookieInfo * | c | ) |
| void Curl_cookie_clearall | ( | struct CookieInfo * | cookies | ) |
| void Curl_cookie_clearsess | ( | struct CookieInfo * | cookies | ) |
| void Curl_cookie_freelist | ( | struct Cookie * | co | ) |
| struct Cookie* Curl_cookie_getlist | ( | struct CookieInfo * | c, |
| const char * | host, | ||
| const char * | path, | ||
| bool | secure | ||
| ) | [read] |
| struct CookieInfo* Curl_cookie_init | ( | struct Curl_easy * | data, |
| const char * | file, | ||
| struct CookieInfo * | inc, | ||
| bool | newsession | ||
| ) | [read] |
| struct curl_slist* Curl_cookie_list | ( | struct Curl_easy * | data | ) | [read] |
| void Curl_cookie_loadfiles | ( | struct Curl_easy * | data | ) |
| void Curl_flush_cookies | ( | struct Curl_easy * | data, |
| int | cleanup | ||
| ) |
| static struct Cookie* dup_cookie | ( | struct Cookie * | src | ) | [static, read] |
| static void freecookie | ( | struct Cookie * | co | ) | [static] |
| static char* get_line | ( | char * | buf, |
| int | len, | ||
| FILE * | input | ||
| ) | [static] |
| static char* get_netscape_format | ( | const struct Cookie * | co | ) | [static] |
| static void remove_expired | ( | struct CookieInfo * | cookies | ) | [static] |
| static char* sanitize_cookie_path | ( | const char * | cookie_path | ) | [static] |
| static void strstore | ( | char ** | str, |
| const char * | newstr | ||
| ) | [static] |