mirror of https://github.com/yasm/yasm.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
523 B
23 lines
523 B
19 years ago
|
/*
|
||
|
Author: Marcus Boerger <helly@users.sourceforge.net>
|
||
|
*/
|
||
|
|
||
|
/* Define structure for one recognized option (both single char and long name).
|
||
|
* If short_open is '-' this is the last option.
|
||
|
*/
|
||
|
|
||
|
#ifndef RE2C_MBO_GETOPT_H_INCLUDE_GUARD_
|
||
|
#define RE2C_MBO_GETOPT_H_INCLUDE_GUARD_
|
||
|
|
||
|
typedef struct mbo_opt_struct
|
||
|
{
|
||
|
const char opt_char;
|
||
|
const int need_param;
|
||
|
const char * opt_name;
|
||
|
} mbo_opt_struct;
|
||
|
|
||
|
int mbo_getopt(int argc, char* const *argv, const mbo_opt_struct opts[], char **optarg, int *optind, int show_err);
|
||
|
|
||
|
#endif
|
||
|
|