diff options
author | Gernot Tenchio <[email protected]> | 2011-08-16 14:02:35 +0200 |
---|---|---|
committer | Johannes Schindelin <[email protected]> | 2011-08-17 12:41:24 +0200 |
commit | 4aa35863676335917d2a25a7952031f0fba66dfb (patch) | |
tree | d9ad5879b6b12942e22c1249377a2538038a02e2 /libvncserver/rfbssl.h | |
parent | 7a77cc32b25477026886b6c3ddccacc1b4293e54 (diff) | |
download | libtdevnc-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.h | 15 |
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 */ |