Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/tightvnc-filetransfer/
Dfiletransfermsg.c305 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()
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()
613 if(rtcp->rcft.rcfd.downloadFD != -1) { in CloseUndoneFileTransfer()
614 close(rtcp->rcft.rcfd.downloadFD); in CloseUndoneFileTransfer()
615 rtcp->rcft.rcfd.downloadFD = -1; in CloseUndoneFileTransfer()
Drfbtightproto.h150 int downloadFD; member
Drfbtightserver.c510 rtcp->rcft.rcfd.downloadFD = -1; in rfbHandleSecTypeTight()
Dhandlefiletransferrequest.c515 rtcp->rcft.rcfd.downloadFD = -1; in HandleFileDownload()