source: neercs/trunk/src/mygetopt.h

Last change on this file was 4366, checked in by Sam Hocevar, 12 years ago

Clean up source code, copyright information, author names, SVN keywords...

  • Property svn:keywords set to Id
File size: 821 bytes
RevLine 
[2444]1/*
2 *  neercs        console-based window manager
[4366]3 *  Copyright (c) 2006-2010 Sam Hocevar <sam@hocevar.net>
4 *                2008-2010 Jean-Yves Lamoureux <jylam@lnxscene.org>
[2444]5 *                All Rights Reserved
6 *
7 *  This program is free software. It comes without any warranty, to
8 *  the extent permitted by applicable law. You can redistribute it
9 *  and/or modify it under the terms of the Do What The Fuck You Want
10 *  To Public License, Version 2, as published by Sam Hocevar. See
11 *  http://sam.zoy.org/wtfpl/COPYING for more details.
12 */
13
14/*
15 *  mygetopt.h: getopt_long reimplementation
16 */
17
18struct myoption
19{
20    const char *name;
21    int has_arg;
22    int *flag;
23    int val;
24};
25
26extern int myoptind;
27extern char *myoptarg;
28
29int mygetopt(int, char * const[], const char *, const struct myoption *, int *);
30
Note: See TracBrowser for help on using the repository browser.