summaryrefslogtreecommitdiff
path: root/src/net/download.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-26 21:48:31 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-26 21:48:31 +0200
commit96150f1aeacf55d311c41ffe12d9e754b1cda001 (patch)
tree94252db740b9c2b6ad8122523baa732c0b913fbc /src/net/download.h
parent4c04665b29cd7304717cefe49d70d881d8b38ca3 (diff)
downloadmanaverse-96150f1aeacf55d311c41ffe12d9e754b1cda001.tar.gz
manaverse-96150f1aeacf55d311c41ffe12d9e754b1cda001.tar.bz2
manaverse-96150f1aeacf55d311c41ffe12d9e754b1cda001.tar.xz
manaverse-96150f1aeacf55d311c41ffe12d9e754b1cda001.zip
Add ability to redownload update files if file checksum incorrect.
Diffstat (limited to 'src/net/download.h')
-rw-r--r--src/net/download.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/download.h b/src/net/download.h
index bb931bb15..71bb41cee 100644
--- a/src/net/download.h
+++ b/src/net/download.h
@@ -95,6 +95,8 @@ class Download
void setIgnoreError(bool n)
{ mIgnoreError = n; }
+ static unsigned long fadler32(FILE *file);
+
private:
static int downloadThread(void *ptr);
static int downloadProgress(void *clientp, double dltotal,