Rizin
unix-like reverse engineering framework and cli tools
autocmplt_data_t Struct Reference

Public Attributes

enum autocmplt_type_t type
 Type of token that will be autocompleted. More...
 
RzLineNSCompletionResultres
 Result returned to RzCons API to provide possible suggestions. More...
 
const RzCmdDesccd
 Used if type is AUTOCMPLT_CMD_ARG to describe the related command. More...
 
size_t i_arg
 Used if type is AUTOCMPLT_CMD_ARG to describe the argument that will be autocompleted. More...
 

Detailed Description

Group all data necessary for autocompletion, including the type and other fields as required by the type.

Definition at line 34 of file cautocmpl.c.

Member Data Documentation

◆ cd

const RzCmdDesc* autocmplt_data_t::cd

Used if type is AUTOCMPLT_CMD_ARG to describe the related command.

Definition at line 37 of file cautocmpl.c.

Referenced by cmd_descs_generate.Arg::_get_choices_cname(), fill_autocmplt_data_cmdarg(), and cmd_descs_generate.Detail::get_detail_entries_cname().

◆ i_arg

size_t autocmplt_data_t::i_arg

Used if type is AUTOCMPLT_CMD_ARG to describe the argument that will be autocompleted.

Definition at line 38 of file cautocmpl.c.

Referenced by fill_autocmplt_data_cmdarg().

◆ res

RzLineNSCompletionResult* autocmplt_data_t::res

Result returned to RzCons API to provide possible suggestions.

Definition at line 36 of file cautocmpl.c.

Referenced by fill_autocmplt_data(), fill_autocmplt_data_cmdarg(), and find_autocmplt_type().

◆ type


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