summaryrefslogtreecommitdiff
path: root/drivers/openssl/stream_peer_ssl.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-03-13 22:57:24 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-03-13 22:57:24 -0300
commit31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b (patch)
treeb6d3a290333c72940b49ed4c930ff6858a59515e /drivers/openssl/stream_peer_ssl.h
parenta65edb4caabec21654c56552e11aacf0fd9291de (diff)
-fix bug in cache for atlas import/export
-fix some menus -fixed bug in out transition curves -detect and remove file:/// in collada -remove multiscript for now -remove dependencies on mouse in OS, moved to Input -avoid fscache from screwing up (fix might make it slower, but it works) -funcref was missing, it's there now
Diffstat (limited to 'drivers/openssl/stream_peer_ssl.h')
-rw-r--r--drivers/openssl/stream_peer_ssl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/openssl/stream_peer_ssl.h b/drivers/openssl/stream_peer_ssl.h
new file mode 100644
index 0000000000..a126f6122c
--- /dev/null
+++ b/drivers/openssl/stream_peer_ssl.h
@@ -0,0 +1,26 @@
+#ifndef STREAM_PEER_SSL_H
+#define STREAM_PEER_SSL_H
+
+#include "io/stream_peer.h"
+
+class StreamPeerSSL : public StreamPeer {
+
+ OBJ_TYPE(StreamPeerSSL,StreamPeer);
+
+ Ref<StreamPeer> base;
+ bool block;
+ static BIO_METHOD bio_methods;
+
+ static int bio_create( BIO *b );
+ static int bio_destroy( BIO *b );
+ static int bio_read( BIO *b, char *buf, int len );
+ static int bio_write( BIO *b, const char *buf, int len );
+ static long bio_ctrl( BIO *b, int cmd, long num, void *ptr );
+ static int bio_gets( BIO *b, char *buf, int len );
+ static int bio_puts( BIO *b, const char *str );
+
+public:
+ StreamPeerSSL();
+};
+
+#endif // STREAM_PEER_SSL_H