summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbssl.h
diff options
context:
space:
mode:
authorGernot Tenchio <[email protected]>2011-08-16 14:02:35 +0200
committerJohannes Schindelin <[email protected]>2011-08-17 12:41:24 +0200
commit4aa35863676335917d2a25a7952031f0fba66dfb (patch)
treed9ad5879b6b12942e22c1249377a2538038a02e2 /libvncserver/rfbssl.h
parent7a77cc32b25477026886b6c3ddccacc1b4293e54 (diff)
downloadlibtdevnc-4aa35863676335917d2a25a7952031f0fba66dfb.tar.gz
libtdevnc-4aa35863676335917d2a25a7952031f0fba66dfb.zip
websockets: Add encryption support
[jes: moved out GnuTLS and OpenSSL support, added a dummy support, to separate changes better, and to keep things compiling] Signed-off-by: Johannes Schindelin <[email protected]>
Diffstat (limited to 'libvncserver/rfbssl.h')
-rw-r--r--libvncserver/rfbssl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libvncserver/rfbssl.h b/libvncserver/rfbssl.h
new file mode 100644
index 0000000..f1c4792
--- /dev/null
+++ b/libvncserver/rfbssl.h
@@ -0,0 +1,15 @@
+#ifndef _VNCSSL_H
+#define _VNCSSL_H 1
+
+#include "rfb/rfb.h"
+#include "rfb/rfbconfig.h"
+
+int rfbssl_init(rfbClientPtr cl);
+int rfbssl_pending(rfbClientPtr cl);
+int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize);
+int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize);
+int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize);
+void rfbssl_destroy(rfbClientPtr cl);
+
+
+#endif /* _VNCSSL_H */