source: libcaca/trunk/src/mygetopt.h @ 4333

Last change on this file since 4333 was 4333, checked in by Sam Hocevar, 10 years ago

Large source code cleanup, getting rid of spaces, tabs, and svn keywords.

File size: 740 bytes
Line 
1/*
2 *  zzuf - general purpose fuzzer
3 *  Copyright (c) 2002, 2007 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.