summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2006-09-11 14:49:12 +0000
committerdscho <dscho>2006-09-11 14:49:12 +0000
commit6cfd9afee967ec1bd69c1ff2f9efb03c75d0a55d (patch)
tree02b8b661a512f3ca10ad349572e332ba3ee40f1a /rfb
parente4c85d48e68d5f135dd3a478aff8adb7697a1349 (diff)
downloadlibtdevnc-6cfd9afee967ec1bd69c1ff2f9efb03c75d0a55d.tar.gz
libtdevnc-6cfd9afee967ec1bd69c1ff2f9efb03c75d0a55d.zip
make cut text handling using a hook
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfbclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index d8e3fdc..e8754fd 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -104,6 +104,7 @@ typedef void (*SoftCursorUnlockScreenProc)(struct _rfbClient* client);
typedef void (*GotFrameBufferUpdateProc)(struct _rfbClient* client, int x, int y, int w, int h);
typedef char* (*GetPasswordProc)(struct _rfbClient* client);
typedef rfbBool (*MallocFrameBufferProc)(struct _rfbClient* client);
+typedef void (*GotXCutTextProc)(struct _rfbClient* client, const char *text, int textlen);
typedef void (*BellProc)(struct _rfbClient* client);
typedef struct _rfbClient {
@@ -136,8 +137,6 @@ typedef struct _rfbClient {
char *desktopName;
rfbPixelFormat format;
rfbServerInitMsg si;
- char *serverCutText;
- rfbBool newServerCutText;
/* sockets.c */
#define RFB_BUF_SIZE 8192
@@ -220,6 +219,7 @@ typedef struct _rfbClient {
/* the pointer returned by GetPassword will be freed after use! */
GetPasswordProc GetPassword;
MallocFrameBufferProc MallocFrameBuffer;
+ GotXCutTextProc GotXCutText;
BellProc Bell;
/* Which messages are supported by the server