diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-03 16:56:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-03 16:56:45 +0300 |
commit | f9883d97b3a586663f85075206fe7e07b41ed366 (patch) | |
tree | 1aa3f212a908eda296de192129df8e49cc10cb13 /include/m_protocols.h | |
parent | 9613f96e6a6f96ad02a0fc926054132811ae2bb1 (diff) |
unneeded size fields removed
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r-- | include/m_protocols.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h index 55b2b28cc0..3aaf125906 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -34,12 +34,13 @@ struct PROTO_INTERFACE; #include <m_core.h>
#include <m_system_cpp.h>
-typedef struct {
+struct CCSDATA
+{
MCONTACT hContact;
const char *szProtoService; // a PS_ constant
WPARAM wParam;
LPARAM lParam;
-} CCSDATA;
+};
/////////////////////////////////////////////////////////////////////////////////////////
// a general network 'ack'
@@ -85,7 +86,6 @@ typedef struct { struct ACKDATA
{
- int cbSize;
const char *szModule; // the name of the protocol module which initiated this ack
MCONTACT hContact;
int type; // an ACKTYPE_ constant
@@ -111,7 +111,6 @@ struct ACKDATA struct PROTOFILETRANSFERSTATUS
{
- size_t cbSize;
MCONTACT hContact;
DWORD flags; // one of PFTS_* constants
MAllStringArray pszFiles;
|