summaryrefslogtreecommitdiffstats
path: root/rfb/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2006-02-28 19:33:34 +0000
committerdscho <dscho>2006-02-28 19:33:34 +0000
commitf52cfa651b99540b8c9a2d251c350cd1cc775aee (patch)
tree58b7066c545273989cc606682da619df84918ecf /rfb/rfb.h
parent79310af7e7a289d2baf1bdc295daefdcc76ecc0e (diff)
downloadlibtdevnc-f52cfa651b99540b8c9a2d251c350cd1cc775aee.tar.gz
libtdevnc-f52cfa651b99540b8c9a2d251c350cd1cc775aee.zip
add handleEventsEagerly flag (Thanks, Donald)
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r--rfb/rfb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index aee6b45..cf4665b 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -310,6 +310,9 @@ typedef struct _rfbScreenInfo
in_addr_t listenInterface;
int deferPtrUpdateTime;
+
+ /* handle as many input events as possible (default off) */
+ rfbBool handleEventsEagerly;
} rfbScreenInfo, *rfbScreenInfoPtr;
@@ -563,7 +566,7 @@ extern void rfbCloseClient(rfbClientPtr cl);
extern int rfbReadExact(rfbClientPtr cl, char *buf, int len);
extern int rfbReadExactTimeout(rfbClientPtr cl, char *buf, int len,int timeout);
extern int rfbWriteExact(rfbClientPtr cl, const char *buf, int len);
-extern void rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec);
+extern int rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec);
extern int rfbConnect(rfbScreenInfoPtr rfbScreen, char* host, int port);
extern int rfbConnectToTcpAddr(char* host, int port);
extern int rfbListenOnTCPPort(int port, in_addr_t iface);