diff options
author | Werner Koch <wk@gnupg.org> | 2010-08-05 20:47:25 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-08-05 20:47:25 +0200 |
commit | be622bd2682de468472cd6f12cacb6028069865f (patch) | |
tree | e4cc2c5b88c53617bb78921ba34e518d3ee84cb1 /common/http.h | |
parent | Typo fix (diff) | |
download | gnupg2-be622bd2682de468472cd6f12cacb6028069865f.tar.xz gnupg2-be622bd2682de468472cd6f12cacb6028069865f.zip |
Simplified http.c.
Diffstat (limited to 'common/http.h')
-rw-r--r-- | common/http.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/http.h b/common/http.h index b00d87a3f..2dd612ebc 100644 --- a/common/http.h +++ b/common/http.h @@ -21,9 +21,7 @@ #define GNUPG_COMMON_HTTP_H #include <gpg-error.h> -#ifdef HTTP_USE_ESTREAM #include "../common/estream.h" -#endif struct uri_tuple_s { struct uri_tuple_s *next; @@ -100,13 +98,8 @@ gpg_error_t http_open_document (http_t *r_hd, const char *srvtag, strlist_t headers); -#ifdef HTTP_USE_ESTREAM estream_t http_get_read_ptr (http_t hd); estream_t http_get_write_ptr (http_t hd); -#else /*!HTTP_USE_ESTREAM*/ -FILE *http_get_read_ptr (http_t hd); -FILE *http_get_write_ptr (http_t hd); -#endif /*!HTTP_USE_ESTREAM*/ unsigned int http_get_status_code (http_t hd); const char *http_get_header (http_t hd, const char *name); |