Home
last modified time | relevance | path

Searched refs:fileDownloadMsg (Results 1 – 2 of 2) sorted by relevance

/external/libvncserver/libvncserver/tightvnc-filetransfer/
Dhandlefiletransferrequest.c470 FileTransferMsg fileDownloadMsg; in RunFileDownloadThread() local
475 memset(&fileDownloadMsg, 0, sizeof(FileTransferMsg)); in RunFileDownloadThread()
478 fileDownloadMsg = GetFileDownloadResponseMsgInBlocks(cl, rtcp); in RunFileDownloadThread()
481 if((fileDownloadMsg.data != NULL) && (fileDownloadMsg.length != 0)) { in RunFileDownloadThread()
482 if(rfbWriteExact(cl, fileDownloadMsg.data, fileDownloadMsg.length) < 0) { in RunFileDownloadThread()
491 FreeFileTransferMsg(fileDownloadMsg); in RunFileDownloadThread()
494 FreeFileTransferMsg(fileDownloadMsg); in RunFileDownloadThread()
505 FileTransferMsg fileDownloadMsg; in HandleFileDownload() local
507 memset(&fileDownloadMsg, 0, sizeof(FileTransferMsg)); in HandleFileDownload()
508 fileDownloadMsg = ChkFileDownloadErr(cl, rtcp); in HandleFileDownload()
[all …]
Dfiletransfermsg.c332 FileTransferMsg fileDownloadMsg; in ChkFileDownloadErr() local
337 memset(&fileDownloadMsg, 0, sizeof(FileTransferMsg)); in ChkFileDownloadErr()
348 fileDownloadMsg = CreateFileDownloadErrMsg(reason, reasonLen); in ChkFileDownloadErr()
354 fileDownloadMsg = CreateFileDownloadZeroSizeDataMsg(stat_buf.st_mtime); in ChkFileDownloadErr()
358 return fileDownloadMsg; in ChkFileDownloadErr()