diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2004-05-07 01:13:29 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2004-05-07 01:13:29 -0400 |
commit | d326f24d169154673717129098ff4554a673f178 (patch) | |
tree | 7229f817b10bcdb82f8df2b6af3a3acc792a762d /src/LYCookie.h | |
parent | 2cd8e80bfe2792ce8999a26b34384598f58e3889 (diff) | |
download | lynx-snapshots-d326f24d169154673717129098ff4554a673f178.tar.gz |
snapshot of project "lynx", label v2-8-6dev_3
Diffstat (limited to 'src/LYCookie.h')
-rw-r--r-- | src/LYCookie.h | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/src/LYCookie.h b/src/LYCookie.h index 0aef533c..ffa96453 100644 --- a/src/LYCookie.h +++ b/src/LYCookie.h @@ -9,47 +9,43 @@ typedef enum { ACCEPT_ALWAYS = 0 - , REJECT_ALWAYS - , QUERY_USER + ,REJECT_ALWAYS + ,QUERY_USER } behaviour_t; typedef enum { INVCHECK_QUERY = 0 - , INVCHECK_STRICT - , INVCHECK_LOOSE + ,INVCHECK_STRICT + ,INVCHECK_LOOSE } invcheck_behaviour_t; typedef enum { FLAG_ACCEPT_ALWAYS = 0 - , FLAG_REJECT_ALWAYS - , FLAG_QUERY_USER - , FLAG_FROM_FILE - , FLAG_INVCHECK_QUERY - , FLAG_INVCHECK_STRICT - , FLAG_INVCHECK_LOOSE + ,FLAG_REJECT_ALWAYS + ,FLAG_QUERY_USER + ,FLAG_FROM_FILE + ,FLAG_INVCHECK_QUERY + ,FLAG_INVCHECK_STRICT + ,FLAG_INVCHECK_LOOSE } cookie_domain_flags; struct _domain_entry { - char * domain; /* Domain for which these cookies are valid */ - behaviour_t bv; - invcheck_behaviour_t invcheck_bv; - HTList * cookie_list; + char *domain; /* Domain for which these cookies are valid */ + behaviour_t bv; + invcheck_behaviour_t invcheck_bv; + HTList *cookie_list; }; typedef struct _domain_entry domain_entry; -extern void LYSetCookie ( - const char * SetCookie, - const char * SetCookie2, - const char * address); -extern char *LYAddCookieHeader ( - char * hostname, - char * partialpath, - int port, - BOOL secure); -extern void LYStoreCookies ( - char * cookie_file); -extern void LYLoadCookies ( - char * cookie_file); -extern void LYConfigCookies (void); +extern void LYSetCookie(const char *SetCookie, + const char *SetCookie2, + const char *address); +extern char *LYAddCookieHeader(char *hostname, + char *partialpath, + int port, + BOOL secure); +extern void LYStoreCookies(char *cookie_file); +extern void LYLoadCookies(char *cookie_file); +extern void LYConfigCookies(void); #endif /* LYCOOKIES_H */ |