... | ... |
@@ -376,7 +376,7 @@ typedef struct cl_fmap cl_fmap_t; |
376 | 376 |
* any time, but there might be multiple callbacks executing for different |
377 | 377 |
* handle at the same time. |
378 | 378 |
*/ |
379 |
-typedef ssize_t (*clcb_pread)(void* handle, void *buf, size_t count, off_t offset); |
|
379 |
+typedef off_t (*clcb_pread)(void* handle, void *buf, size_t count, off_t offset); |
|
380 | 380 |
|
381 | 381 |
/* Open a map for scanning custom data accessed by a handle and pread (lseek + |
382 | 382 |
* read)-like interface. For example a WIN32 HANDLE. |
... | ... |
@@ -166,6 +166,16 @@ |
166 | 166 |
<ResourceCompile Include="res\libclamav.rc"/> |
167 | 167 |
</ItemGroup> |
168 | 168 |
<ItemGroup> |
169 |
+ <ClCompile Include="..\libclamav\7z_iface.c"/> |
|
170 |
+ <ClCompile Include="..\libclamav\7z\7zDec.c"/> |
|
171 |
+ <ClCompile Include="..\libclamav\7z\7zAlloc.c"/> |
|
172 |
+ <ClCompile Include="..\libclamav\7z\Ppmd7Dec.c"/> |
|
173 |
+ <ClCompile Include="..\libclamav\asn1.c"/> |
|
174 |
+ <ClCompile Include="..\libclamav\7z\7zBuf2.c"/> |
|
175 |
+ <ClCompile Include="..\libclamav\7z\Ppmd7.c"/> |
|
176 |
+ <ClCompile Include="..\libclamav\7z\7zIn.c"/> |
|
177 |
+ <ClCompile Include="..\libclamav\7z\Lzma2Dec.c"/> |
|
178 |
+ <ClCompile Include="..\libclamav\crtmgr.c"/> |
|
169 | 179 |
<ClCompile Include="..\libclamav\rijndael.c"/> |
170 | 180 |
<ClCompile Include="..\libclamav\iso9660.c"/> |
171 | 181 |
<ClCompile Include="..\libclamav\arc4.c"/> |
... | ... |
@@ -183,16 +193,10 @@ |
183 | 183 |
<ClCompile Include="..\libclamav\scanners.c"/> |
184 | 184 |
<ClCompile Include="..\libclamav\qsort.c"/> |
185 | 185 |
<ClCompile Include="..\libclamav\rebuildpe.c"/> |
186 |
- <ClCompile Include="..\libclamav\7z.c"/> |
|
187 | 186 |
<ClCompile Include="..\libclamav\7z\7zBuf.c"/> |
188 | 187 |
<ClCompile Include="..\libclamav\7z\7zCrc.c"/> |
189 | 188 |
<ClCompile Include="..\libclamav\7z\7zFile.c"/> |
190 | 189 |
<ClCompile Include="..\libclamav\7z\7zStream.c"/> |
191 |
- <ClCompile Include="..\libclamav\7z\Archive\7z\7zDecode.c"/> |
|
192 |
- <ClCompile Include="..\libclamav\7z\Archive\7z\7zExtract.c"/> |
|
193 |
- <ClCompile Include="..\libclamav\7z\Archive\7z\7zHeader.c"/> |
|
194 |
- <ClCompile Include="..\libclamav\7z\Archive\7z\7zIn.c"/> |
|
195 |
- <ClCompile Include="..\libclamav\7z\Archive\7z\7zItem.c"/> |
|
196 | 190 |
<ClCompile Include="..\libclamav\7z\Bcj2.c"/> |
197 | 191 |
<ClCompile Include="..\libclamav\7z\Bra.c"/> |
198 | 192 |
<ClCompile Include="..\libclamav\7z\Bra86.c"/> |