remake
4.3+dbg-1.5
src
debugger
subcmd.h
Go to the documentation of this file.
1
#ifndef REMAKE_DBG_SUBCMD_H
2
#define REMAKE_DBG_SUBCMD_H
3
4
typedef
struct
{
5
const
char
*
name
;
/* name of subcommand command. */
6
const
char
*
short_doc
;
/* short description of subcommand */
7
const
char
*
doc
;
/* full description of subcommand */
8
int
*
var
;
/* address of variable setting. NULL if no
9
setting. */
10
bool
b_onoff
;
/* True if on/off variable, false if int.
11
FIXME: generalize into enumeration.
12
*/
13
unsigned
int
min_abbrev
;
/* Fewest number of characters needed
14
to match name. */
15
}
subcommand_var_info_t
;
16
17
extern
void
dbg_help_subcmd_entry
(
const
char
*psz_subcmd_name,
18
const
char
*psz_fmt,
19
subcommand_var_info_t
*p_subcmd,
20
bool
full_info);
21
#endif
/* DBG_CMD_H*/
22
/*
23
* Local variables:
24
* c-file-style: "gnu"
25
* indent-tabs-mode: nil
26
* End:
27
*/
subcommand_var_info_t::name
const char * name
Definition:
subcmd.h:5
dbg_help_subcmd_entry
void dbg_help_subcmd_entry(const char *psz_subcmd_name, const char *psz_fmt, subcommand_var_info_t *p_subcmd, bool full_info)
Definition:
help.h:25
subcommand_var_info_t
Definition:
subcmd.h:4
subcommand_var_info_t::short_doc
const char * short_doc
Definition:
subcmd.h:6
subcommand_var_info_t::doc
const char * doc
Definition:
subcmd.h:7
subcommand_var_info_t::min_abbrev
unsigned int min_abbrev
Definition:
subcmd.h:13
subcommand_var_info_t::b_onoff
bool b_onoff
Definition:
subcmd.h:10
subcommand_var_info_t::var
int * var
Definition:
subcmd.h:8
Generated on Wed Mar 18 2020 07:42:22 for remake by
1.8.13