diff options
author | David Shaw <[email protected]> | 2004-09-10 21:17:32 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-09-10 21:17:32 +0000 |
commit | f9a057a94196d09a756e2ff57799b8153a86ebd0 (patch) | |
tree | bf83e424b9ba7ef5eb9f0f0b64228f8775b8898c | |
parent | * http.c (make_radix64_string, do_parse_uri, send_request): Add basic auth (diff) | |
download | gnupg-f9a057a94196d09a756e2ff57799b8153a86ebd0.tar.gz gnupg-f9a057a94196d09a756e2ff57799b8153a86ebd0.zip |
* http.h: Add auth field for a parsed_uri to allow for basic auth.
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/http.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 29e3cba7a..b23c075c0 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-09-10 David Shaw <[email protected]> + + * http.h: Add auth field for a parsed_uri to allow for basic auth. + 2004-09-09 Werner Koch <[email protected]> * errors.h (G10ERR_NO_CARD, G10ERR_CANCELED): New error codes. diff --git a/include/http.h b/include/http.h index f01f062c9..2ecd9b4b3 100644 --- a/include/http.h +++ b/include/http.h @@ -1,5 +1,5 @@ /* http.h - HTTP protocol handler - * Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc. + * Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -35,6 +35,7 @@ typedef struct uri_tuple *URI_TUPLE; struct parsed_uri { /* all these pointers point into buffer; most stuff is not escaped */ char *scheme; /* pointer to the scheme string (lowercase) */ + char *auth; /* username/password for basic auth */ char *host; /* host (converted to lowercase) */ ushort port; /* port (always set if the host is set) */ char *path; /* the path */ |