1 /*
2  *  zzuf - general purpose fuzzer
3  *  Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
4  *                All Rights Reserved
5  *
6  *  This program is free software. It comes without any warranty, to
7  *  the extent permitted by applicable law. You can redistribute it
8  *  and/or modify it under the terms of the Do What The Fuck You Want
9  *  To Public License, Version 2, as published by Sam Hocevar. See
10  *  http://sam.zoy.org/wtfpl/COPYING for more details.
11  */
12 
13 /*
14  *  mygetopt.h: getopt_long reimplementation
15  */
16 
17 struct myoption
18 {
19     const char *name;
20     int has_arg;
21     int *flag;
22     int val;
23 };
24 
25 extern int myoptind;
26 extern char *myoptarg;
27 
28 int mygetopt(int, char * const[], const char *, const struct myoption *, int *);
29 
30