comparison src/dumpblocks.c @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents 3ec5ad97e926
children 6395ced2b8b2
comparison
equal deleted inserted replaced
117:0a3d854b53f6 118:0f1492b7fe8b
4 #include <stdlib.h> 4 #include <stdlib.h>
5 #include <unistd.h> 5 #include <unistd.h>
6 #include "libpst.h" 6 #include "libpst.h"
7 7
8 #define OUT_BUF 20 8 #define OUT_BUF 20
9 int main(int argc, char **argv) 9 int main(int argc, char* const* argv)
10 { 10 {
11 pst_file pstfile; 11 pst_file pstfile;
12 pst_index_ll *ptr; 12 pst_index_ll *ptr;
13 char *outdir = NULL, *file = NULL, *outname = NULL; 13 char *outdir = NULL, *file = NULL, *outname = NULL;
14 char *buf = NULL; 14 char *buf = NULL;