home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 January
/
VPR0101A.BIN
/
OLS
/
TAR32053
/
tar32053.exe
/
SRC
/
MAINMAIN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-23
|
772b
|
34 lines
/*
This file is for test.
This file need not add to TAR32.DLL Project.
*/
/* mainmain.c */
#include "defconf.h"
#ifdef DLL
#include <wtypes.h>
#include <time.h>
#include "tar32.h"
extern int tar_main(int argc, char *argv[]);/* main.c */
int main(int argc, char *argv[])
{
/* #undef DLL_TEST */
#ifdef DLL_TEST
char buf[1000];
int r;
//r=Tar(NULL,"aiueo",buf,1000);
r=Tar(NULL,"-zcvf c:\\tmp\\tar\\aa3.tgz c:\\tmp\\tar\\ test\\*.*",buf,1000);
//Tar(NULL,"-rvf c:\\tmp\\test\\test\\test1.tar c:/tmp/test/test/test1.txt",buf,1000);
//r=Tar(NULL,"-zcvf c:\\tmp\\hosts.tgz c:\\tmp\\hosts",buf,1000);
//r=Tar(NULL,"-zcvf c:\\tmp\\hosts.tgz c:\\tmp\\hosts",buf,1000);
return r;
#else
return tar_main(argc,argv);
#endif
}
#endif