krfb
libvncserver/rfb/rfbclient.h
Go to the documentation of this file.
149 typedef void (*GotFrameBufferUpdateProc)(struct _rfbClient* client, int x, int y, int w, int h);
157 typedef void (*GotCursorShapeProc)(struct _rfbClient* client, int xhot, int yhot, int width, int height, int bytesPerPixel);
158 typedef void (*GotCopyRectProc)(struct _rfbClient* client, int src_x, int src_y, int w, int h, int dest_x, int dest_y);
332 extern rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc);
345 extern rfbBool ConnectToRFBRepeater(rfbClient* client,const char *repeaterHost, int repeaterPort, const char *destHost, int destPort);
int ListenAtTcpPort(int port)
rfbBool HandleCursorShape(rfbClient *client, int xhot, int yhot, int width, int height, uint32_t enc)
struct _rfbClient rfbClient
HandleTextChatProc HandleTextChat
Definition: libvncserver/rfb/rfbclient.h:270
rfbBool SendXvpMsg(rfbClient *client, uint8_t version, uint8_t code)
#define RFB_BUFFER_SIZE
Note that the CoRRE encoding uses this buffer and assumes it is big enough to hold 255 * 255 * 32 bit...
Definition: libvncserver/rfb/rfbclient.h:183
char * destHost
When the server is a repeater, this specifies the final destination.
Definition: libvncserver/rfb/rfbclient.h:320
HandleKeyboardLedStateProc HandleKeyboardLedState
Definition: libvncserver/rfb/rfbclient.h:271
typedef void(__LZO_CDECL *lzo_free_func_t)(lzo_callback_p self
void rfbClientRegisterExtension(rfbClientProtocolExtension *e)
rfbCredential *(* GetCredentialProc)(struct _rfbClient *client, int credentialType)
Definition: libvncserver/rfb/rfbclient.h:152
void(* GotXCutTextProc)(struct _rfbClient *client, const char *text, int textlen)
Definition: libvncserver/rfb/rfbclient.h:154
rfbSupportedMessages supportedMessages
Which messages are supported by the server This is a guess for most servers.
Definition: libvncserver/rfb/rfbclient.h:294
SoftCursorUnlockScreenProc SoftCursorUnlockScreen
Definition: libvncserver/rfb/rfbclient.h:274
rfbBool InitialiseRFBConnection(rfbClient *client)
struct _rfbCredential::@4 userCredential
Plain (VeNCrypt), MSLogon (UltraVNC)
rfbBool palmVNC
use palmvnc specific SetScale (vs ultravnc)
Definition: libvncserver/rfb/rfbclient.h:115
GetCredentialProc GetCredential
To support security types that requires user input (except VNC password authentication), for example VeNCrypt and MSLogon, this callback function must be set before the authentication.
Definition: libvncserver/rfb/rfbclient.h:313
void(* HandleKeyboardLedStateProc)(struct _rfbClient *client, int value, int pad)
Definition: libvncserver/rfb/rfbclient.h:145
int listenForIncomingConnectionsNoFork(rfbClient *viewer, int usec_timeout)
rfbBool(* MallocFrameBufferProc)(struct _rfbClient *client)
Definition: libvncserver/rfb/rfbclient.h:153
int CurrentKeyboardLedState
Definition: libvncserver/rfb/rfbclient.h:265
HandleCursorPosProc HandleCursorPos
Definition: libvncserver/rfb/rfbclient.h:272
HandleXvpMsgProc HandleXvpMsg
hook to handle xvp server messages
Definition: libvncserver/rfb/rfbclient.h:327
int ConnectClientToTcpAddr(unsigned int host, int port)
char * x509ClientKeyFile
Definition: libvncserver/rfb/rfbclient.h:128
void(* HandleTextChatProc)(struct _rfbClient *client, int value, char *text)
Definition: libvncserver/rfb/rfbclient.h:143
void(* rfbClientLogProc)(const char *format,...)
Definition: libvncserver/rfb/rfbclient.h:342
int KeyboardLedStateEnabled
Definition: libvncserver/rfb/rfbclient.h:264
Definition: rfbproto.h:148
int FindFreeTcpPort(void)
rfbBool SetNonBlocking(int sock)
rfbBool ReadFromRFBServer(rfbClient *client, char *out, unsigned int n)
int ConnectClientToTcpAddr6(const char *hostname, int port)
rfbClientLogProc rfbClientLog
rfbBool ConnectToRFBRepeater(rfbClient *client, const char *repeaterHost, int repeaterPort, const char *destHost, int destPort)
rfbBool TextChatFinish(rfbClient *client)
rfbBool SendClientCutText(rfbClient *client, char *str, int len)
rfbBool SendPointerEvent(rfbClient *client, int x, int y, int buttonMask)
MallocFrameBufferProc MallocFrameBuffer
Definition: libvncserver/rfb/rfbclient.h:279
Definition: rfbproto.h:1149
rfbBool(* HandleCursorPosProc)(struct _rfbClient *client, int x, int y)
Definition: libvncserver/rfb/rfbclient.h:146
Definition: rfbproto.h:537
void listenForIncomingConnections(rfbClient *viewer)
int ConnectClientToUnixSock(const char *sockFile)
rfbBool PermitServerInput(rfbClient *client, int enabled)
rfbBool rfbInitClient(rfbClient *client, int *argc, char **argv)
void(* SoftCursorLockAreaProc)(struct _rfbClient *client, int x, int y, int w, int h)
Definition: libvncserver/rfb/rfbclient.h:147
int WaitForMessage(rfbClient *client, unsigned int usecs)
GotCursorShapeProc GotCursorShape
Definition: libvncserver/rfb/rfbclient.h:283
char * x509ClientCertFile
Definition: libvncserver/rfb/rfbclient.h:127
rfbBool(* handleMessage)(rfbClient *cl, rfbServerToClientMsg *message)
returns TRUE if it handled the message
Definition: libvncserver/rfb/rfbclient.h:384
void(* GotFrameBufferUpdateProc)(struct _rfbClient *client, int x, int y, int w, int h)
Definition: libvncserver/rfb/rfbclient.h:149
rfbBool(* handleEncoding)(rfbClient *cl, rfbFramebufferUpdateRectHeader *rect)
returns TRUE if the encoding was handled
Definition: libvncserver/rfb/rfbclient.h:381
rfbBool rfbEnableClientLogging
void rfbClientCleanup(rfbClient *client)
rfbClientCleanup() does not touch client->frameBuffer
rfbClient * rfbGetClient(int bitsPerSample, int samplesPerPixel, int bytesPerPixel)
void(* HandleXvpMsgProc)(struct _rfbClient *client, uint8_t version, uint8_t opcode)
Definition: libvncserver/rfb/rfbclient.h:144
void(* GotCopyRectProc)(struct _rfbClient *client, int src_x, int src_y, int w, int h, int dest_x, int dest_y)
Definition: libvncserver/rfb/rfbclient.h:158
struct _rfbClientProtocolExtension rfbClientProtocolExtension
Definition: rfbproto.h:354
void(* GotCursorShapeProc)(struct _rfbClient *client, int xhot, int yhot, int width, int height, int bytesPerPixel)
Definition: libvncserver/rfb/rfbclient.h:157
rfbBool SendKeyEvent(rfbClient *client, uint32_t key, rfbBool down)
int AcceptTcpConnection(int listenSock)
void * rfbClientGetClientData(rfbClient *client, void *tag)
rfbBool SetFormatAndEncodings(rfbClient *client)
struct _rfbClient::@5 updateRect
rfbBool SendScaleSetting(rfbClient *client, int scaleSetting)
rfbBool errorMessageOnReadFailure
void(* SoftCursorUnlockScreenProc)(struct _rfbClient *client)
Definition: libvncserver/rfb/rfbclient.h:148
GotFrameBufferUpdateProc GotFrameBufferUpdate
Definition: libvncserver/rfb/rfbclient.h:275
SoftCursorLockAreaProc SoftCursorLockArea
Definition: libvncserver/rfb/rfbclient.h:273
rfbBool StringToIPAddr(const char *str, unsigned int *addr)
rfbBool SetDSCP(int sock, int dscp)
rfbBool SendIncrementalFramebufferUpdateRequest(rfbClient *client)
uint32_t * clientAuthSchemes
The 0-terminated security types supported by the client.
Definition: libvncserver/rfb/rfbclient.h:317
FinishedFrameBufferUpdateProc FinishedFrameBufferUpdate
Definition: libvncserver/rfb/rfbclient.h:276
void(* FinishedFrameBufferUpdateProc)(struct _rfbClient *client)
Definition: libvncserver/rfb/rfbclient.h:150
rfbBool SupportsClient2Server(rfbClient *client, int messageType)
rfbBool HandleRFBServerMessage(rfbClient *client)
rfbBool TextChatOpen(rfbClient *client)
void SetClientAuthSchemes(rfbClient *client, const uint32_t *authSchemes, int size)
void PrintPixelFormat(rfbPixelFormat *format)
struct _rfbClientProtocolExtension * next
Definition: libvncserver/rfb/rfbclient.h:386
rfbBool TextChatSend(rfbClient *client, char *text)
rfbClientLogProc rfbClientErr
rfbBool ConnectToRFBServer(rfbClient *client, const char *hostname, int port)
For GetCredentialProc callback function to return.
Definition: libvncserver/rfb/rfbclient.h:120
Definition: rfbproto.h:551
void rfbClientSetClientData(rfbClient *client, void *tag, void *data)
rfbBool SendFramebufferUpdateRequest(rfbClient *client, int x, int y, int w, int h, rfbBool incremental)
int scaleSetting
0 means no scale set, else 1/scaleSetting
Definition: libvncserver/rfb/rfbclient.h:116
rfbBool TextChatClose(rfbClient *client)
Definition: libvncserver/rfb/rfbclient.h:160
rfbBool SameMachine(int sock)
rfbBool WriteToRFBServer(rfbClient *client, char *buf, int n)
rfbBool SupportsServer2Client(rfbClient *client, int messageType)
GetPasswordProc GetPassword
the pointer returned by GetPassword will be freed after use!
Definition: libvncserver/rfb/rfbclient.h:278
char *(* GetPasswordProc)(struct _rfbClient *client)
Definition: libvncserver/rfb/rfbclient.h:151
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.