From c3ec4181d988501e4d7116f32c669d5ca69e7060 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Wed, 29 Jan 1997 21:25:58 -0500 Subject: snapshot of project "lynx", label v2_6fm_970129 --- WWW/Library/Implementation/HTAlert.h | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'WWW/Library/Implementation/HTAlert.h') diff --git a/WWW/Library/Implementation/HTAlert.h b/WWW/Library/Implementation/HTAlert.h index dc470cfd..73013918 100644 --- a/WWW/Library/Implementation/HTAlert.h +++ b/WWW/Library/Implementation/HTAlert.h @@ -82,12 +82,35 @@ extern void HTPromptUsernameAndPassword PARAMS(( char ** password)); -/* Confirm redirection of POST HTConfirmPostRedirect() +/* Confirm a cookie operation. HTConfirmCookie() +** --------------------------- ** -** On entry, +** On entry, +** server is the server sending the Set-Cookie. +** domain is the domain of the cookie. +** path is the path of the cookie. +** name is the name of the cookie. +** value is the value of the cookie. +** +** On exit, +** Returns FALSE on cancel, +** TRUE if the cookie should be set. +*/ +extern BOOL HTConfirmCookie PARAMS(( + void * dp, + CONST char * server, + CONST char * domain, + CONST char * path, + CONST char * name, + CONST char * value)); + + +/* Confirm redirection of POST. HTConfirmPostRedirect() +** ---------------------------- +** On entry, ** redirecting_url is the Location. ** -** On exit, +** On exit, ** Returns 0 on cancel, ** 1 for redirect of POST with content, ** 303 for redirect as GET without content -- cgit 1.4.1-2-gfad0