mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3676
This commit is contained in:
parent
98bd25cc45
commit
de1d1244c4
|
@ -14003,3 +14003,11 @@ David 2004.06.18
|
|||
|
||||
client/win/
|
||||
wingui.cpp
|
||||
|
||||
David 2004.06.18
|
||||
- updated zip/unzip files (from Carl)
|
||||
|
||||
lib/
|
||||
boinc_zip.C,h (removed)
|
||||
zip/
|
||||
various
|
||||
|
|
|
@ -1,89 +0,0 @@
|
|||
// this is the "wrapper" file for the zip/unzip functions to expose to BOINC clients
|
||||
|
||||
#include "boinc_zip.h"
|
||||
|
||||
// send in an input file or path wildcard, output filename, and basic options
|
||||
|
||||
#ifndef _MAX_PATH
|
||||
#define _MAX_PATH 255
|
||||
#endif
|
||||
|
||||
int boinc_zip(int bZip, const char *fileIn, const char *fileOut, const char *options)
|
||||
{
|
||||
int carg;
|
||||
char** av;
|
||||
int iRet = 0, i = 0;
|
||||
|
||||
// if unzipping but no file out, so it just uses cwd, only 3 args
|
||||
if (bZip == UNZIP_IT && !fileOut)
|
||||
carg = 3;
|
||||
else
|
||||
carg = 4;
|
||||
|
||||
// make a dynamic array
|
||||
av = (char**) calloc(4, sizeof(char*));
|
||||
for (i=0;i<carg;i++)
|
||||
av[i] = (char*) calloc(_MAX_PATH,sizeof(char));
|
||||
|
||||
// just form an argc/argv to spoof the "main"
|
||||
// default options are to recurse into directories
|
||||
if (options && strlen(options))
|
||||
strcpy(av[1], options);
|
||||
|
||||
if (bZip == ZIP_IT)
|
||||
{
|
||||
strcpy(av[0], "zip");
|
||||
// default zip options -- no dir names, no subdirs, highest compression, quiet mode
|
||||
if (strlen(av[1])==0)
|
||||
strcpy(av[1], "-j9q");
|
||||
strcpy(av[2], fileOut);
|
||||
strcpy(av[3], fileIn);
|
||||
}
|
||||
else
|
||||
{
|
||||
strcpy(av[0], "unzip");
|
||||
// default unzip options -- preserve subdirs, overwrite
|
||||
if (strlen(av[1])==0)
|
||||
strcpy(av[1], "-o");
|
||||
strcpy(av[2], fileIn);
|
||||
|
||||
// if they passed in a directory unzip there
|
||||
if (carg == 4)
|
||||
sprintf(av[3], "-d%s", fileOut);
|
||||
}
|
||||
//strcpy(av[carg-1], ""); // null arg
|
||||
|
||||
if (bZip == ZIP_IT)
|
||||
{
|
||||
if (access(fileOut, 0) == 0)
|
||||
{ // old zip file exists so unlink (otherwise zip will reuse, doesn't seem to be a flag to
|
||||
// bypass zip reusing it
|
||||
unlink(fileOut);
|
||||
}
|
||||
iRet = zip_main(carg, av);
|
||||
}
|
||||
else
|
||||
iRet = unzip_main(carg, av);
|
||||
|
||||
for (i=0;i<carg;i++)
|
||||
free(av[i]);
|
||||
free(av);
|
||||
return iRet;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// this is a test of the boinc_zip/unzip Info-Zip wrapper
|
||||
|
||||
int main()
|
||||
{
|
||||
// replace with the path/file wildcard of your choice
|
||||
boinc_zip(ZIP_IT, "e:\\temp\\*.vxd", "e:\\temp\\test.zip", NULL);
|
||||
|
||||
//boinc_zip(UNZIP_IT, "e:\\temp\\test.zip", NULL, NULL);
|
||||
boinc_zip(UNZIP_IT, "e:\\temp\\test.zip", "\\\\snowdon\\Writtable\\", NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
*/
|
|
@ -1,29 +0,0 @@
|
|||
// this is the "wrapper" header file for the zip/unzip functions to expose to BOINC clients
|
||||
// CMC - 18/03/2004, Oxford University for BOINC project
|
||||
// released under the BOINC license
|
||||
|
||||
// note that I've disabled zip encryption to try and simplify things
|
||||
// (zip encryption is fairly weak and easy to break anyway)
|
||||
|
||||
#include "../unzip/unzip.h"
|
||||
#include "../zip/zip.h"
|
||||
|
||||
// forward declarations for boinc_zip functions
|
||||
// note it's basically like running zip/unzip, just comprise an argc/argv
|
||||
// send in an input file or path wildcard, output filename, and basic options
|
||||
|
||||
// default options for zip (bZip = true) are "-j9q" which is
|
||||
// DON'T recurse subdirectories, best compression, quiet operation
|
||||
// call it with bZip = ZIP to zip, bZip = UNZIP to unzip (duh)
|
||||
|
||||
#define ZIP_IT 1
|
||||
#define UNZIP_IT 0
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
int boinc_zip(int bZip, const char *fileIn, const char *fileOut, const char *options);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
1106
zip/Makefile
1106
zip/Makefile
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,7 @@
|
|||
|
||||
## note: -D flags taken from a zip config build under Linux
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
AM_CPPFLAGS = -pthread \
|
||||
-I./zip \
|
||||
-I./unzip \
|
||||
-I../lib \
|
||||
|
@ -30,7 +30,6 @@ libboinc_zip_a_SOURCES = boinc_zip.cpp \
|
|||
./unzip/unzip.c \
|
||||
./unzip/zipinfo.c \
|
||||
./zip/deflate.c \
|
||||
./zip/mktime.c \
|
||||
./zip/trees.c \
|
||||
./zip/util.c \
|
||||
./zip/z_fileio.c \
|
||||
|
|
1106
zip/Makefile.in
1106
zip/Makefile.in
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,89 @@
|
|||
boinc_zip -- any questions/comments please email carlc@comlab.ox.ac.uk
|
||||
|
||||
boinc_zip is used on the climateprediction.net project to compress our
|
||||
large input/output files. It is provided to BOINC developers as part
|
||||
of the package, although it is not a "mandatory" component. It is
|
||||
based on the "Info-Zip" libraries, but combines both zip & unzip
|
||||
functionality in one library. (http://www.info-zip.org)
|
||||
|
||||
Basically, it will allow you to build a library that you can link
|
||||
against to provide basic zip/unzip compression functionality. It
|
||||
should only add a few hundred KB to your app (basically like
|
||||
distributing zip & unzip exe's for different platforms).
|
||||
|
||||
Limitations: the "unzip" functionality is there, that is you can unzip
|
||||
a file and it will create all directories & files in the zip file.
|
||||
The "zip" functionality has some limitations due to the cross-platform
|
||||
nature: mainly it doens't provide zipping recursively (i.e.
|
||||
subdirectories); and wildcard handling is done using the "boinc_filelist"
|
||||
function which will be explained below.
|
||||
|
||||
Building: For Windows, you can just add the project "boinc_zip" to your
|
||||
Visual Studio "Solution" or "Workspace." Basically just "Insert Existing
|
||||
Project" from the Visual Studio IDE, navigate over to the boinc/zip
|
||||
directory, and it should load the appropriate files. You can then build
|
||||
"Debug" and "Release" versions of the library. Then just add the
|
||||
appropriate reference to "boinc_zip.lib" (Release build) or "boinc_zipd.lib"
|
||||
(Debug build) in your app.
|
||||
|
||||
For Linux & Mac, you should be able to run "./configure" and then do a "make"
|
||||
to build the "libboinc_zip.a" lib that you will link against. In extreme
|
||||
cases, you may need to do an "aclocal && autoconf && automake" first,
|
||||
to build properly for your platform.
|
||||
|
||||
Also, please note that boinc_zip relies on some BOINC functions that you
|
||||
will need (and will most likely be in your app already since they are handy)
|
||||
-- namely boinc/lib/filesys.C and boinc/lib/util.C
|
||||
|
||||
Using:
|
||||
Basically, you will need to #include "boinc_zip.h" in your app (of course
|
||||
your compiler will need to know where it is, i.e. -I../boinc/zip).
|
||||
|
||||
Then you can just call the function "boinc_zip" with the appropriate arguments
|
||||
to zip or unzip. There are three overridden boinc_zip's provided:
|
||||
|
||||
int boinc_zip(int bZipType, const std::string szFileZip,
|
||||
const ZipFileList* pvectszFileIn);
|
||||
int boinc_zip(int bZipType, const std::string szFileZip,
|
||||
const std::string szFileIn);
|
||||
int boinc_zip(int bZipType, const char* szFileZip, const char* szFileIn);
|
||||
|
||||
bZipType is ZIP_IT or UNZIP_IT (self-explanatory)
|
||||
|
||||
szFileZip is the name of the zip file to create or extract
|
||||
(I assume the user will provide it with the .zip extension)
|
||||
|
||||
The main differences are in the file parameter. The zip library used was
|
||||
exhibiting odd behavior when "coexisting" with unzip, particularly in the
|
||||
wildcard handling. So a function was made that creates a "ZipFileList" class,
|
||||
which is basically a vector of filenames. If you are just compressing a
|
||||
single file, you can use either the std::string or const char* szFileIn overrides.
|
||||
|
||||
You can also just pass in a "*" or a "*.*" to zip up all files in a directory.
|
||||
|
||||
To zip multiple files in a "mix & match" fashion, you can use the boinc_filelist
|
||||
function provided. Basically, it's a crude pattern matching of files in a
|
||||
directory, but it has been useful for us on the CPDN project. Just create a
|
||||
ZipFileList instance, and then pass this into boinc_filelist as follows:
|
||||
|
||||
bool boinc_filelist(const std::string directory,
|
||||
const std::string pattern,
|
||||
ZipFileList* pList,
|
||||
const unsigned char ucSort = SORT_NAME | SORT_DESCENDING,
|
||||
const bool bClear = true);
|
||||
|
||||
if you want to zip up all text (.txt) files in a directory, just pass in:
|
||||
the directory as a std::string, the pattern, i.e. ".txt", &yourZipList
|
||||
|
||||
The last two flags are the sort order of the file list (CPDN files need to be
|
||||
in a certain order -- descending filenames, which is why that's the default).
|
||||
The default is to "clear" your list, you can set that to "false" to keep adding
|
||||
files to your "ZipFileList".
|
||||
|
||||
When you have created your "ZipFileList" just pass that pointer to boinc_zip.
|
||||
You will be able to add files in other directories this way.
|
||||
|
||||
There is a "ziptest" Project for Windows provided to experiment, which can
|
||||
also be run (the "ziptest.cpp") on Unix & Mac to experiment
|
||||
with how boinc_zip work (just g++ with the boinc/lib/filesys.C & util.C as
|
||||
described above).
|
File diff suppressed because it is too large
Load Diff
|
@ -13,6 +13,10 @@ int zip_main(int argc, char** argv);
|
|||
|
||||
#ifndef _WIN32 // only need for Linux & Mac
|
||||
#include "config.h"
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
using std::string;
|
||||
#define _S_IFDIR S_IFDIR
|
||||
#endif
|
||||
|
||||
#include "./unzip/unzip.h"
|
||||
|
@ -28,10 +32,53 @@ int zip_main(int argc, char** argv);
|
|||
#define _MAX_PATH 255
|
||||
#endif
|
||||
|
||||
// ZipFileEntry/List stuff
|
||||
ZipFileEntry::ZipFileEntry(const std::string strIn, unsigned char ucSort)
|
||||
{
|
||||
this->assign(strIn);
|
||||
stat(strIn.c_str(), &m_statFile);
|
||||
m_ucSort = ucSort;
|
||||
}
|
||||
|
||||
ZipFileEntry::ZipFileEntry(const std::string strIn, const struct stat instat, unsigned char ucSort)
|
||||
{
|
||||
this->assign(strIn);
|
||||
m_statFile = instat;
|
||||
m_ucSort = ucSort;
|
||||
}
|
||||
|
||||
ZipFileEntry::~ZipFileEntry()
|
||||
{
|
||||
this->assign("");
|
||||
}
|
||||
|
||||
bool ZipFileEntry::operator< (const ZipFileEntry& other) const
|
||||
{
|
||||
bool bRet = false;
|
||||
if (m_ucSort & SORT_NAME
|
||||
&& m_ucSort & SORT_ASCENDING
|
||||
&& strcmp(this->c_str(), other.c_str())<0)
|
||||
bRet = true;
|
||||
else if (m_ucSort & SORT_NAME
|
||||
&& m_ucSort & SORT_DESCENDING
|
||||
&& strcmp(this->c_str(), other.c_str())>0)
|
||||
bRet = true;
|
||||
else if (m_ucSort & SORT_TIME
|
||||
&& m_ucSort & SORT_ASCENDING
|
||||
&& this->m_statFile.st_mtime < other.m_statFile.st_mtime)
|
||||
bRet = true;
|
||||
else if (m_ucSort & SORT_TIME
|
||||
&& m_ucSort & SORT_DESCENDING
|
||||
&& this->m_statFile.st_mtime > other.m_statFile.st_mtime)
|
||||
bRet = true;
|
||||
|
||||
return bRet;
|
||||
}
|
||||
|
||||
int boinc_zip(int bZipType, const std::string szFileZip, const std::string szFileIn)
|
||||
{
|
||||
ZipFileList tempvec;
|
||||
tempvec.push_back(szFileIn);
|
||||
tempvec.push_back(ZipFileEntry(szFileIn));
|
||||
return boinc_zip(bZipType, szFileZip, &tempvec);
|
||||
}
|
||||
|
||||
|
@ -41,11 +88,12 @@ int boinc_zip(int bZipType, const char* szFileZip, const char* szFileIn)
|
|||
strFileZip.assign(szFileZip);
|
||||
strFileIn.assign(szFileIn);
|
||||
ZipFileList tempvec;
|
||||
tempvec.push_back(strFileIn);
|
||||
tempvec.push_back(ZipFileEntry(strFileIn));
|
||||
return boinc_zip(bZipType, strFileZip, &tempvec);
|
||||
}
|
||||
|
||||
int boinc_zip(int bZipType, const std::string szFileZip, const ZipFileList* pvectszFileIn)
|
||||
int boinc_zip(int bZipType, const std::string szFileZip,
|
||||
const ZipFileList* pvectszFileIn)
|
||||
{
|
||||
int carg;
|
||||
char** av;
|
||||
|
@ -142,24 +190,61 @@ int boinc_zip(int bZipType, const std::string szFileZip, const ZipFileList* pvec
|
|||
|
||||
bool boinc_filelist(const std::string directory,
|
||||
const std::string pattern,
|
||||
ZipFileList* pList)
|
||||
ZipFileList* pList,
|
||||
const unsigned char ucSort, const bool bClear)
|
||||
{
|
||||
if (!pList) return false;
|
||||
pList->clear(); // removes old entries that may be in pList
|
||||
std::string strDir = directory;
|
||||
std::string strFile;
|
||||
// at most three |'s may be passed in pattern match
|
||||
int iPos[3], iFnd, iCtr, i, lastPos;
|
||||
struct stat statF;
|
||||
std::string strFullPath;
|
||||
char strPart[3][32];
|
||||
std::string spattern = pattern;
|
||||
std::string strDir = directory;
|
||||
std::string strUserDir = directory;
|
||||
int iLen = strUserDir.size();
|
||||
|
||||
// add final / or \ if doesn't exist
|
||||
if (directory[directory.size()-1] != '/' && directory[directory.size()-1]!='\\')
|
||||
#ifdef _WIN32
|
||||
strDir += '\\';
|
||||
if (!pList) return false;
|
||||
|
||||
// wildcards are blank!
|
||||
if (pattern == "*" || pattern == "*.*") spattern.assign("");
|
||||
|
||||
if (bClear)
|
||||
pList->clear(); // removes old entries that may be in pList
|
||||
|
||||
// first tack on a final slash on user dir if required
|
||||
if (strUserDir[iLen-1] != '\\'
|
||||
&& strUserDir[iLen] != '/')
|
||||
{
|
||||
// need a final slash, but what type?
|
||||
// / is safe on all OS's for CPDN at least
|
||||
// but if they already used \ use that
|
||||
// well they didn't use a backslash so just use a slash
|
||||
if (strUserDir.find("\\") == -1)
|
||||
strUserDir += "/";
|
||||
else
|
||||
strUserDir += "\\";
|
||||
}
|
||||
|
||||
// transform strDir to either all \\ or all /
|
||||
int j;
|
||||
for (j=0; j<directory.size(); j++) {
|
||||
// take off final / or backslash
|
||||
if (j == (directory.size()-1)
|
||||
&& (strDir[j] == '/' || strDir[j]=='\\'))
|
||||
strDir.resize(directory.size()-1);
|
||||
else {
|
||||
#ifdef _WIN32 // transform paths appropriate for OS
|
||||
if (directory[j] == '/')
|
||||
strDir[j] = '\\';
|
||||
#else
|
||||
strDir += '/';
|
||||
if (directory[j] == '\\')
|
||||
strDir[j] = '/';
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
DirScanner dirscan(strDir);
|
||||
std::string strFile;
|
||||
int iPos[3], iFnd, iCtr, i, lastPos; // at most three |'s may be passed in pattern
|
||||
char strPart[3][32];
|
||||
memset(strPart, 0x00, 3*32);
|
||||
while (dirscan.scan(strFile))
|
||||
{
|
||||
|
@ -170,13 +255,13 @@ bool boinc_filelist(const std::string directory,
|
|||
iPos[2] = -1;
|
||||
// match the whole filename returned against the regexp to see if it's a hit
|
||||
// first get all the |'s to get the pieces to verify
|
||||
while (iCtr<3 && (iPos[iCtr] = (int) pattern.find('|', lastPos)) > -1)
|
||||
while (iCtr<3 && (iPos[iCtr] = (int) spattern.find('|', lastPos)) > -1)
|
||||
{
|
||||
if (iCtr==0) {
|
||||
strncpy(strPart[0], pattern.c_str(), iPos[iCtr]);
|
||||
strncpy(strPart[0], spattern.c_str(), iPos[iCtr]);
|
||||
}
|
||||
else {
|
||||
strncpy(strPart[iCtr], pattern.c_str()+lastPos, iPos[iCtr]-lastPos);
|
||||
strncpy(strPart[iCtr], spattern.c_str()+lastPos, iPos[iCtr]-lastPos);
|
||||
}
|
||||
lastPos = iPos[iCtr]+1;
|
||||
|
||||
|
@ -184,13 +269,13 @@ bool boinc_filelist(const std::string directory,
|
|||
}
|
||||
if (iCtr>0) // found a | so need to get the part from lastpos onward
|
||||
{
|
||||
strncpy(strPart[iCtr], pattern.c_str()+lastPos, pattern.length() - lastPos);
|
||||
strncpy(strPart[iCtr], spattern.c_str()+lastPos, spattern.length() - lastPos);
|
||||
}
|
||||
|
||||
// check no | were found at all
|
||||
if (iCtr == 0)
|
||||
{
|
||||
strcpy(strPart[0], pattern.c_str());
|
||||
strcpy(strPart[0], spattern.c_str());
|
||||
iCtr++; // fake iCtr up 1 to get in the loop below
|
||||
}
|
||||
|
||||
|
@ -211,10 +296,19 @@ bool boinc_filelist(const std::string directory,
|
|||
if (bFound)
|
||||
{
|
||||
// this pattern matched the file, add to vector
|
||||
pList->push_back(strDir + strFile);
|
||||
// NB: first get stat to make sure it really is a file
|
||||
strFullPath = strUserDir + strFile;
|
||||
// only add if the file really exists (i.e. not a directory)
|
||||
if (stat(strFullPath.c_str(), &statF) != -1 && !(statF.st_mode & _S_IFDIR)) {
|
||||
ZipFileEntry zfe(strFullPath, statF, ucSort);
|
||||
pList->push_back(zfe);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// sort by file creation time
|
||||
|
||||
std::sort(pList->begin(), pList->end()); // may as well sort it?
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ RSC=rc.exe
|
|||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE F90 /compile_only /nologo /warn:nofileopt
|
||||
# ADD F90 /compile_only /nologo /warn:nofileopt
|
||||
# ADD F90 /compile_only /nologo /threads /warn:nofileopt
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
|
||||
# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\lib" /I "..\\" /I ".\\" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c
|
||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||
|
@ -67,7 +67,7 @@ LIB32=link.exe -lib
|
|||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE F90 /check:bounds /compile_only /dbglibs /debug:full /nologo /traceback /warn:argument_checking /warn:nofileopt
|
||||
# ADD F90 /check:bounds /compile_only /dbglibs /debug:full /nologo /traceback /warn:argument_checking /warn:nofileopt
|
||||
# ADD F90 /check:bounds /compile_only /dbglibs /debug:full /nologo /threads /traceback /warn:argument_checking /warn:nofileopt
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\lib" /I "..\\" /I ".\\" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||
|
|
|
@ -13,10 +13,37 @@
|
|||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
using std::string;
|
||||
|
||||
typedef std::vector<std::string> ZipFileList;
|
||||
#define ZIP_IT 1
|
||||
#define UNZIP_IT 0
|
||||
|
||||
// bitmasks for sort type on the ZipFileList
|
||||
// optional but CPDN SmallExecs likes reverse date order
|
||||
#define SORT_ASCENDING 0x01
|
||||
#define SORT_DESCENDING 0x02
|
||||
|
||||
#define SORT_TIME 0x10
|
||||
#define SORT_NAME 0x20
|
||||
|
||||
class ZipFileEntry :public std::string
|
||||
{
|
||||
public:
|
||||
ZipFileEntry(const std::string strIn, unsigned char ucSort = SORT_NAME | SORT_DESCENDING);
|
||||
ZipFileEntry(const std::string strIn, const struct stat instat, unsigned char ucSort = SORT_NAME | SORT_DESCENDING);
|
||||
~ZipFileEntry();
|
||||
bool operator< (const ZipFileEntry& other) const; // sorts by filetime
|
||||
|
||||
struct stat m_statFile; // keep file stats in here
|
||||
|
||||
private:
|
||||
unsigned char m_ucSort;
|
||||
};
|
||||
|
||||
typedef std::vector<ZipFileEntry> ZipFileList;
|
||||
|
||||
// forward declarations for boinc_zip functions
|
||||
// note it's basically like running zip/unzip, just comprise an argc/argv
|
||||
|
@ -34,9 +61,6 @@ typedef std::vector<std::string> ZipFileList;
|
|||
// the vector of string's, and probably better than using wildcards in zip
|
||||
// across platforms
|
||||
|
||||
#define ZIP_IT 1
|
||||
#define UNZIP_IT 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#else
|
||||
|
@ -47,7 +71,9 @@ int boinc_zip(int bZipType, const std::string szFileZip, const std::string szFil
|
|||
int boinc_zip(int bZipType, const char* szFileZip, const char* szFileIn);
|
||||
bool boinc_filelist(const std::string directory,
|
||||
const std::string pattern,
|
||||
ZipFileList* pList);
|
||||
ZipFileList* pList,
|
||||
const unsigned char ucSort = SORT_NAME | SORT_DESCENDING,
|
||||
const bool bClear = true);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,797 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="boinc_zip"
|
||||
ProjectGUID="{753E897D-9ECE-42B1-9F0D-CD566775C77E}"
|
||||
SccProjectName=""
|
||||
SccLocalPath="">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\lib,..\,.\"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
PrecompiledHeaderFile=".\Debug/boinc_zip.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="3"
|
||||
SuppressStartupBanner="TRUE"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="boinc_zipd.lib"
|
||||
SuppressStartupBanner="TRUE"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="2057"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="4"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
AdditionalIncludeDirectories="..\lib,..\,.\"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
PrecompiledHeaderFile=".\Release/boinc_zip.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="3"
|
||||
SuppressStartupBanner="TRUE"
|
||||
CompileAs="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLibrarianTool"
|
||||
OutputFile="boinc_zip.lib"
|
||||
SuppressStartupBanner="TRUE"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="2057"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;f90;for;f;fpp">
|
||||
<File
|
||||
RelativePath="boinc_zip.cpp">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;fi;fd">
|
||||
<File
|
||||
RelativePath="boinc_zip.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Unzip Header Files"
|
||||
Filter="*.h">
|
||||
<File
|
||||
RelativePath="unzip\consts.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\ebcdic.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\globals.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\inflate.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\tables.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\ttyio.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\unzip.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\unzpriv.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\unzvers.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\win32\w32cfg.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Unzip Source Files"
|
||||
Filter="*.c">
|
||||
<File
|
||||
RelativePath="unzip\apihelp.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\crc32.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\crctab.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\envargs.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\explode.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\extract.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\fileio.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\globals.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\inflate.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\list.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\match.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\process.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\ttyio.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\unreduce.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\unshrink.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\unzip.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\win32\win32.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="unzip\zipinfo.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Zip Header Files"
|
||||
Filter="*.c">
|
||||
<File
|
||||
RelativePath="zip\win32\osdep.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\revision.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\tailor.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\z_ttyio.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\zip.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\ziperr.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Zip Source Files"
|
||||
Filter="*.c">
|
||||
<File
|
||||
RelativePath="zip\deflate.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\mktime.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\trees.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\util.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\win32\win32zip.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\z_fileio.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\z_globals.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\win32\z_win32.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\zip.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\zipfile.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="zip\zipup.c">
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
File diff suppressed because it is too large
Load Diff
|
@ -920,7 +920,7 @@ int zip_main(int argc, char** argv)
|
|||
return retcode;
|
||||
}
|
||||
//#endif /* !MACOS */
|
||||
#if defined(MACOS) || defined(WINDLL)
|
||||
//#if defined(MACOS) || defined(WINDLL)
|
||||
action = ADD; /* one of ADD, UPDATE, FRESHEN, or DELETE */
|
||||
comadd = 0; /* 1=add comments for new files */
|
||||
zipedit = 0; /* 1=edit zip comment and all file comments */
|
||||
|
@ -933,7 +933,7 @@ int zip_main(int argc, char** argv)
|
|||
#if defined(AMIGA) || defined(MACOS)
|
||||
filenotes = 0;/* 1=take comments from AmigaDOS/MACOS filenotes */
|
||||
#endif
|
||||
zipstate = -1;
|
||||
//zipstate = -1;
|
||||
tempzip = NULL;
|
||||
fcount = 0;
|
||||
recurse = 0; /* 1=recurse into directories; 2=match filenames */
|
||||
|
@ -965,7 +965,7 @@ int zip_main(int argc, char** argv)
|
|||
pcount = 0; /* number of patterns */
|
||||
icount = 0; /* number of include only patterns */
|
||||
|
||||
#endif /* MACOS || WINDLL */
|
||||
//#endif /* MACOS || WINDLL */
|
||||
|
||||
mesg = (FILE *) stdout; /* cannot be made at link time for VMS */
|
||||
comment_stream = (FILE *)stdin;
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
// ziptest.cpp : Defines the entry point for the console application.
|
||||
//
|
||||
|
||||
#ifndef _WIN32
|
||||
#include "../boinc/config.h"
|
||||
#endif
|
||||
#include "boinc_zip.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
ZipFileList zflist;
|
||||
#ifdef _WIN32
|
||||
boinc_filelist("temp/linux", "", &zflist, SORT_NAME | SORT_ASCENDING);
|
||||
#else
|
||||
boinc_filelist("/var/home/carlc", "", &zflist, SORT_NAME | SORT_ASCENDING);
|
||||
#endif
|
||||
int jj;
|
||||
for (jj = 0; jj < zflist.size(); jj++)
|
||||
printf("%s %d\n", zflist[jj].c_str(), zflist[jj].m_statFile.st_mtime);
|
||||
|
||||
#ifdef _WIN32
|
||||
boinc_zip(ZIP_IT, "c:\\temp\\bztest", &zflist);
|
||||
#else
|
||||
boinc_zip(ZIP_IT, "./ziptest.zip", &zflist);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,118 @@
|
|||
# Microsoft Developer Studio Project File - Name="ziptest" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=ziptest - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "ziptest.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "ziptest.mak" CFG="ziptest - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "ziptest - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "ziptest - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
F90=df.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "ziptest - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "Release"
|
||||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE F90 /compile_only /nologo /warn:nofileopt
|
||||
# ADD F90 /compile_only /nologo /warn:nofileopt
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c
|
||||
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c
|
||||
# ADD BASE RSC /l 0x809 /d "NDEBUG"
|
||||
# ADD RSC /l 0x809 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
|
||||
!ELSEIF "$(CFG)" == "ziptest - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "Debug"
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE F90 /check:bounds /compile_only /dbglibs /debug:full /nologo /traceback /warn:argument_checking /warn:nofileopt
|
||||
# ADD F90 /check:bounds /compile_only /dbglibs /debug:full /nologo /traceback /warn:argument_checking /warn:nofileopt
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c
|
||||
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../boinc/zip" /I ".." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /TP /c
|
||||
# ADD BASE RSC /l 0x809 /d "_DEBUG"
|
||||
# ADD RSC /l 0x809 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 boinc_zipd.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /out:"ziptest.exe" /pdbtype:sept /libpath:"../boinc/zip"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "ziptest - Win32 Release"
|
||||
# Name "ziptest - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;f90;for;f;fpp"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\boinc\lib\filesys.C
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\boinc\lib\util.C
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ziptest.cpp
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\boinc\zip\boinc_zip.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
|
@ -0,0 +1,216 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="ziptest"
|
||||
ProjectGUID="{CE40F324-5752-4A07-BA95-967A48E99032}"
|
||||
SccProjectName=""
|
||||
SccLocalPath="">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory=".\Release"
|
||||
IntermediateDirectory=".\Release"
|
||||
ConfigurationType="1"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
InlineFunctionExpansion="1"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||
StringPooling="TRUE"
|
||||
RuntimeLibrary="4"
|
||||
EnableFunctionLevelLinking="TRUE"
|
||||
UsePrecompiledHeader="3"
|
||||
PrecompiledHeaderThrough="stdafx.h"
|
||||
PrecompiledHeaderFile=".\Release/ziptest.pch"
|
||||
AssemblerListingLocation=".\Release/"
|
||||
ObjectFile=".\Release/"
|
||||
ProgramDataBaseFileName=".\Release/"
|
||||
WarningLevel="3"
|
||||
SuppressStartupBanner="TRUE"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile=".\Release/ziptest.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ProgramDatabaseFile=".\Release/ziptest.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Release/ziptest.tlb"
|
||||
HeaderFileName=""/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="NDEBUG"
|
||||
Culture="2057"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory=".\Debug"
|
||||
IntermediateDirectory=".\Debug"
|
||||
ConfigurationType="1"
|
||||
UseOfMFC="0"
|
||||
ATLMinimizesCRunTimeLibraryUsage="FALSE"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../boinc/zip,.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="1"
|
||||
PrecompiledHeaderFile=".\Debug/ziptest.pch"
|
||||
AssemblerListingLocation=".\Debug/"
|
||||
ObjectFile=".\Debug/"
|
||||
ProgramDataBaseFileName=".\Debug/"
|
||||
WarningLevel="3"
|
||||
SuppressStartupBanner="TRUE"
|
||||
DebugInformationFormat="4"
|
||||
CompileAs="2"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="boinc_zipd.lib"
|
||||
OutputFile="ziptest.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
AdditionalLibraryDirectories="../boinc/zip"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile=".\Debug/ziptest.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
TypeLibraryName=".\Debug/ziptest.tlb"
|
||||
HeaderFileName=""/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"
|
||||
PreprocessorDefinitions="_DEBUG"
|
||||
Culture="2057"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;f90;for;f;fpp">
|
||||
<File
|
||||
RelativePath="..\boinc\lib\filesys.C">
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\boinc\lib\util.C">
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="ziptest.cpp">
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
PreprocessorDefinitions=""/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""
|
||||
PreprocessorDefinitions=""
|
||||
BasicRuntimeChecks="3"
|
||||
CompileAs="2"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;fi;fd">
|
||||
<File
|
||||
RelativePath="..\boinc\zip\boinc_zip.h">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
Loading…
Reference in New Issue