summaryrefslogtreecommitdiff
path: root/protocols/MRA/MraFilesQueue.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-11 19:28:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-11 19:28:53 +0000
commit274cffbbffa950ddf286092b52f03f76ec61a301 (patch)
tree5aeb062d27c79d1fbc15eaf033da943630bcbf84 /protocols/MRA/MraFilesQueue.h
parent482be69d327aef60a9a654b8cc6a5e6646d095de (diff)
slightly refactored MRA
git-svn-id: http://svn.miranda-ng.org/main/trunk@1564 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/MraFilesQueue.h')
-rw-r--r--protocols/MRA/MraFilesQueue.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/protocols/MRA/MraFilesQueue.h b/protocols/MRA/MraFilesQueue.h
index 2b00405e82..5c55c5b8ad 100644
--- a/protocols/MRA/MraFilesQueue.h
+++ b/protocols/MRA/MraFilesQueue.h
@@ -7,18 +7,15 @@
#endif // _MSC_VER > 1000
-INT_PTR CALLBACK MraFilesQueueDlgProcOpts(HWND hWndDlg,UINT msg,WPARAM wParam,LPARAM lParam);
-DWORD MraFilesQueueInitialize (DWORD dwFilesTimeOutInterval,HANDLE *phFilesQueueHandle);
+INT_PTR CALLBACK MraFilesQueueDlgProcOpts(HWND hWndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
+DWORD MraFilesQueueInitialize (DWORD dwFilesTimeOutInterval, HANDLE *phFilesQueueHandle);
void MraFilesQueueDestroy (HANDLE hFilesQueueHandle);
-HANDLE MraFilesQueueItemProxyByID (HANDLE hFilesQueueHandle,DWORD dwIDRequest);
-DWORD MraFilesQueueAddReceive (HANDLE hFilesQueueHandle,DWORD dwFlags,HANDLE hContact,DWORD dwIDRequest,LPWSTR lpwszFiles,SIZE_T dwFilesSize,LPSTR lpszAddreses,SIZE_T dwAddresesSize);
-DWORD MraFilesQueueAddSend (HANDLE hFilesQueueHandle,DWORD dwFlags,HANDLE hContact,LPWSTR *plpwszFiles,SIZE_T dwFilesCount,DWORD *pdwIDRequest);
-DWORD MraFilesQueueAccept (HANDLE hFilesQueueHandle,DWORD dwIDRequest,LPWSTR lpwszPath,SIZE_T dwPathSize);
-DWORD MraFilesQueueCancel (HANDLE hFilesQueueHandle,DWORD dwIDRequest,BOOL bSendDecline);
-DWORD MraFilesQueueStartMrimProxy (HANDLE hFilesQueueHandle,DWORD dwIDRequest);
-DWORD MraFilesQueueFree (HANDLE hFilesQueueHandle,DWORD dwCMDNum);
-DWORD MraFilesQueueSendMirror (HANDLE hFilesQueueHandle,DWORD dwIDRequest,LPSTR lpszAddreses,SIZE_T dwAddresesSize);
+void MraFilesQueueConnectionReceived(HANDLE hNewConnection, DWORD dwRemoteIP, void *pExtra);
+
+HANDLE MraFilesQueueItemProxyByID (HANDLE hFilesQueueHandle, DWORD dwIDRequest);
+DWORD MraFilesQueueStartMrimProxy (HANDLE hFilesQueueHandle, DWORD dwIDRequest);
+DWORD MraFilesQueueFree (HANDLE hFilesQueueHandle, DWORD dwCMDNum);