Tor  0.4.7.0-alpha-dev
confmgt Directory Reference

lib/confmgt: Parse, encode, manipulate configuration files.

More...

Files

file  confmgt.c [code]
 Back-end for parsing and generating key-value files, used to implement the torrc file format and the state file.
 
file  confmgt.h [code]
 Header for confmgt.c.
 
file  structvar.c [code]
 Functions to manipulate named and typed elements of a structure.
 
file  structvar.h [code]
 Header for lib/confmgt/structvar.c.
 
file  type_defs.c [code]
 Definitions for various low-level configuration types.
 
file  type_defs.h [code]
 Header for lib/confmgt/type_defs.c.
 
file  typedvar.c [code]
 Functions for accessing a pointer as an object of a given type.
 
file  typedvar.h [code]
 Header for lib/confmgt/typedvar.c.
 
file  unitparse.c [code]
 Functions for parsing values with units from a configuration file.
 
file  unitparse.h [code]
 Header for lib/confmgt/unitparse.c.
 
file  var_type_def_st.h [code]
 Structure declarations for typedvar type definitions.
 

Detailed Description

lib/confmgt: Parse, encode, manipulate configuration files.

This logic is used in common by our state files (statefile.c) and configuration files (config.c) to manage a set of named, typed fields, reading and writing them to disk and to the controller.