mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-21 19:48:05 +01:00
* http.h: Fix prototypes for http_open_document and http_open again,
to handle the new different auth for regular files and proxies.
This commit is contained in:
parent
c5a94d29ce
commit
b7a7551085
@ -1,3 +1,9 @@
|
||||
2005-06-23 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* http.h: Fix prototypes for http_open_document and http_open
|
||||
again, to handle the new different auth for regular files and
|
||||
proxies.
|
||||
|
||||
2005-06-21 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* http.h: Fix prototypes for http_open_document and http_open to
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* http.h - HTTP protocol handler
|
||||
* Copyright (C) 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
|
||||
* Copyright (C) 1999, 2000, 2001, 2003, 2004,
|
||||
* 2005 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
*
|
||||
@ -36,7 +37,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) */
|
||||
const char *auth; /* username/password for basic auth */
|
||||
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 */
|
||||
@ -76,13 +77,11 @@ struct http_context {
|
||||
typedef struct http_context *HTTP_HD;
|
||||
|
||||
int http_open( HTTP_HD hd, HTTP_REQ_TYPE reqtype, const char *url,
|
||||
const char *auth, unsigned int flags, const char *proxy,
|
||||
const char *proxyauth );
|
||||
char *auth, unsigned int flags, const char *proxy );
|
||||
void http_start_data( HTTP_HD hd );
|
||||
int http_wait_response( HTTP_HD hd, unsigned int *ret_status );
|
||||
void http_close( HTTP_HD hd );
|
||||
int http_open_document( HTTP_HD hd, const char *document, const char *auth,
|
||||
unsigned int flags, const char *proxy,
|
||||
const char *proxyauth );
|
||||
int http_open_document( HTTP_HD hd, const char *document, char *auth,
|
||||
unsigned int flags, const char *proxy );
|
||||
|
||||
#endif /*G10_HTTP_H*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user