diff options
author | Pavel Roskin <plroskin@gmail.com> | 2017-03-12 09:35:00 -0700 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2017-03-14 00:21:48 -0700 |
commit | 6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch) | |
tree | 951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /sesman/chansrv/clipboard_file.c | |
parent | 8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff) | |
download | xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip |
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'sesman/chansrv/clipboard_file.c')
-rw-r--r-- | sesman/chansrv/clipboard_file.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sesman/chansrv/clipboard_file.c b/sesman/chansrv/clipboard_file.c index 338e375a..e8663774 100644 --- a/sesman/chansrv/clipboard_file.c +++ b/sesman/chansrv/clipboard_file.c @@ -107,7 +107,7 @@ static int g_file_request_sent_type = 0; /*****************************************************************************/ #if 0 -static tui64 APP_CC +static tui64 timeval2wintime(struct timeval *tv) { tui64 result; @@ -123,7 +123,7 @@ timeval2wintime(struct timeval *tv) /*****************************************************************************/ /* this will replace %20 or any hex with the space or correct char * returns error */ -static int APP_CC +static int clipboard_check_file(char *filename) { char lfilename[256]; @@ -158,7 +158,7 @@ clipboard_check_file(char *filename) } /*****************************************************************************/ -static int APP_CC +static int clipboard_get_file(const char *file, int bytes) { int sindex; @@ -236,7 +236,7 @@ clipboard_get_file(const char *file, int bytes) } /*****************************************************************************/ -static int APP_CC +static int clipboard_get_files(const char *files, int bytes) { int index; @@ -278,7 +278,7 @@ clipboard_get_files(const char *files, int bytes) /*****************************************************************************/ /* server to client */ /* response to client asking for clipboard contents that is file list */ -int APP_CC +int clipboard_send_data_response_for_file(const char *data, int data_size) { struct stream *s; @@ -344,7 +344,7 @@ clipboard_send_data_response_for_file(const char *data, int data_size) /*****************************************************************************/ /* send the file size from server to the client */ -static int APP_CC +static int clipboard_send_file_size(int streamId, int lindex) { struct stream *s; @@ -385,7 +385,7 @@ clipboard_send_file_size(int streamId, int lindex) /*****************************************************************************/ /* ask the client to send the file size */ -int APP_CC +int clipboard_request_file_size(int stream_id, int lindex) { struct stream *s; @@ -421,7 +421,7 @@ clipboard_request_file_size(int stream_id, int lindex) /*****************************************************************************/ /* send a chunk of the file from server to client */ -static int APP_CC +static int clipboard_send_file_data(int streamId, int lindex, int nPositionLow, int cbRequested) { @@ -488,7 +488,7 @@ clipboard_send_file_data(int streamId, int lindex, /*****************************************************************************/ /* ask the client to send the file size */ -int APP_CC +int clipboard_request_file_data(int stream_id, int lindex, int offset, int request_bytes) { @@ -528,7 +528,7 @@ clipboard_request_file_data(int stream_id, int lindex, int offset, /*****************************************************************************/ /* client is asking from info about a file */ -int APP_CC +int clipboard_process_file_request(struct stream *s, int clip_msg_status, int clip_msg_len) { @@ -562,7 +562,7 @@ clipboard_process_file_request(struct stream *s, int clip_msg_status, /*****************************************************************************/ /* server requested info about the file and this is the response it's either the file size or file data */ -int APP_CC +int clipboard_process_file_response(struct stream *s, int clip_msg_status, int clip_msg_len) { @@ -595,7 +595,7 @@ clipboard_process_file_response(struct stream *s, int clip_msg_status, /*****************************************************************************/ /* read in CLIPRDR_FILEDESCRIPTOR */ -static int APP_CC +static int clipboard_c2s_in_file_info(struct stream *s, struct clip_file_desc *cfd) { int num_chars; @@ -627,7 +627,7 @@ clipboard_c2s_in_file_info(struct stream *s, struct clip_file_desc *cfd) } /*****************************************************************************/ -int APP_CC +int clipboard_c2s_in_files(struct stream *s, char *file_list) { int cItems; |