GDB (xrefs)
Public Attributes | List of all members
cmd_list_element Struct Reference

#include "cli-decode.h"

Public Attributes

struct cmd_list_elementnext
 
const char * name
 
enum command_class theclass
 
unsigned int cmd_deprecated: 1
 
unsigned int deprecated_warn_user: 1
 
unsigned int malloced_replacement: 1
 
unsigned int doc_allocated: 1
 
unsigned int hook_in: 1
 
unsigned int allow_unknown: 1
 
unsigned int abbrev_flag: 1
 
__extension__ enum cmd_types type: 2
 
__extension__ enum var_types var_type: 4
 
void(* func )(struct cmd_list_element *c, char *args, int from_tty)
 
union {
   cmd_cfunc_ftype *   cfunc
 
   cmd_sfunc_ftype *   sfunc
 
function
 
void * context
 
const char * doc
 
show_value_ftypeshow_value_func
 
const char * replacement
 
void(* pre_show_hook )(struct cmd_list_element *c)
 
struct cmd_list_elementhook_pre
 
struct cmd_list_elementhook_post
 
struct cmd_list_element ** prefixlist
 
const char * prefixname
 
struct cmd_list_elementprefix
 
completer_ftype * completer
 
completer_ftype_voidcompleter_handle_brkchars
 
void(* destroyer )(struct cmd_list_element *self, void *context)
 
void * var
 
const char *constenums
 
struct command_lineuser_commands
 
struct cmd_list_elementhookee_pre
 
struct cmd_list_elementhookee_post
 
struct cmd_list_elementcmd_pointer
 
struct cmd_list_elementaliases
 
struct cmd_list_elementalias_chain
 

Detailed Description

Definition at line 47 of file cli-decode.h.

Member Data Documentation

unsigned int cmd_list_element::abbrev_flag
struct cmd_list_element* cmd_list_element::alias_chain

Definition at line 220 of file cli-decode.h.

Referenced by add_alias_cmd(), add_cmd(), and delete_cmd().

struct cmd_list_element* cmd_list_element::aliases
unsigned int cmd_list_element::allow_unknown
cmd_cfunc_ftype* cmd_list_element::cfunc

Definition at line 117 of file cli-decode.h.

Referenced by cmd_cfunc_eq(), do_cfunc(), and set_cmd_cfunc().

unsigned int cmd_list_element::cmd_deprecated
struct cmd_list_element* cmd_list_element::cmd_pointer
completer_ftype* cmd_list_element::completer
completer_ftype_void* cmd_list_element::completer_handle_brkchars

Definition at line 186 of file cli-decode.h.

Referenced by add_cmd(), and set_cmd_completer_handle_brkchars().

void* cmd_list_element::context

Definition at line 125 of file cli-decode.h.

Referenced by delete_cmd(), get_cmd_context(), and set_cmd_context().

unsigned int cmd_list_element::deprecated_warn_user
void(* cmd_list_element::destroyer) (struct cmd_list_element *self, void *context)
const char* cmd_list_element::doc
unsigned int cmd_list_element::doc_allocated

Definition at line 82 of file cli-decode.h.

Referenced by add_alias_cmd(), add_cmd(), add_setshow_cmd_full(), and delete_cmd().

const char* const* cmd_list_element::enums
void(* cmd_list_element::func) (struct cmd_list_element *c, char *args, int from_tty)
union { ... } cmd_list_element::function
unsigned int cmd_list_element::hook_in
struct cmd_list_element* cmd_list_element::hook_post

Definition at line 148 of file cli-decode.h.

Referenced by add_cmd(), define_command(), delete_cmd(), execute_cmd_post_hook(), and help_cmd().

struct cmd_list_element* cmd_list_element::hook_pre

Definition at line 145 of file cli-decode.h.

Referenced by add_cmd(), define_command(), delete_cmd(), execute_cmd_pre_hook(), and help_cmd().

struct cmd_list_element* cmd_list_element::hookee_post

Definition at line 210 of file cli-decode.h.

Referenced by add_cmd(), define_command(), and delete_cmd().

struct cmd_list_element* cmd_list_element::hookee_pre

Definition at line 206 of file cli-decode.h.

Referenced by add_cmd(), define_command(), and delete_cmd().

unsigned int cmd_list_element::malloced_replacement

Definition at line 78 of file cli-decode.h.

Referenced by add_cmd(), and maintenance_do_deprecate().

const char* cmd_list_element::name
struct cmd_list_element* cmd_list_element::next
void(* cmd_list_element::pre_show_hook) (struct cmd_list_element *c)

Definition at line 142 of file cli-decode.h.

Referenced by add_cmd(), and do_show_command().

struct cmd_list_element* cmd_list_element::prefix
struct cmd_list_element** cmd_list_element::prefixlist
const char* cmd_list_element::prefixname
const char* cmd_list_element::replacement
cmd_sfunc_ftype* cmd_list_element::sfunc

Definition at line 120 of file cli-decode.h.

Referenced by do_sfunc(), and set_cmd_sfunc().

show_value_ftype* cmd_list_element::show_value_func

Definition at line 135 of file cli-decode.h.

Referenced by add_setshow_cmd_full(), and do_show_command().

enum command_class cmd_list_element::theclass
__extension__ enum cmd_types cmd_list_element::type
struct command_line* cmd_list_element::user_commands
void* cmd_list_element::var
__extension__ enum var_types cmd_list_element::var_type

The documentation for this struct was generated from the following file: