summaryrefslogtreecommitdiff
path: root/src/iosocket.h
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
commit8b2630a82fbecfd57fa38aebb397a755936690e5 (patch)
treea9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/iosocket.h
parente57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff)
downloadlighttpd-master.tar.gz
add README to point to lighttpd-1.4.x as stableHEADmaster
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/iosocket.h')
-rw-r--r--src/iosocket.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/iosocket.h b/src/iosocket.h
deleted file mode 100644
index a11dbfe0..00000000
--- a/src/iosocket.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef _IOSOCKET_H_
-#define _IOSOCKET_H_
-
-/**
- * make sure we know about OPENSSL all the time
- *
- * if we don't include config.h here we run into different sizes
- * for the iosocket-struct depending on config.h include before
- * iosocket.h or not
- */
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#if defined HAVE_LIBSSL && defined HAVE_OPENSSL_SSL_H
-# define USE_OPENSSL
-# include <openssl/ssl.h>
-#endif
-
-#include "settings.h"
-#include "buffer.h"
-
-typedef enum {
- IOSOCKET_TYPE_UNSET,
- IOSOCKET_TYPE_SOCKET,
- IOSOCKET_TYPE_PIPE
-} iosocket_t;
-
-/**
- * a non-blocking fd
- */
-typedef struct {
- int fd;
- int fde_ndx;
-
-#ifdef USE_OPENSSL
- SSL *ssl;
-#ifndef OPENSSL_NO_TLSEXT
- buffer *tlsext_server_name;
-#endif
-#endif
-
- iosocket_t type; /**< sendfile on solaris doesn't work on pipes */
-} iosocket;
-
-LI_API iosocket * iosocket_init(void);
-LI_API void iosocket_free(iosocket *sock);
-
-#endif