Searched refs:rcft (Results 1 – 4 of 4) sorted by relevance
301 char* path = rtcp->rcft.rcfd.fName; in GetFileDownloadResponseMsgInBlocks()305 if((rtcp->rcft.rcfd.downloadInProgress == FALSE) && (rtcp->rcft.rcfd.downloadFD == -1)) { in GetFileDownloadResponseMsgInBlocks()306 if((rtcp->rcft.rcfd.downloadFD = open(path, O_RDONLY)) == -1) { in GetFileDownloadResponseMsgInBlocks()311 rtcp->rcft.rcfd.downloadInProgress = TRUE; in GetFileDownloadResponseMsgInBlocks()313 if((rtcp->rcft.rcfd.downloadInProgress == TRUE) && (rtcp->rcft.rcfd.downloadFD != -1)) { in GetFileDownloadResponseMsgInBlocks()314 if( (numOfBytesRead = read(rtcp->rcft.rcfd.downloadFD, pBuf, SZ_RFBBLOCKSIZE)) <= 0) { in GetFileDownloadResponseMsgInBlocks()315 close(rtcp->rcft.rcfd.downloadFD); in GetFileDownloadResponseMsgInBlocks()316 rtcp->rcft.rcfd.downloadFD = -1; in GetFileDownloadResponseMsgInBlocks()317 rtcp->rcft.rcfd.downloadInProgress = FALSE; in GetFileDownloadResponseMsgInBlocks()319 return CreateFileDownloadZeroSizeDataMsg(rtcp->rcft.rcfd.mTime); in GetFileDownloadResponseMsgInBlocks()[all …]
377 if((n = rfbReadExact(cl, rtcp->rcft.rcfd.fName, msg.fdr.fNameSize)) <= 0) { in HandleFileDownloadRequest()386 rtcp->rcft.rcfd.fName[msg.fdr.fNameSize] = '\0'; in HandleFileDownloadRequest()388 if(ConvertPath(rtcp->rcft.rcfd.fName) == NULL) { in HandleFileDownloadRequest()496 } while(rtcp->rcft.rcfd.downloadInProgress == TRUE); in RunFileDownloadThread()514 rtcp->rcft.rcfd.downloadInProgress = FALSE; in HandleFileDownload()515 rtcp->rcft.rcfd.downloadFD = -1; in HandleFileDownload()648 if((n = rfbReadExact(cl, rtcp->rcft.rcfu.fName, msg.fupr.fNameSize)) <= 0) { in HandleFileUploadRequest()657 rtcp->rcft.rcfu.fName[msg.fupr.fNameSize] = '\0'; in HandleFileUploadRequest()659 if(ConvertPath(rtcp->rcft.rcfu.fName) == NULL) { in HandleFileUploadRequest()738 rtcp->rcft.rcfu.uploadInProgress = FALSE; in HandleFileUpload()[all …]
510 rtcp->rcft.rcfd.downloadFD = -1; in rfbHandleSecTypeTight()511 rtcp->rcft.rcfu.uploadFD = -1; in rfbHandleSecTypeTight()
180 rfbClientFileTransfer rcft; member