Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
38cbc4b7
Commit
38cbc4b7
authored
Sep 25, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved vncauth to libvncserver
parent
7074bbff
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
20 deletions
+27
-20
Makefile
Makefile
+14
-18
vncviewer.jar
classes/vncviewer.jar
+0
-0
rfb.h
rfb.h
+12
-1
storepasswd.c
storepasswd.c
+1
-1
No files found.
Makefile
View file @
38cbc4b7
...
@@ -3,9 +3,8 @@ CFLAGS=-g -Wall
...
@@ -3,9 +3,8 @@ CFLAGS=-g -Wall
#CFLAGS=-O2 -Wall
#CFLAGS=-O2 -Wall
RANLIB
=
ranlib
RANLIB
=
ranlib
INCLUDES
=
-I
.
-Ilibvncauth
-Iinclude
INCLUDES
=
-I
.
-Iinclude
# -Iinclude/X11 -Iinclude/Xserver
VNCAUTHLIB
=
VNCAUTHLIB
=
-Llibvncauth
-lvncauth
VNCSERVERLIB
=
-L
.
-lvncserver
-lz
-ljpeg
VNCSERVERLIB
=
-L
.
-lvncserver
-lz
-ljpeg
# These two lines enable useage of PThreads
# These two lines enable useage of PThreads
...
@@ -21,15 +20,15 @@ OSX_LIBS = -framework ApplicationServices -framework Carbon
...
@@ -21,15 +20,15 @@ OSX_LIBS = -framework ApplicationServices -framework Carbon
SOURCES
=
main.c rfbserver.c miregion.c auth.c sockets.c xalloc.c
\
SOURCES
=
main.c rfbserver.c miregion.c auth.c sockets.c xalloc.c
\
stats.c corre.c hextile.c rre.c translate.c cutpaste.c
\
stats.c corre.c hextile.c rre.c translate.c cutpaste.c
\
zlib.c tight.c httpd.c cursor.o
zlib.c tight.c httpd.c cursor.o
\
d3des.c vncauth.c
OBJS
=
main.o rfbserver.o miregion.o auth.o sockets.o xalloc.o
\
OBJS
=
main.o rfbserver.o miregion.o auth.o sockets.o xalloc.o
\
stats.o corre.o hextile.o rre.o translate.o cutpaste.o
\
stats.o corre.o hextile.o rre.o translate.o cutpaste.o
\
zlib.o tight.o httpd.o cursor.o
zlib.o tight.o httpd.o cursor.o
\
d3des.o vncauth.o
all
:
example pnmshow storepasswd
all
:
example pnmshow storepasswd
$(OBJS)
:
rfb.h
install_OSX
:
OSXvnc-server
install_OSX
:
OSXvnc-server
cp
OSXvnc-server storepasswd ../OSXvnc/build/OSXvnc.app/Contents/MacOS
cp
OSXvnc-server storepasswd ../OSXvnc/build/OSXvnc.app/Contents/MacOS
...
@@ -40,27 +39,24 @@ libvncserver.a: $(OBJS)
...
@@ -40,27 +39,24 @@ libvncserver.a: $(OBJS)
$(AR)
cru
$@
$(OBJS)
$(AR)
cru
$@
$(OBJS)
$(RANLIB)
$@
$(RANLIB)
$@
example
:
example.o libvnc
auth/libvncauth.a libvnc
server.a
example
:
example.o libvncserver.a
$(CC)
-o
example example.o
$(LIBS)
$(CC)
-o
example example.o
$(LIBS)
pnmshow
:
pnmshow.o libvnc
auth/libvncauth.a libvnc
server.a
pnmshow
:
pnmshow.o libvncserver.a
$(CC)
-o
pnmshow pnmshow.o
$(LIBS)
$(CC)
-o
pnmshow pnmshow.o
$(LIBS)
OSXvnc-server
:
mac.o libvnc
auth/libvncauth.a libvnc
server.a
OSXvnc-server
:
mac.o libvncserver.a
$(CC)
-o
OSXvnc-server mac.o
$(LIBS)
$(OSX_LIBS)
$(CC)
-o
OSXvnc-server mac.o
$(LIBS)
$(OSX_LIBS)
storepasswd
:
storepasswd.o libvncauth/libvncauth.a
storepasswd
:
storepasswd.o d3des.o vncauth.o
$(CC)
-o
storepasswd storepasswd.o
$(VNCAUTHLIB)
$(CC)
-o
storepasswd storepasswd.o d3des.o vncauth.o
libvncauth/libvncauth.a
:
(
cd
libvncauth
;
make
)
clean
:
clean
:
rm
-f
$(OBJS)
*
~ core
"#"
*
*
.bak
*
.orig storepasswd.o
*
.a
example.o
\
rm
-f
$(OBJS)
*
~ core
"#"
*
*
.bak
*
.orig storepasswd.o
*
.a
$(OBJS)
libvncauth/
*
.o libvncauth/
*
~ libvncauth/
*
.a
realclean
:
clean
realclean
:
clean
rm
-f
OSXvnc-server storepasswd
rm
-f
OSXvnc-server storepasswd
example pnmshow
depend
:
depend
:
$(CC)
-M
$(INCLUDES)
$(SOURCES)
>
.depend
$(CC)
-M
$(INCLUDES)
$(SOURCES)
>
.depend
...
...
classes/vncviewer.jar
View file @
38cbc4b7
No preview for this file type
rfb.h
View file @
38cbc4b7
...
@@ -49,7 +49,6 @@ int max(int,int);
...
@@ -49,7 +49,6 @@ int max(int,int);
#include <zlib.h>
#include <zlib.h>
#include <rfbproto.h>
#include <rfbproto.h>
#include <vncauth.h>
#include <netinet/in.h>
#include <netinet/in.h>
#ifdef HAVE_PTHREADS
#ifdef HAVE_PTHREADS
#include <pthread.h>
#include <pthread.h>
...
@@ -224,6 +223,18 @@ typedef void (*rfbTranslateFnType)(char *table, rfbPixelFormat *in,
...
@@ -224,6 +223,18 @@ typedef void (*rfbTranslateFnType)(char *table, rfbPixelFormat *in,
int
width
,
int
height
);
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 */
/* region stuff */
typedef
struct
BoxRec
{
typedef
struct
BoxRec
{
...
...
storepasswd.c
View file @
38cbc4b7
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*/
*/
#include <stdio.h>
#include <stdio.h>
#include "
vncauth
.h"
#include "
rfb
.h"
void
usage
(
void
)
void
usage
(
void
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment