LibVNCServer/LibVNCClient
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
filetransfermsg.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <dirent.h>
#include <utime.h>
#include <errno.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <rfb/rfb.h>
#include "rfbtightproto.h"
#include "filelistinfo.h"
#include "filetransfermsg.h"
#include "handlefiletransferrequest.h"
+ Include dependency graph for filetransfermsg.c:

Go to the source code of this file.

Macros

#define SZ_RFBBLOCKSIZE   8192
 
#define __FUNCTION__   "unknown"
 

Functions

void FreeFileTransferMsg (FileTransferMsg ftm)
 
int CreateFileListInfo (FileListInfoPtr pFileListInfo, char *path, int flag)
 
FileTransferMsg CreateFileListErrMsg (char flags)
 
FileTransferMsg CreateFileListMsg (FileListInfo fileListInfo, char flags)
 
FileTransferMsg GetFileListResponseMsg (char *path, char flags)
 
FileTransferMsg CreateFileDownloadErrMsg (char *reason, unsigned int reasonLen)
 
FileTransferMsg CreateFileDownloadZeroSizeDataMsg (unsigned long mTime)
 
FileTransferMsg CreateFileDownloadBlockSizeDataMsg (unsigned short sizeFile, char *pFile)
 
FileTransferMsg GetFileDownLoadErrMsg ()
 
FileTransferMsg GetFileDownloadReadDataErrMsg ()
 
FileTransferMsg GetFileDownloadLengthErrResponseMsg ()
 
FileTransferMsg GetFileDownloadResponseMsgInBlocks (rfbClientPtr cl, rfbTightClientPtr rtcp)
 
FileTransferMsg ChkFileDownloadErr (rfbClientPtr cl, rfbTightClientPtr rtcp)
 
FileTransferMsg CreateFileUploadErrMsg (char *reason, unsigned int reasonLen)
 
FileTransferMsg GetFileUploadLengthErrResponseMsg ()
 
FileTransferMsg ChkFileUploadErr (rfbClientPtr cl, rfbTightClientPtr rtcp)
 
FileTransferMsg GetFileUploadCompressedLevelErrMsg ()
 
FileTransferMsg ChkFileUploadWriteErr (rfbClientPtr cl, rfbTightClientPtr rtcp, char *pBuf)
 
void FileUpdateComplete (rfbClientPtr cl, rfbTightClientPtr rtcp)
 
void CloseUndoneFileTransfer (rfbClientPtr cl, rfbTightClientPtr rtcp)
 
void CreateDirectory (char *dirName)
 

Macro Definition Documentation

#define __FUNCTION__   "unknown"

Definition at line 104 of file filetransfermsg.c.

#define SZ_RFBBLOCKSIZE   8192

Definition at line 43 of file filetransfermsg.c.

Function Documentation

FileTransferMsg ChkFileDownloadErr ( rfbClientPtr  cl,
rfbTightClientPtr  rtcp 
)

Definition at line 330 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg ChkFileUploadErr ( rfbClientPtr  cl,
rfbTightClientPtr  rtcp 
)

Definition at line 477 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg ChkFileUploadWriteErr ( rfbClientPtr  cl,
rfbTightClientPtr  rtcp,
char *  pBuf 
)

Definition at line 509 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CloseUndoneFileTransfer ( rfbClientPtr  cl,
rfbTightClientPtr  rtcp 
)

Definition at line 585 of file filetransfermsg.c.

+ Here is the caller graph for this function:

void CreateDirectory ( char *  dirName)

Definition at line 627 of file filetransfermsg.c.

+ Here is the caller graph for this function:

FileTransferMsg CreateFileDownloadBlockSizeDataMsg ( unsigned short  sizeFile,
char *  pFile 
)

Definition at line 427 of file filetransfermsg.c.

+ Here is the caller graph for this function:

FileTransferMsg CreateFileDownloadErrMsg ( char *  reason,
unsigned int  reasonLen 
)

Definition at line 363 of file filetransfermsg.c.

+ Here is the caller graph for this function:

FileTransferMsg CreateFileDownloadZeroSizeDataMsg ( unsigned long  mTime)

Definition at line 393 of file filetransfermsg.c.

+ Here is the caller graph for this function:

FileTransferMsg CreateFileListErrMsg ( char  flags)

Definition at line 175 of file filetransfermsg.c.

+ Here is the caller graph for this function:

int CreateFileListInfo ( FileListInfoPtr  pFileListInfo,
char *  path,
int  flag 
)

Definition at line 108 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg CreateFileListMsg ( FileListInfo  fileListInfo,
char  flags 
)

Definition at line 205 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg CreateFileUploadErrMsg ( char *  reason,
unsigned int  reasonLen 
)

Definition at line 551 of file filetransfermsg.c.

+ Here is the caller graph for this function:

void FileUpdateComplete ( rfbClientPtr  cl,
rfbTightClientPtr  rtcp 
)

Definition at line 529 of file filetransfermsg.c.

+ Here is the caller graph for this function:

void FreeFileTransferMsg ( FileTransferMsg  ftm)

Definition at line 47 of file filetransfermsg.c.

+ Here is the caller graph for this function:

FileTransferMsg GetFileDownLoadErrMsg ( )

Definition at line 259 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg GetFileDownloadLengthErrResponseMsg ( )

Definition at line 286 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg GetFileDownloadReadDataErrMsg ( )

Definition at line 275 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg GetFileDownloadResponseMsgInBlocks ( rfbClientPtr  cl,
rfbTightClientPtr  rtcp 
)

Definition at line 296 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg GetFileListResponseMsg ( char *  path,
char  flags 
)

Definition at line 74 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg GetFileUploadCompressedLevelErrMsg ( )

Definition at line 499 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FileTransferMsg GetFileUploadLengthErrResponseMsg ( )

Definition at line 467 of file filetransfermsg.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: