77 #include <jasper/jas_config.h>
89 #define JAS_GETOPT_EOF (-1)
91 #define JAS_GETOPT_ERR '?'
94 #define JAS_OPT_HASARG 0x01
JAS_EXPORT int jas_optind
The current option index.
Definition: jas_getopt.c:87
JAS_EXPORT int jas_getopt(int argc, char **argv, const jas_opt_t *opts)
Get the next option.
Definition: jas_getopt.c:107
JAS_EXPORT const char * jas_optarg
The current option argument.
Definition: jas_getopt.c:89
JAS_EXPORT int jas_opterr
The debug level.
Definition: jas_getopt.c:88
Command line option type.
Definition: jas_getopt.h:104