diff options
Diffstat (limited to 'WWW/Library/Implementation/HTAABrow.h')
-rw-r--r-- | WWW/Library/Implementation/HTAABrow.h | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/WWW/Library/Implementation/HTAABrow.h b/WWW/Library/Implementation/HTAABrow.h index 94034254..064f11e3 100644 --- a/WWW/Library/Implementation/HTAABrow.h +++ b/WWW/Library/Implementation/HTAABrow.h @@ -1,5 +1,5 @@ /* - * $LynxId: HTAABrow.h,v 1.15 2010/09/25 11:42:32 tom Exp $ + * $LynxId: HTAABrow.h,v 1.16 2010/10/27 00:13:53 tom Exp $ * * BROWSER SIDE ACCESS AUTHORIZATION MODULE @@ -40,8 +40,7 @@ extern "C" { #endif /* - -Routines for Browser Side Recording of AA Info + Routines for Browser Side Recording of AA Info Most of the browser-side AA is done by the following two functions (which are called from file HTTP.c so the browsers using libwww only need to be linked with the new @@ -55,24 +54,26 @@ Routines for Browser Side Recording of AA Info HTAA_shouldRetryWithAuth() determines whether to retry the request with AA or with a new AA (in case username or password was misspelled). - *//* PUBLIC HTAA_composeAuth() - * - * COMPOSE THE ENTIRE AUTHORIZATION HEADER LINE IF WE - * ALREADY KNOW, THAT THE HOST MIGHT REQUIRE AUTHORIZATION - * - * ON ENTRY: - * hostname is the hostname of the server. - * portnumber is the portnumber in which the server runs. - * docname is the pathname of the document (as in URL) - * - * ON EXIT: - * returns NULL, if no authorization seems to be needed, or - * if it is the entire Authorization: line, e.g. - * - * "Authorization: basic username:password" - * - * As usual, this string is automatically freed. - */ extern char *HTAA_composeAuth(const char *hostname, + */ +/* PUBLIC HTAA_composeAuth() + * + * COMPOSE THE ENTIRE AUTHORIZATION HEADER LINE IF WE + * ALREADY KNOW, THAT THE HOST MIGHT REQUIRE AUTHORIZATION + * + * ON ENTRY: + * hostname is the hostname of the server. + * portnumber is the portnumber in which the server runs. + * docname is the pathname of the document (as in URL) + * + * ON EXIT: + * returns NULL, if no authorization seems to be needed, or + * if it is the entire Authorization: line, e.g. + * + * "Authorization: basic username:password" + * + * As usual, this string is automatically freed. + */ + extern char *HTAA_composeAuth(const char *hostname, const int portnumber, const char *docname, int IsProxy); |