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
e7dacc57
Commit
e7dacc57
authored
Oct 12, 2001
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanups
parent
67094d7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
README
README
+1
-1
rfb.h
rfb.h
+3
-0
rfbserver.c
rfbserver.c
+1
-1
No files found.
README
View file @
e7dacc57
...
@@ -4,7 +4,7 @@ Copyright (C) 2001 Johannes E. Schindelin
...
@@ -4,7 +4,7 @@ Copyright (C) 2001 Johannes E. Schindelin
What is it?
What is it?
-----------
-----------
VNC is set of programs using the RFB (Remote Frame Buffer) protocol. They
VNC is
a
set of programs using the RFB (Remote Frame Buffer) protocol. They
are designed to "export" a frame buffer via net (if you don't know VNC, I
are designed to "export" a frame buffer via net (if you don't know VNC, I
suggest you read "Basics" below). It is already in wide use for
suggest you read "Basics" below). It is already in wide use for
administration, but it is not that easy to program a server yourself.
administration, but it is not that easy to program a server yourself.
...
...
rfb.h
View file @
e7dacc57
...
@@ -35,6 +35,7 @@ typedef unsigned short CARD16;
...
@@ -35,6 +35,7 @@ typedef unsigned short CARD16;
typedef
unsigned
int
CARD32
;
typedef
unsigned
int
CARD32
;
typedef
CARD32
Pixel
;
typedef
CARD32
Pixel
;
typedef
CARD32
KeySym
;
typedef
CARD32
KeySym
;
#define SIGNED signed
/* for some strange reason, "typedef signed char Bool;" yields a four byte
/* for some strange reason, "typedef signed char Bool;" yields a four byte
signed int on IRIX, but only for rfbserver.o!!! */
signed int on IRIX, but only for rfbserver.o!!! */
#define Bool signed char
#define Bool signed char
...
@@ -57,6 +58,8 @@ typedef CARD32 KeySym;
...
@@ -57,6 +58,8 @@ typedef CARD32 KeySym;
#define _BYTE_ORDER _LITTLE_ENDIAN
#define _BYTE_ORDER _LITTLE_ENDIAN
#undef Bool
#undef Bool
#define Bool char
#define Bool char
#undef SIGNED
#define SIGNED
#include <sys/types.h>
#include <sys/types.h>
/* typedef unsigned int pthread_t; */
/* typedef unsigned int pthread_t; */
/* SUN cc seems to have problems with inclusion of sys/types! */
/* SUN cc seems to have problems with inclusion of sys/types! */
...
...
rfbserver.c
View file @
e7dacc57
...
@@ -1121,7 +1121,7 @@ rfbSendCopyRegion(cl, reg, dx, dy)
...
@@ -1121,7 +1121,7 @@ rfbSendCopyRegion(cl, reg, dx, dy)
sraRectangleIterator
*
i
;
sraRectangleIterator
*
i
;
sraRect
rect1
;
sraRect
rect1
;
printf
(
"copyrect: "
);
sraRgnPrint
(
reg
);
putchar
(
'\n'
);
fflush
(
stdout
);
/* printf("copyrect: "); sraRgnPrint(reg); putchar('\n');fflush(stdout); */
i
=
sraRgnGetReverseIterator
(
reg
,
dx
>
0
,
dy
>
0
);
i
=
sraRgnGetReverseIterator
(
reg
,
dx
>
0
,
dy
>
0
);
while
(
sraRgnIteratorNext
(
i
,
&
rect1
))
{
while
(
sraRgnIteratorNext
(
i
,
&
rect1
))
{
...
...
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