Home
last modified time | relevance | path

Searched refs:rfbClientPtr (Results 1 – 25 of 46) sorted by relevance

12

/external/libvncserver/rfb/
Drfb.h698 } rfbClientRec, *rfbClientPtr; typedef
747 extern void rfbCloseClient(rfbClientPtr cl);
748 extern int rfbReadExact(rfbClientPtr cl, char *buf, int len);
749 extern int rfbReadExactTimeout(rfbClientPtr cl, char *buf, int len,int timeout);
750 extern int rfbPeekExactTimeout(rfbClientPtr cl, char *buf, int len,int timeout);
751 extern int rfbWriteExact(rfbClientPtr cl, const char *buf, int len);
764 extern rfbBool webSocketsCheck(rfbClientPtr cl);
765 extern rfbBool webSocketCheckDisconnect(rfbClientPtr cl);
766 extern int webSocketsEncode(rfbClientPtr cl, const char *src, int len, char **dst);
767 extern int webSocketsDecode(rfbClientPtr cl, char *dst, int len);
[all …]
/external/libvncserver/libvncserver/tightvnc-filetransfer/
Dhandlefiletransferrequest.h38 void HandleFileListRequest(rfbClientPtr cl, rfbTightClientRec* data);
39 void HandleFileDownloadRequest(rfbClientPtr cl, rfbTightClientRec* data);
40 void HandleFileDownloadCancelRequest(rfbClientPtr cl, rfbTightClientRec* data);
41 void HandleFileUploadRequest(rfbClientPtr cl, rfbTightClientRec* data);
42 void HandleFileUploadDataRequest(rfbClientPtr cl, rfbTightClientRec* data);
43 void HandleFileUploadFailedRequest(rfbClientPtr cl, rfbTightClientRec* data);
44 void HandleFileCreateDirRequest(rfbClientPtr cl, rfbTightClientRec* data);
Dfiletransfermsg.h44 FileTransferMsg GetFileDownloadResponseMsgInBlocks(rfbClientPtr cl, rfbTightClientPtr data);
45 FileTransferMsg ChkFileDownloadErr(rfbClientPtr cl, rfbTightClientPtr data);
49 FileTransferMsg ChkFileUploadErr(rfbClientPtr cl, rfbTightClientPtr data);
50 FileTransferMsg ChkFileUploadWriteErr(rfbClientPtr cl, rfbTightClientPtr data, char* pBuf);
53 void FileUpdateComplete(rfbClientPtr cl, rfbTightClientPtr data);
54 void CloseUndoneFileTransfer(rfbClientPtr cl, rfbTightClientPtr data);
Dhandlefiletransferrequest.c255 HandleFileListRequest(rfbClientPtr cl, rfbTightClientRec* data) in HandleFileListRequest()
329 void HandleFileDownloadLengthError(rfbClientPtr cl, short fNameSize);
330 void SendFileDownloadLengthErrMsg(rfbClientPtr cl);
331 void HandleFileDownload(rfbClientPtr cl, rfbTightClientPtr data);
333 void HandleFileDownloadRequest(rfbClientPtr cl);
334 void SendFileDownloadErrMsg(rfbClientPtr cl);
343 HandleFileDownloadRequest(rfbClientPtr cl, rfbTightClientPtr rtcp) in HandleFileDownloadRequest()
413 HandleFileDownloadLengthError(rfbClientPtr cl, short fNameSize) in HandleFileDownloadLengthError()
449 SendFileDownloadLengthErrMsg(rfbClientPtr cl) in SendFileDownloadLengthErrMsg()
468 extern rfbTightClientPtr rfbGetTightClientData(rfbClientPtr cl);
[all …]
Drfbtightserver.c41 rfbGetTightClientData(rfbClientPtr cl) in rfbGetTightClientData()
59 rfbVncAuthSendChallenge(rfbClientPtr cl) in rfbVncAuthSendChallenge()
106 rfbProcessClientAuthType(rfbClientPtr cl) in rfbProcessClientAuthType()
166 rfbProcessClientTunnelingType(rfbClientPtr cl) in rfbProcessClientTunnelingType()
181 rfbSendAuthCaps(rfbClientPtr cl) in rfbSendAuthCaps()
232 rfbSendTunnelingCaps(rfbClientPtr cl) in rfbSendTunnelingCaps()
271 rfbSendInteractionCaps(rfbClientPtr cl) in rfbSendInteractionCaps()
364 rfbTightExtensionInit(rfbClientPtr cl, void* data) in rfbTightExtensionInit()
373 handleMessage(rfbClientPtr cl, in handleMessage()
375 void (*handler)(rfbClientPtr cl, rfbTightClientPtr data)) in handleMessage()
[all …]
/external/libvncserver/libvncserver/
Drfbssl.h7 int rfbssl_init(rfbClientPtr cl);
8 int rfbssl_pending(rfbClientPtr cl);
9 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize);
10 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize);
11 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize);
12 void rfbssl_destroy(rfbClientPtr cl);
Drfbssl_none.c31 int rfbssl_init(rfbClientPtr cl) in rfbssl_init()
36 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) in rfbssl_write()
41 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) in rfbssl_peek()
46 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) in rfbssl_read()
51 int rfbssl_pending(rfbClientPtr cl) in rfbssl_pending()
56 void rfbssl_destroy(rfbClientPtr cl) in rfbssl_destroy()
Dprivate.h6 void rfbShowCursor(rfbClientPtr cl);
7 void rfbHideCursor(rfbClientPtr cl);
8 void rfbRedrawAfterHideCursor(rfbClientPtr cl,sraRegionPtr updateRegion);
12 rfbClientPtr rfbClientIteratorHead(rfbClientIteratorPtr i);
25 void rfbFreeZrleData(rfbClientPtr cl);
32 extern void rfbFreeUltraData(rfbClientPtr cl);
Dstats.c37 rfbStatList *rfbStatLookupEncoding(rfbClientPtr cl, uint32_t type);
38 rfbStatList *rfbStatLookupMessage(rfbClientPtr cl, uint32_t type);
40 void rfbStatRecordEncodingSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
41 void rfbStatRecordEncodingRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
42 void rfbStatRecordMessageSent(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
43 void rfbStatRecordMessageRcvd(rfbClientPtr cl, uint32_t type, int byteCount, int byteIfRaw);
44 void rfbResetStats(rfbClientPtr cl);
45 void rfbPrintStats(rfbClientPtr cl);
169 rfbStatList *rfbStatLookupEncoding(rfbClientPtr cl, uint32_t type) in rfbStatLookupEncoding()
191 rfbStatList *rfbStatLookupMessage(rfbClientPtr cl, uint32_t type) in rfbStatLookupMessage()
[all …]
Dauth.c33 void rfbClientSendString(rfbClientPtr cl, const char *reason);
110 rfbVncAuthSendChallenge(rfbClientPtr cl) in rfbVncAuthSendChallenge()
142 rfbVncAuthNone(rfbClientPtr cl) in rfbVncAuthNone()
202 rfbSendSecurityTypeList(rfbClientPtr cl, int primaryType) in rfbSendSecurityTypeList()
259 rfbSendSecurityType(rfbClientPtr cl, int32_t securityType) in rfbSendSecurityType()
298 rfbAuthNewClient(rfbClientPtr cl) in rfbAuthNewClient()
330 rfbProcessClientSecurityType(rfbClientPtr cl) in rfbProcessClientSecurityType()
368 rfbAuthProcessClientMessage(rfbClientPtr cl) in rfbAuthProcessClientMessage()
Dtight.c172 static rfbBool SendRectEncodingTight(rfbClientPtr cl, int x, int y,
174 static void FindBestSolidArea (rfbClientPtr cl, int x, int y, int w, int h,
176 static void ExtendSolidArea (rfbClientPtr cl, int x, int y, int w, int h,
179 static rfbBool CheckSolidTile (rfbClientPtr cl, int x, int y, int w, int h,
181 static rfbBool CheckSolidTile8 (rfbClientPtr cl, int x, int y, int w, int h,
183 static rfbBool CheckSolidTile16 (rfbClientPtr cl, int x, int y, int w, int h,
185 static rfbBool CheckSolidTile32 (rfbClientPtr cl, int x, int y, int w, int h,
188 static rfbBool SendRectSimple (rfbClientPtr cl, int x, int y, int w, int h);
189 static rfbBool SendSubrect (rfbClientPtr cl, int x, int y, int w, int h);
190 static rfbBool SendTightHeader (rfbClientPtr cl, int x, int y, int w, int h);
[all …]
Drfbssl_openssl.c40 int rfbssl_init(rfbClientPtr cl) in rfbssl_init()
86 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) in rfbssl_write()
98 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) in rfbssl_peek()
110 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) in rfbssl_read()
122 int rfbssl_pending(rfbClientPtr cl) in rfbssl_pending()
128 void rfbssl_destroy(rfbClientPtr cl) in rfbssl_destroy()
Dscale.h7 rfbScreenInfoPtr rfbScaledScreenAllocate(rfbClientPtr cl, int width, int height);
8 rfbScreenInfoPtr rfbScalingFind(rfbClientPtr cl, int width, int height);
9 void rfbScalingSetup(rfbClientPtr cl, int width, int height);
10 int rfbSendNewScaleSize(rfbClientPtr cl);
Dmain.c162 rfbBool rfbEnableExtension(rfbClientPtr cl, rfbProtocolExtension* extension, in rfbEnableExtension()
181 rfbBool rfbDisableExtension(rfbClientPtr cl, rfbProtocolExtension* extension) in rfbDisableExtension()
202 void* rfbGetExtensionClientData(rfbClientPtr cl, rfbProtocolExtension* extension) in rfbGetExtensionClientData()
270 rfbClientPtr cl; in rfbScheduleCopyRegion()
402 rfbClientPtr cl; in rfbMarkRegionAsModified()
445 rfbClientPtr cl = (rfbClientPtr)data; in clientOutput()
511 rfbClientPtr cl = (rfbClientPtr)data; in clientInput()
573 rfbClientPtr cl = NULL; in listenerRun()
608 rfbStartOnHoldClient(rfbClientPtr cl) in rfbStartOnHoldClient()
616 rfbStartOnHoldClient(rfbClientPtr cl) in rfbStartOnHoldClient()
[all …]
Drfbssl_gnutls.c119 int rfbssl_init(rfbClientPtr cl) in rfbssl_init()
148 static int rfbssl_do_read(rfbClientPtr cl, char *buf, int bufsize) in rfbssl_do_read()
172 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize) in rfbssl_write()
204 static int __rfbssl_read(rfbClientPtr cl, char *buf, int bufsize, int peek) in __rfbssl_read()
241 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize) in rfbssl_read()
246 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize) in rfbssl_peek()
251 int rfbssl_pending(rfbClientPtr cl) in rfbssl_pending()
262 void rfbssl_destroy(rfbClientPtr cl) in rfbssl_destroy()
Dwebsockets.c78 typedef int (*wsEncodeFunc)(rfbClientPtr cl, const char *src, int len, char **dst);
79 typedef int (*wsDecodeFunc)(rfbClientPtr cl, char *dst, int len);
168 static rfbBool webSocketsHandshake(rfbClientPtr cl, char *scheme);
171 static int webSocketsEncodeHybi(rfbClientPtr cl, const char *src, int len, char **dst);
172 static int webSocketsEncodeHixie(rfbClientPtr cl, const char *src, int len, char **dst);
173 static int webSocketsDecodeHybi(rfbClientPtr cl, char *dst, int len);
174 static int webSocketsDecodeHixie(rfbClientPtr cl, char *dst, int len);
200 webSocketsCheck (rfbClientPtr cl) in webSocketsCheck()
249 webSocketsHandshake(rfbClientPtr cl, char *scheme) in webSocketsHandshake()
488 webSocketsEncodeHixie(rfbClientPtr cl, const char *src, int len, char **dst) in webSocketsEncodeHixie()
[all …]
Drfbserver.c125 static void rfbProcessClientProtocolVersion(rfbClientPtr cl);
126 static void rfbProcessClientNormalMessage(rfbClientPtr cl);
127 static void rfbProcessClientInitMessage(rfbClientPtr cl);
130 void rfbIncrClientRef(rfbClientPtr cl) in rfbIncrClientRef()
137 void rfbDecrClientRef(rfbClientPtr cl) in rfbDecrClientRef()
146 void rfbIncrClientRef(rfbClientPtr cl) {} in rfbIncrClientRef()
147 void rfbDecrClientRef(rfbClientPtr cl) {} in rfbDecrClientRef()
155 rfbClientPtr next;
195 rfbClientPtr
210 rfbClientPtr
[all …]
Dcorre.c39 static int subrectEncode8(rfbClientPtr cl, uint8_t *data, int w, int h);
40 static int subrectEncode16(rfbClientPtr cl, uint16_t *data, int w, int h);
41 static int subrectEncode32(rfbClientPtr cl, uint32_t *data, int w, int h);
43 static rfbBool rfbSendSmallRectEncodingCoRRE(rfbClientPtr cl, int x, int y,
53 rfbSendRectEncodingCoRRE(rfbClientPtr cl, in rfbSendRectEncodingCoRRE()
83 rfbSendSmallRectEncodingCoRRE(rfbClientPtr cl, in rfbSendSmallRectEncodingCoRRE()
206 subrectEncode##bpp(rfbClientPtr client, uint##bpp##_t *data, int w, int h) { \
Dhextile.c30 static rfbBool sendHextiles8(rfbClientPtr cl, int x, int y, int w, int h);
31 static rfbBool sendHextiles16(rfbClientPtr cl, int x, int y, int w, int h);
32 static rfbBool sendHextiles32(rfbClientPtr cl, int x, int y, int w, int h);
40 rfbSendRectEncodingHextile(rfbClientPtr cl, in rfbSendRectEncodingHextile()
95 static rfbBool subrectEncode##bpp(rfbClientPtr cli, uint##bpp##_t *data, \
106 sendHextiles##bpp(rfbClientPtr cl, int rx, int ry, int rw, int rh) { \
196 subrectEncode##bpp(rfbClientPtr cl, uint##bpp##_t *data, int w, int h, \
Drre.c38 static int subrectEncode8(rfbClientPtr cl, uint8_t *data, int w, int h);
39 static int subrectEncode16(rfbClientPtr cl, uint16_t *data, int w, int h);
40 static int subrectEncode32(rfbClientPtr cl, uint32_t *data, int w, int h);
49 rfbSendRectEncodingRRE(rfbClientPtr cl, in rfbSendRectEncodingRRE()
173 subrectEncode##bpp(rfbClientPtr client, uint##bpp##_t *data, int w, int h) { \
Dtranslate.c30 static rfbBool rfbSetClientColourMapBGR233(rfbClientPtr cl);
245 rfbSetTranslateFunction(rfbClientPtr cl) in rfbSetTranslateFunction()
361 rfbSetClientColourMapBGR233(rfbClientPtr cl) in rfbSetClientColourMapBGR233()
415 rfbSetClientColourMap(rfbClientPtr cl, int firstColour, int nColours) in rfbSetClientColourMap()
451 rfbClientPtr cl; in rfbSetClientColourMaps()
/external/libvncserver/examples/
Dmac.c208 void rfbShutdown(rfbClientPtr cl);
425 rfbClientPtr cl;
497 void clientGone(rfbClientPtr cl) in clientGone()
502 enum rfbNewClientAction newClient(rfbClientPtr cl) in newClient()
548 void rfbShutdown(rfbClientPtr cl) in rfbShutdown()
Dvncev.c79 static void dokey(rfbBool down,rfbKeySym k,rfbClientPtr cl) in dokey()
88 static void doptr(int buttonMask,int x,int y,rfbClientPtr cl) in doptr()
98 static enum rfbNewClientAction newclient(rfbClientPtr cl) in newclient()
Drepeater.c5 static void clientGone(rfbClientPtr cl) in clientGone()
15 rfbClientPtr cl; in main()
Dzippy.c20 void on_mouse_event (int buttonMask,int x,int y,rfbClientPtr cl);
22 void on_key_press (rfbBool down,rfbKeySym key,rfbClientPtr cl);
145 void on_key_press (rfbBool down,rfbKeySym key,rfbClientPtr cl) in on_key_press()
179 void on_mouse_event (int buttonMask,int x,int y,rfbClientPtr cl) in on_mouse_event()

12