From 45dddaa51b79bbb2d5dc999e4849951a1e7f0ae3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Feb 2017 00:16:55 +0300 Subject: code cleaning --- protocols/IcqOscarJ/src/icq_direct.h | 89 +++++++++++++++++------------------- 1 file changed, 43 insertions(+), 46 deletions(-) (limited to 'protocols/IcqOscarJ/src/icq_direct.h') diff --git a/protocols/IcqOscarJ/src/icq_direct.h b/protocols/IcqOscarJ/src/icq_direct.h index 4b3da88a79..1b469c991b 100644 --- a/protocols/IcqOscarJ/src/icq_direct.h +++ b/protocols/IcqOscarJ/src/icq_direct.h @@ -28,32 +28,29 @@ struct filetransfer: public basic_filetransfer { - int status; - int sending; - int iCurrentFile; - int currentIsDir; - DWORD dwCookie; - DWORD dwUin; - DWORD dwRemotePort; - MCONTACT hContact; - char *szFilename; - char *szDescription; - char *szSavePath; - char *szThisFile; - char *szThisSubdir; - char **pszFiles; - DWORD dwThisFileSize; - DWORD dwThisFileDate; - DWORD dwTotalSize; - DWORD dwFileCount; - DWORD dwTransferSpeed; - DWORD dwBytesDone, dwFileBytesDone; - int fileId; - HNETLIBCONN hConnection; - DWORD dwLastNotify; - int nVersion; // Was this sent with a v7 or a v8 packet? - BOOL bDC; // Was this received over a DC or through server? - BOOL bEmptyDesc; // Was the description empty ? + int status; + int sending; + int currentIsDir; + DWORD dwUin; + DWORD dwRemotePort; + char *szFilename; + char *szDescription; + char *szSavePath; + char *szThisFile; + char *szThisSubdir; + char **pszFiles; + DWORD dwThisFileSize; + DWORD dwThisFileDate; + DWORD dwTotalSize; + DWORD dwFileCount; + DWORD dwTransferSpeed; + DWORD dwBytesDone, dwFileBytesDone; + int fileId; + HNETLIBCONN hConnection; + DWORD dwLastNotify; + int nVersion; // Was this sent with a v7 or a v8 packet? + BOOL bDC; // Was this received over a DC or through server? + BOOL bEmptyDesc; // Was the description empty ? }; #define DIRECTCONN_STANDARD 0 @@ -64,27 +61,27 @@ struct filetransfer: public basic_filetransfer struct directconnect { - MCONTACT hContact; - HNETLIBCONN hConnection; - DWORD dwConnectionCookie; - int type; - WORD wVersion; - int incoming; - int wantIdleTime; - int packetPending; - DWORD dwRemotePort; - DWORD dwRemoteUin; - DWORD dwRemoteExternalIP; - DWORD dwRemoteInternalIP; - DWORD dwLocalExternalIP; - DWORD dwLocalInternalIP; - int initialised; - int handshake; - DWORD dwThreadId; - filetransfer *ft; - DWORD dwReqId; // Reverse Connect request cookie + MCONTACT hContact; + HNETLIBCONN hConnection; + DWORD dwConnectionCookie; + int type; + WORD wVersion; + int incoming; + int wantIdleTime; + int packetPending; + DWORD dwRemotePort; + DWORD dwRemoteUin; + DWORD dwRemoteExternalIP; + DWORD dwRemoteInternalIP; + DWORD dwLocalExternalIP; + DWORD dwLocalInternalIP; + int initialised; + int handshake; + DWORD dwThreadId; + filetransfer *ft; + DWORD dwReqId; // Reverse Connect request cookie }; -int DecryptDirectPacket(directconnect* dc, PBYTE buf, size_t wLen); +int DecryptDirectPacket(directconnect *dc, PBYTE buf, size_t wLen); #endif /* __ICQ_DIRECT_H */ -- cgit v1.2.3