diff options
author | dscho <dscho> | 2001-09-25 11:58:24 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-09-25 11:58:24 +0000 |
commit | 38cbc4b783f6935e2f2d0b2fa4395d9fe5c007a7 (patch) | |
tree | 747e31bfe49a23ae119cb7f834393d0901f03905 /rfb.h | |
parent | 7074bbff92ba73b4bf67192acc3d7492c12f72ed (diff) | |
download | libtdevnc-38cbc4b783f6935e2f2d0b2fa4395d9fe5c007a7.tar.gz libtdevnc-38cbc4b783f6935e2f2d0b2fa4395d9fe5c007a7.zip |
moved vncauth to libvncserver
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -49,7 +49,6 @@ int max(int,int); #include <zlib.h> #include <rfbproto.h> -#include <vncauth.h> #include <netinet/in.h> #ifdef HAVE_PTHREADS #include <pthread.h> @@ -224,6 +223,18 @@ typedef void (*rfbTranslateFnType)(char *table, rfbPixelFormat *in, int width, int height); +/* + * vncauth.h - describes the functions provided by the vncauth library. + */ + +#define MAXPWLEN 8 +#define CHALLENGESIZE 16 + +extern int vncEncryptAndStorePasswd(char *passwd, char *fname); +extern char *vncDecryptPasswdFromFile(char *fname); +extern void vncRandomBytes(unsigned char *bytes); +extern void vncEncryptBytes(unsigned char *bytes, char *passwd); + /* region stuff */ typedef struct BoxRec { |