GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions
mi-getopt.h File Reference

Go to the source code of this file.

Classes

struct  mi_opt
 

Functions

int mi_getopt (const char *prefix, int argc, const char *const *argv, const struct mi_opt *opt, int *optind, const char **optarg)
 
int mi_getopt_allow_unknown (const char *prefix, int argc, const char *const *argv, const struct mi_opt *opts, int *oind, const char **oarg)
 
int mi_valid_noargs (const char *prefix, int argc, const char *const *argv)
 

Function Documentation

◆ mi_getopt()

int mi_getopt ( const char * prefix,
int argc,
const char *const * argv,
const struct mi_opt * opt,
int * optind,
const char ** optarg )
extern

◆ mi_getopt_allow_unknown()

int mi_getopt_allow_unknown ( const char * prefix,
int argc,
const char *const * argv,
const struct mi_opt * opts,
int * oind,
const char ** oarg )
extern

Definition at line 91 of file mi-getopt.c.

References mi_getopt_1(), and prefix.

Referenced by mi_cmd_stack_list_args().

◆ mi_valid_noargs()

int mi_valid_noargs ( const char * prefix,
int argc,
const char *const * argv )
extern

Definition at line 100 of file mi-getopt.c.

References mi_getopt(), and prefix.

Referenced by mi_cmd_file_list_exec_source_file(), and mi_cmd_inferior_tty_show().