annotate XGetopt.h @ 12:3f627519a92d stable-0-5-2

properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
author carl
date Sat, 18 Feb 2006 09:56:00 -0800
parents 6b1b602514db
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6b1b602514db Initial revision
carl
parents:
diff changeset
1 // XGetopt.h
6b1b602514db Initial revision
carl
parents:
diff changeset
2 //
6b1b602514db Initial revision
carl
parents:
diff changeset
3 // Author: Hans Dietrich
6b1b602514db Initial revision
carl
parents:
diff changeset
4 // hdietrich2@hotmail.com
6b1b602514db Initial revision
carl
parents:
diff changeset
5 //
6b1b602514db Initial revision
carl
parents:
diff changeset
6 // This software is released into the public domain.
6b1b602514db Initial revision
carl
parents:
diff changeset
7 // You are free to use it in any way you like.
6b1b602514db Initial revision
carl
parents:
diff changeset
8 //
6b1b602514db Initial revision
carl
parents:
diff changeset
9 // This software is provided "as is" with no expressed
6b1b602514db Initial revision
carl
parents:
diff changeset
10 // or implied warranty. I accept no liability for any
6b1b602514db Initial revision
carl
parents:
diff changeset
11 // damage or loss of business that this software may cause.
6b1b602514db Initial revision
carl
parents:
diff changeset
12 //
6b1b602514db Initial revision
carl
parents:
diff changeset
13 ///////////////////////////////////////////////////////////////////////////////
6b1b602514db Initial revision
carl
parents:
diff changeset
14
6b1b602514db Initial revision
carl
parents:
diff changeset
15 #ifndef XGETOPT_H
6b1b602514db Initial revision
carl
parents:
diff changeset
16 #define XGETOPT_H
6b1b602514db Initial revision
carl
parents:
diff changeset
17
6b1b602514db Initial revision
carl
parents:
diff changeset
18 extern int optind, opterr;
6b1b602514db Initial revision
carl
parents:
diff changeset
19 extern char *optarg;
6b1b602514db Initial revision
carl
parents:
diff changeset
20
6b1b602514db Initial revision
carl
parents:
diff changeset
21 int getopt(int argc, char *argv[], char *optstring);
6b1b602514db Initial revision
carl
parents:
diff changeset
22
6b1b602514db Initial revision
carl
parents:
diff changeset
23 #endif //XGETOPT_H