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

Represent the output state of a command handler. More...

#include <rz_cmd.h>

Public Attributes

RzOutputMode mode
 
union {
   PJ *   pj
 
   RzTable *   t
 
d
 

Detailed Description

Represent the output state of a command handler.

This structure is passed to commands of type RZ_CMD_DESC_TYPE_ARGV_STATE .

Definition at line 91 of file rz_cmd.h.

Member Data Documentation

◆ 

union { ... } rz_cmd_state_output_t::d

mode-specific data. Handlers are called with these data already initialized as necessary, based on the requested mode, and they do not need to be freed by the handler.

Referenced by add_footer(), and add_header().

◆ mode

RzOutputMode rz_cmd_state_output_t::mode

Output mode expected from the command handler

Definition at line 95 of file rz_cmd.h.

Referenced by add_header(), and test_group_name.GroupTest::run().

◆ pj

PJ* rz_cmd_state_output_t::pj

Definition at line 102 of file rz_cmd.h.

Referenced by add_footer(), and add_header().

◆ t

RzTable* rz_cmd_state_output_t::t

Definition at line 103 of file rz_cmd.h.


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