summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-25 19:52:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-25 19:52:37 +0000
commit9721fd02c27175d58bda9a8368520695cdb15f6b (patch)
tree58c42e1558c50d8482845bb39709606a3f7d55f3
parentf99fa6ff7f4b07c3f7306641114151d8c7049529 (diff)
minor PU API fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4824 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--include/delphi/m_pluginupdater.inc3
-rw-r--r--include/m_pluginupdater.h3
-rw-r--r--plugins/PluginUpdater/src/Common.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/include/delphi/m_pluginupdater.inc b/include/delphi/m_pluginupdater.inc
index f47fe09aeb..c19e1c1ac7 100644
--- a/include/delphi/m_pluginupdater.inc
+++ b/include/delphi/m_pluginupdater.inc
@@ -28,8 +28,9 @@ type
pPUHashItem = ^TPUHashItem;
TPUHashItem = record
fileName :PWideChar; // file name
- fileCrc :int; // zip's crc
+ fileCrc :DWORD; // zip's crc
hash :array [0..32] of char; // file's md5 hash
+ selected :byte;
end;
const
diff --git a/include/m_pluginupdater.h b/include/m_pluginupdater.h
index c0a897bda1..4854a09214 100644
--- a/include/m_pluginupdater.h
+++ b/include/m_pluginupdater.h
@@ -28,7 +28,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
typedef struct {
TCHAR *m_fileName;
DWORD m_zipCrc;
- char m_hash;
+ char m_hash[32+1];
+ BYTE m_selected;
}
PU_HASH_ITEM;
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h
index 151904a83d..ffdb9a0557 100644
--- a/plugins/PluginUpdater/src/Common.h
+++ b/plugins/PluginUpdater/src/Common.h
@@ -142,8 +142,9 @@ struct ServListEntry
}
TCHAR *m_name;
- int m_crc;
+ DWORD m_crc;
char m_szHash[32+1];
+ BYTE m_selected;
};
typedef OBJLIST<ServListEntry> SERVLIST;