]> sjero.net Git - wget/blobdiff - src/rbuf.h
[svn] Get rid of ssl_iread/ssl_iwrite. Have the SSL code register its
[wget] / src / rbuf.h
index 2b61bcf2769e9480e3477c32c0a0837cb47f382d..b042637728c80b306997db59f26115e0ac5de9ce 100644 (file)
@@ -30,17 +30,10 @@ so, delete this exception statement from your version.  */
 #ifndef RBUF_H
 #define RBUF_H
 
-#ifdef HAVE_SSL
-# include <openssl/ssl.h>
-#endif
-
 /* Retrieval stream */
 struct rbuf
 {
   int fd;
-#ifdef HAVE_SSL
-  SSL *ssl;            /* the ssl structure -- replaces fd for ssl connections */
-#endif /* HAVE_SSL */
   char buffer[4096];           /* the input buffer */
   char *buffer_pos;            /* current position in the buffer */
   size_t buffer_left;          /* number of bytes left in the buffer:
@@ -75,9 +68,6 @@ struct rbuf
 /* Return the file descriptor of RBUF.  */
 #define RBUF_FD(rbuf) ((rbuf)->fd)
 
-/* Return the file descriptor of RBUF.  */
-#define RBUF_SSL(rbuf) ((rbuf)->ssl)
-
 /* Function declarations */
 void rbuf_initialize PARAMS ((struct rbuf *, int));
 int rbuf_initialized_p PARAMS ((struct rbuf *));