00001
00002
00003 #ifndef DFR_CL_
00004 #define DFR_CL_
00005
00007 #define MAX_ERR_COUNT_CL 3
00008
00010
00023 void serve_start_file_transfer (int req_sock, string file_name,
00024 string CL_address, list<string>* obtained_files, bool* error);
00025
00027
00039 void serve_end_file_transfer (int req_sock, string file_name,
00040 string CL_address, list<string>* obtained_files, bool* error);
00041
00043
00060 void serve_reg_notification (int req_sock, string file_name,
00061 string CL_address, list<string>* obtained_files, bool* error);
00062
00064
00095 void* CL_req_s_body (void* sock);
00096
00098
00108 void* CL_s_body (void* sock);
00109
00110 #endif