tor  0.4.2.1-alpha-dev
Data Fields
var_type_def_t Struct Reference

#include <var_type_def_st.h>

Data Fields

const char * name
 
const struct var_type_fns_tfns
 
const void * params
 
uint32_t flags
 

Detailed Description

A structure describing a type that can be manipulated with the typedvar_* functions.

Definition at line 140 of file var_type_def_st.h.

Field Documentation

◆ flags

uint32_t var_type_def_t::flags

A bitwise OR of one or more VTFLAG_* values, describing properties for all values of this type.

Definition at line 158 of file var_type_def_st.h.

Referenced by struct_var_get_flags().

◆ fns

const struct var_type_fns_t* var_type_def_t::fns

A function table for this type.

Definition at line 148 of file var_type_def_st.h.

◆ name

const char* var_type_def_t::name

The name of this type. Should not include spaces. Used for debugging, log messages, and the controller API.

Definition at line 144 of file var_type_def_st.h.

Referenced by struct_var_get_typename().

◆ params

const void* var_type_def_t::params

A pointer to a value that should be passed as the 'params' argument when calling the functions in this type's function table.

Definition at line 153 of file var_type_def_st.h.


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