1 /* last review : october 29th, 2002 */
3 #include "opj_config.h"
8 typedef struct opj_option
20 #ifdef USE_SYSTEM_GETOPT
23 #define opj_opterr opterr
24 #define opj_optind optind
25 #define opj_optopt optopt
26 #define opj_optreset optreset
27 #define opj_optarg optarg
29 #define opj_getopt getopt
30 #define opj_getopt_long getopt_long
33 extern int opj_opterr;
34 extern int opj_optind;
35 extern int opj_optopt;
36 extern int opj_optreset;
37 extern char *opj_optarg;
39 extern int opj_getopt(int nargc, char *const *nargv, const char *ostr);
40 extern int opj_getopt_long(int argc, char * const argv[], const char *optstring,
41 const opj_option_t *longopts, int totlen);
42 extern void reset_options_reading(void);
44 #endif /* USE_SYSTEM_GETOPT */
45 #endif /* _GETOPT_H_ */