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

#include <rz_cons.h>

Public Attributes

RzPVector options
 Vector of options that can be used for autocompletion. More...
 
HtPP * options_ht
 Hash table to keep track of duplicated autocompletion suggestions. More...
 
size_t start
 First byte that was considered for autocompletion. Everything before this will be left intact. More...
 
size_t end
 Last byte that was considered for autocompletion. Everything after this will be left intact. More...
 
const char * end_string
 String to place after the only option available is autocompleted. By default a space is used. More...
 

Detailed Description

Result returned by a completion callback function. It includes all the information required to provide meaningful autocompletion suggestion to the user.

Definition at line 1059 of file rz_cons.h.

Member Data Documentation

◆ end

size_t rz_line_ns_completion_result_t::end

Last byte that was considered for autocompletion. Everything after this will be left intact.

Definition at line 1063 of file rz_cons.h.

Referenced by rz_line_autocomplete(), and rz_line_ns_completion_result_new().

◆ end_string

const char* rz_line_ns_completion_result_t::end_string

String to place after the only option available is autocompleted. By default a space is used.

Definition at line 1064 of file rz_cons.h.

Referenced by autocmplt_arch(), autocmplt_at_stmt(), autocmplt_cmd_arg_env(), autocmplt_cmd_arg_eval_full(), autocmplt_cmd_arg_file(), find_autocmplt_type(), rz_line_autocomplete(), and rz_line_ns_completion_result_new().

◆ options

RzPVector rz_line_ns_completion_result_t::options

◆ options_ht

HtPP* rz_line_ns_completion_result_t::options_ht

Hash table to keep track of duplicated autocompletion suggestions.

Definition at line 1061 of file rz_cons.h.

Referenced by rz_line_ns_completion_result_add(), rz_line_ns_completion_result_free(), and rz_line_ns_completion_result_new().

◆ start

size_t rz_line_ns_completion_result_t::start

First byte that was considered for autocompletion. Everything before this will be left intact.

Definition at line 1062 of file rz_cons.h.

Referenced by autocmplt_arch(), autocmplt_cmd_arg_eval_full(), autocmplt_cmd_arg_rznum(), rz_line_autocomplete(), and rz_line_ns_completion_result_new().


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