source: zzuf/trunk/src/mygetopt.h @ 4253

Last change on this file since 4253 was 4253, checked in by sam, 5 years ago

Fix copyright information and remove Id tag everywhere.

  • Property svn:keywords set to Id
File size: 739 bytes
Line 
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
17struct myoption
18{
19    const char *name;
20    int has_arg;
21    int *flag;
22    int val;
23};
24
25extern int myoptind;
26extern char *myoptarg;
27
28int mygetopt(int, char * const[], const char *, const struct myoption *, int *);
29
Note: See TracBrowser for help on using the repository browser.