gnupg/include (ChangeLog http.h)
cvs user dshaw
cvs at cvs.gnupg.org
Wed Jun 22 05:50:34 CEST 2005
Date: Wednesday, June 22, 2005 @ 06:13:41
Author: dshaw
Path: /cvs/gnupg/gnupg/include
Modified: ChangeLog http.h
* http.h: Fix prototypes for http_open_document and http_open to pass
in auth and proxyauth.
-----------+
ChangeLog | 5 +++++
http.h | 10 ++++++----
2 files changed, 11 insertions(+), 4 deletions(-)
Index: gnupg/include/ChangeLog
diff -u gnupg/include/ChangeLog:1.87 gnupg/include/ChangeLog:1.88
--- gnupg/include/ChangeLog:1.87 Sat May 21 16:04:31 2005
+++ gnupg/include/ChangeLog Wed Jun 22 06:13:41 2005
@@ -1,3 +1,8 @@
+2005-06-21 David Shaw <dshaw at jabberwocky.com>
+
+ * http.h: Fix prototypes for http_open_document and http_open to
+ pass in auth and proxyauth.
+
2005-05-19 Werner Koch <wk at g10code.com>
* util.h: Add definitions for membuf functions.
Index: gnupg/include/http.h
diff -u gnupg/include/http.h:1.10 gnupg/include/http.h:1.11
--- gnupg/include/http.h:1.10 Tue May 31 10:39:15 2005
+++ gnupg/include/http.h Wed Jun 22 06:13:41 2005
@@ -36,7 +36,7 @@
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 */
+ const 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,11 +76,13 @@
typedef struct http_context *HTTP_HD;
int http_open( HTTP_HD hd, HTTP_REQ_TYPE reqtype, const char *url,
- unsigned int flags, const char *proxy );
+ const char *auth, unsigned int flags, const char *proxy,
+ const char *proxyauth );
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,
- unsigned int flags, const char *proxy );
+int http_open_document( HTTP_HD hd, const char *document, const char *auth,
+ unsigned int flags, const char *proxy,
+ const char *proxyauth );
#endif /*G10_HTTP_H*/
More information about the Gnupg-commits
mailing list