HomeSort by relevance Sort by last modified time
    Searched refs:rcft (Results 1 - 4 of 4) sorted by null

  /external/libvncserver/libvncserver/tightvnc-filetransfer/
filetransfermsg.c 452 char* path = rtcp->rcft.rcfd.fName;
456 if((rtcp->rcft.rcfd.downloadInProgress == FALSE) && (rtcp->rcft.rcfd.downloadFD == -1)) {
457 if((rtcp->rcft.rcfd.downloadFD = open(path, O_RDONLY)) == -1) {
462 rtcp->rcft.rcfd.downloadInProgress = TRUE;
464 if((rtcp->rcft.rcfd.downloadInProgress == TRUE) && (rtcp->rcft.rcfd.downloadFD != -1)) {
465 if( (numOfBytesRead = read(rtcp->rcft.rcfd.downloadFD, pBuf, SZ_RFBBLOCKSIZE)) <= 0) {
466 close(rtcp->rcft.rcfd.downloadFD);
467 rtcp->rcft.rcfd.downloadFD = -1
    [all...]
handlefiletransferrequest.c 382 if((n = rfbReadExact(cl, rtcp->rcft.rcfd.fName, msg.fdr.fNameSize)) <= 0) {
391 rtcp->rcft.rcfd.fName[msg.fdr.fNameSize] = '\0';
393 if(ConvertPath(rtcp->rcft.rcfd.fName) == NULL) {
501 } while(rtcp->rcft.rcfd.downloadInProgress == TRUE);
519 rtcp->rcft.rcfd.downloadInProgress = FALSE;
520 rtcp->rcft.rcfd.downloadFD = -1;
653 if((n = rfbReadExact(cl, rtcp->rcft.rcfu.fName, msg.fupr.fNameSize)) <= 0) {
662 rtcp->rcft.rcfu.fName[msg.fupr.fNameSize] = '\0';
664 if(ConvertPath(rtcp->rcft.rcfu.fName) == NULL) {
743 rtcp->rcft.rcfu.uploadInProgress = FALSE
    [all...]
rfbtightproto.h 180 rfbClientFileTransfer rcft; member in struct:_rfbTightClientRec
rfbtightserver.c 510 rtcp->rcft.rcfd.downloadFD = -1;
511 rtcp->rcft.rcfu.uploadFD = -1;

Completed in 108 milliseconds