Tor  0.4.7.0-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 146 of file var_type_def_st.h.

Field Documentation

◆ flags

uint32_t flags

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

Definition at line 164 of file var_type_def_st.h.

Referenced by struct_var_get_flags().

◆ fns

const struct var_type_fns_t* fns

A function table for this type.

Definition at line 154 of file var_type_def_st.h.

◆ name

const char* name

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

Definition at line 150 of file var_type_def_st.h.

Referenced by struct_var_get_typename().

◆ params

const void* 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 159 of file var_type_def_st.h.


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