Searched refs:rcfd (Results 1 – 4 of 4) sorted by relevance
452 char* path = rtcp->rcft.rcfd.fName; in GetFileDownloadResponseMsgInBlocks()456 if((rtcp->rcft.rcfd.downloadInProgress == FALSE) && (rtcp->rcft.rcfd.downloadFD == -1)) { in GetFileDownloadResponseMsgInBlocks()457 if((rtcp->rcft.rcfd.downloadFD = open(path, O_RDONLY)) == -1) { in GetFileDownloadResponseMsgInBlocks()462 rtcp->rcft.rcfd.downloadInProgress = TRUE; in GetFileDownloadResponseMsgInBlocks()464 if((rtcp->rcft.rcfd.downloadInProgress == TRUE) && (rtcp->rcft.rcfd.downloadFD != -1)) { in GetFileDownloadResponseMsgInBlocks()465 if( (numOfBytesRead = read(rtcp->rcft.rcfd.downloadFD, pBuf, SZ_RFBBLOCKSIZE)) <= 0) { in GetFileDownloadResponseMsgInBlocks()466 close(rtcp->rcft.rcfd.downloadFD); in GetFileDownloadResponseMsgInBlocks()467 rtcp->rcft.rcfd.downloadFD = -1; in GetFileDownloadResponseMsgInBlocks()468 rtcp->rcft.rcfd.downloadInProgress = FALSE; in GetFileDownloadResponseMsgInBlocks()470 return CreateFileDownloadZeroSizeDataMsg(rtcp->rcft.rcfd.mTime); in GetFileDownloadResponseMsgInBlocks()[all …]
382 if((n = rfbReadExact(cl, rtcp->rcft.rcfd.fName, msg.fdr.fNameSize)) <= 0) { in HandleFileDownloadRequest()391 rtcp->rcft.rcfd.fName[msg.fdr.fNameSize] = '\0'; in HandleFileDownloadRequest()393 if(ConvertPath(rtcp->rcft.rcfd.fName) == NULL) { in HandleFileDownloadRequest()501 } while(rtcp->rcft.rcfd.downloadInProgress == TRUE); in RunFileDownloadThread()519 rtcp->rcft.rcfd.downloadInProgress = FALSE; in HandleFileDownload()520 rtcp->rcft.rcfd.downloadFD = -1; in HandleFileDownload()
162 rfbClientFileDownload rcfd; member
510 rtcp->rcft.rcfd.downloadFD = -1; in rfbHandleSecTypeTight()