mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-16 09:21:51 +00:00
17 lines
497 B
C
17 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);
|