Mercurial > hg-old > index.cgi
diff lwar/lwar.c @ 174:cc41ccee8f64
added --merge to lwar
author | lost |
---|---|
date | Tue, 03 Mar 2009 00:42:47 +0000 |
parents | 47427342e41d |
children | bae1e3ecdce1 |
line wrap: on
line diff
--- a/lwar/lwar.c Mon Mar 02 04:13:49 2009 +0000 +++ b/lwar/lwar.c Tue Mar 03 00:42:47 2009 +0000 @@ -26,16 +26,26 @@ #include "config.h" #endif +#include <stdio.h> #include <stdlib.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> #define __lwar_c_seen__ #include "lwar.h" #include "util.h" +typedef struct +{ + FILE *f; +} arhandle_real; + int debug_level = 0; int operation = 0; int nfiles = 0; char *archive_file = NULL; +int mergeflag = 0; char **files = NULL;