Home
last modified time | relevance | path

Searched refs:rcfu (Results 1 – 4 of 4) sorted by relevance

/external/libvncserver/libvncserver/tightvnc-filetransfer/
Dfiletransfermsg.c482 if( (rtcp->rcft.rcfu.fName == NULL) || in ChkFileUploadErr()
483 (strlen(rtcp->rcft.rcfu.fName) == 0) || in ChkFileUploadErr()
484 ((rtcp->rcft.rcfu.uploadFD = creat(rtcp->rcft.rcfu.fName, in ChkFileUploadErr()
492 rtcp->rcft.rcfu.uploadInProgress = TRUE; in ChkFileUploadErr()
516 numOfBytesWritten = write(rtcp->rcft.rcfu.uploadFD, pBuf, rtcp->rcft.rcfu.fSize); in ChkFileUploadWriteErr()
518 if(numOfBytesWritten != rtcp->rcft.rcfu.fSize) { in ChkFileUploadWriteErr()
535 utb.actime = utb.modtime = rtcp->rcft.rcfu.mTime; in FileUpdateComplete()
536 if(utime(rtcp->rcft.rcfu.fName, &utb) == -1) { in FileUpdateComplete()
539 __FUNCTION__, rtcp->rcft.rcfu.fName); in FileUpdateComplete()
542 if(rtcp->rcft.rcfu.uploadFD != -1) { in FileUpdateComplete()
[all …]
Dhandlefiletransferrequest.c648 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()
739 rtcp->rcft.rcfu.uploadFD = -1; in HandleFileUpload()
784 if((n = rfbReadExact(cl, (char*)&(rtcp->rcft.rcfu.mTime), sizeof(unsigned in HandleFileUploadDataRequest()
840 rtcp->rcft.rcfu.fSize = msg.fud.compressedSize; in HandleFileUploadDataRequest()
Drfbtightproto.h163 rfbClientFileUpload rcfu; member
Drfbtightserver.c511 rtcp->rcft.rcfu.uploadFD = -1; in rfbHandleSecTypeTight()