Tor 0.4.9.0-alpha-dev
Data Fields
unit_table_t Struct Reference

#include <unitparse.h>

Data Fields

const char * unit
 
uint64_t multiplier
 

Detailed Description

Mapping from a unit name to a multiplier for converting that unit into a base unit. Used by config_parse_unit.

Definition at line 19 of file unitparse.h.

Field Documentation

◆ multiplier

uint64_t multiplier

How many of the base unit appear in this unit

Definition at line 21 of file unitparse.h.

◆ unit

const char* unit

The name of the unit

Definition at line 20 of file unitparse.h.


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