mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* http.h: Add auth field for a parsed_uri to allow for basic auth.
This commit is contained in:
parent
440e9a9979
commit
f9a057a941
@ -1,3 +1,7 @@
|
|||||||
|
2004-09-10 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* http.h: Add auth field for a parsed_uri to allow for basic auth.
|
||||||
|
|
||||||
2004-09-09 Werner Koch <wk@g10code.com>
|
2004-09-09 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* errors.h (G10ERR_NO_CARD, G10ERR_CANCELED): New error codes.
|
* errors.h (G10ERR_NO_CARD, G10ERR_CANCELED): New error codes.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* http.h - HTTP protocol handler
|
/* 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.
|
* This file is part of GnuPG.
|
||||||
*
|
*
|
||||||
@ -35,6 +35,7 @@ typedef struct uri_tuple *URI_TUPLE;
|
|||||||
struct parsed_uri {
|
struct parsed_uri {
|
||||||
/* all these pointers point into buffer; most stuff is not escaped */
|
/* all these pointers point into buffer; most stuff is not escaped */
|
||||||
char *scheme; /* pointer to the scheme string (lowercase) */
|
char *scheme; /* pointer to the scheme string (lowercase) */
|
||||||
|
char *auth; /* username/password for basic auth */
|
||||||
char *host; /* host (converted to lowercase) */
|
char *host; /* host (converted to lowercase) */
|
||||||
ushort port; /* port (always set if the host is set) */
|
ushort port; /* port (always set if the host is set) */
|
||||||
char *path; /* the path */
|
char *path; /* the path */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user