diff options
author | dscho <dscho> | 2001-10-04 18:03:37 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-04 18:03:37 +0000 |
commit | 48eb9b22c7097c4af61760ce3fdc7f5135e657bc (patch) | |
tree | 16987447acfe4c26cee592fdc26fa25c9be962ab /rfb.h | |
parent | 1ed7f54eefa8d55640fcb4b6776b79db14a8c064 (diff) | |
download | libtdevnc-48eb9b22c7097c4af61760ce3fdc7f5135e657bc.tar.gz libtdevnc-48eb9b22c7097c4af61760ce3fdc7f5135e657bc.zip |
rfbDoCopyRect/Region and rfbScheduleCopyRect/Region.
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -118,7 +118,7 @@ int max(int,int); #define MUTEX(mutex) #define INIT_MUTEX(mutex) #define TINI_MUTEX(mutex) -#define SIGNAL(cond) this_is_unsupported +#define SIGNAL(cond) #define WAIT(cond,mutex) this_is_unsupported #define COND(cond) #define INIT_COND(cond) @@ -256,6 +256,8 @@ typedef struct struct rfbCursor* cursor; MUTEX(cursorMutex); + IF_PTHREADS(Bool backgroundLoop); + /* the following members have to be supplied by the serving process */ char* frameBuffer; KbdAddEventProcPtr kbdAddEvent; @@ -516,7 +518,12 @@ static const int rfbEndianTest = (_BYTE_ORDER == _LITTLE_ENDIAN); extern void rfbLog(char *format, ...); extern void rfbLogPerror(char *str); -extern int runVNCServer(int argc, char *argv[]); + +void rfbScheduleCopyRect(rfbScreenInfoPtr rfbScreen,int x1,int y1,int x2,int y2,int dx,int dy); +void rfbScheduleCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,int dx,int dy); + +void rfbDoCopyRect(rfbScreenInfoPtr rfbScreen,int x1,int y1,int x2,int y2,int dx,int dy); +void rfbDoCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,int dx,int dy); /* sockets.c */ |