diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-08-12 05:56:32 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-08-12 05:56:32 +0000 |
commit | 0c3cdd5ef2485a79d6fec9261f2850c41577d5b3 (patch) | |
tree | d69164c9f815e2d0308ba3f0d15b18e67163d879 /src/ssl.h | |
parent | 37f7af4b9f1250e3c3439df03d43cf291a4d6f37 (diff) | |
download | luasocket-0c3cdd5ef2485a79d6fec9261f2850c41577d5b3.tar.gz luasocket-0c3cdd5ef2485a79d6fec9261f2850c41577d5b3.tar.bz2 luasocket-0c3cdd5ef2485a79d6fec9261f2850c41577d5b3.zip |
Final push for release...
Diffstat (limited to 'src/ssl.h')
-rw-r--r-- | src/ssl.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/ssl.h b/src/ssl.h deleted file mode 100644 index 13ce97b..0000000 --- a/src/ssl.h +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | #ifndef SSL_H | ||
2 | #define SSL_H | ||
3 | /*=========================================================================*\ | ||
4 | * Simple client SSL support | ||
5 | * LuaSocket toolkit | ||
6 | * | ||
7 | * This is just a simple example to show how to extend LuaSocket | ||
8 | * | ||
9 | * RCS ID: $Id$ | ||
10 | \*=========================================================================*/ | ||
11 | #include <lua.h> | ||
12 | #include <openssl/ssl.h> | ||
13 | |||
14 | #include "buffer.h" | ||
15 | #include "timeout.h" | ||
16 | #include "socket.h" | ||
17 | #include "tcp.h" | ||
18 | |||
19 | typedef struct t_wrap_ { | ||
20 | p_tcp tcp; | ||
21 | SSL* ssl; | ||
22 | int ref; | ||
23 | } t_wrap; | ||
24 | |||
25 | typedef t_wrap *p_wrap; | ||
26 | |||
27 | int ssl_open(lua_State *L); | ||
28 | |||
29 | #endif /* SSL_H */ | ||