Mercurial > libpst
annotate src/XGetopt.h @ 355:d1f930be4711
From Jeffrey Morlan:
pst_build_id_ptr and pst_build_desc_ptr require that the first child
of a BTree page have the same starting ID as itself. This is not
required by the spec, and is not true in many real-world PSTs
(presumably, the original first child of the page got
deleted). Because of this, many emails are not being extracted from
these PSTs. It also triggers an infinite loop in lspst (a separate
bug, also fixed)
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 06 Jul 2016 10:12:22 -0700 |
parents | 0f1492b7fe8b |
children |
rev | line source |
---|---|
16 | 1 // XGetopt.h |
2 // | |
3 // Author: Hans Dietrich | |
4 // hdietrich2@hotmail.com | |
5 // | |
6 // This software is released into the public domain. | |
7 // You are free to use it in any way you like. | |
8 // | |
9 // This software is provided "as is" with no expressed | |
10 // or implied warranty. I accept no liability for any | |
11 // damage or loss of business that this software may cause. | |
12 // | |
13 /////////////////////////////////////////////////////////////////////////////// | |
14 | |
15 #ifndef XGETOPT_H | |
16 #define XGETOPT_H | |
17 | |
18 extern int optind, opterr; | |
19 extern char *optarg; | |
20 | |
118
0f1492b7fe8b
patch from Fridrich Strba for building on mingw and general cleanup of autoconf files
Carl Byington <carl@five-ten-sg.com>
parents:
16
diff
changeset
|
21 int getopt(int argc, char* const* argv, char *optstring); |
16 | 22 |
23 #endif //XGETOPT_H |