mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
cf11cbdb30
SVN r4 (trunk)
16 lines
497 B
C
16 lines
497 B
C
/*
|
|
Author: Marcus Boerger <helly@users.sourceforge.net>
|
|
*/
|
|
|
|
/* $Id: mbo_getopt.h,v 1.1 2004/04/19 21:14:46 helly Exp $ */
|
|
|
|
/* Define structure for one recognized option (both single char and long name).
|
|
* If short_open is '-' this is the last option.
|
|
*/
|
|
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);
|