2 Copyright (C) Slava Astashonok <sla@0n.ru>
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License.
7 $Id: my_getopt.h,v 1.1.1.1.2.3 2004/02/02 08:06:24 sla Exp $
13 #define MY_GETOPT_ARG_REQUIRED 0x1
14 #define MY_GETOPT_REQUIRED 0x2
15 #define MY_GETOPT_ALLOW_REPEAT 0x4
17 #define MY_GETOPT_MAX_OPTSTR 4096
26 int my_getopt(int argc, char * const argv[], struct getopt_parms parms[]);