From f52cfa651b99540b8c9a2d251c350cd1cc775aee Mon Sep 17 00:00:00 2001 From: dscho Date: Tue, 28 Feb 2006 19:33:34 +0000 Subject: add handleEventsEagerly flag (Thanks, Donald) --- rfb/rfb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rfb/rfb.h') 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); -- cgit v1.2.1