Go to the documentation of this file.
77 #include <jasper/jas_config.h>
89 #define JAS_GETOPT_EOF (-1)
91 #define JAS_GETOPT_ERR '?'
94 #define JAS_OPT_HASARG 0x01
#define JAS_OPT_HASARG
Definition: jas_getopt.h:94
int jas_optind
The current option index.
Definition: jas_getopt.c:87
#define JAS_GETOPT_EOF
Definition: jas_getopt.h:89
JAS_EXPORT int jas_eprintf(const char *fmt,...)
Print formatted text for the standard error stream (i.e., stderr).
Definition: jas_debug.c:96
Command line option type.
Definition: jas_getopt.h:104
int jas_opterr
The debug level.
Definition: jas_getopt.c:88
#define JAS_GETOPT_ERR
Definition: jas_getopt.h:91
JasPer Debugging-Related Functionality.
int jas_getopt(int argc, char **argv, const jas_opt_t *opts)
Get the next option.
Definition: jas_getopt.c:107
Command Line Option Parsing Code.
const char * jas_optarg
The current option argument.
Definition: jas_getopt.c:89