Tor  0.4.7.0-alpha-dev
Data Fields
getinfo_item_t Struct Reference

Data Fields

const char * varname
 
getinfo_helper_t fn
 
const char * desc
 
int is_prefix
 

Detailed Description

A single item for the GETINFO question-to-answer-function table.

Definition at line 1486 of file control_getinfo.c.

Field Documentation

◆ desc

const char* desc

Description of the variable.

Definition at line 1490 of file control_getinfo.c.

◆ fn

The function that knows the answer: NULL if this entry is documentation-only.

Definition at line 1488 of file control_getinfo.c.

Referenced by handle_getinfo_helper().

◆ varname

const char* varname

The value (or prefix) of the question.

Definition at line 1487 of file control_getinfo.c.

Referenced by handle_getinfo_helper(), and list_getinfo_options().


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