version 1.3, 2003/04/13 18:26:26 |
version 1.4, 2011/09/16 18:12:09 |
|
|
/* |
/* |
* Copyright (C) 1984-2002 Mark Nudelman |
* Copyright (C) 1984-2011 Mark Nudelman |
* |
* |
* You may distribute under the terms of either the GNU General Public |
* You may distribute under the terms of either the GNU General Public |
* License or the Less License, as specified in the README file. |
* License or the Less License, as specified in the README file. |
|
|
|
|
#define OTYPE (BOOL|TRIPLE|NUMBER|STRING|NOVAR) |
#define OTYPE (BOOL|TRIPLE|NUMBER|STRING|NOVAR) |
|
|
|
#define OLETTER_NONE '\1' /* Invalid option letter */ |
|
|
/* |
/* |
* Argument to a handling function tells what type of activity: |
* Argument to a handling function tells what type of activity: |
*/ |
*/ |
|
|
char *oname; /* Long (GNU-style) option name */ |
char *oname; /* Long (GNU-style) option name */ |
struct optname *onext; /* List of synonymous option names */ |
struct optname *onext; /* List of synonymous option names */ |
}; |
}; |
|
|
|
#define OPTNAME_MAX 32 /* Max length of long option name */ |
|
|
struct loption |
struct loption |
{ |
{ |