remake  4.3+dbg-1.5
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. */
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  */
const char * name
Definition: subcmd.h:5
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
Definition: subcmd.h:4
const char * short_doc
Definition: subcmd.h:6
const char * doc
Definition: subcmd.h:7
unsigned int min_abbrev
Definition: subcmd.h:13
bool b_onoff
Definition: subcmd.h:10
int * var
Definition: subcmd.h:8