mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Better explain config_clear_fn_t
This commit is contained in:
parent
06da2c0d28
commit
380d3ee168
1 changed files with 7 additions and 1 deletions
|
@ -41,7 +41,13 @@ typedef int (*validate_fn_t)(void*,void*,void*,int,char**);
|
|||
|
||||
struct config_mgr_t;
|
||||
|
||||
/** Callback to clear all non-managed fields of a configuration object. */
|
||||
/**
|
||||
* Callback to clear all non-managed fields of a configuration object.
|
||||
*
|
||||
* (Regular fields get cleared by config_reset(), but you might have fields
|
||||
* in the object that do not correspond to configuration variables. If those
|
||||
* fields need to be cleared or freed, this is where to do it.)
|
||||
*/
|
||||
typedef void (*clear_cfg_fn_t)(const struct config_mgr_t *mgr, void*);
|
||||
|
||||
/** Information on the keys, value types, key-to-struct-member mappings,
|
||||
|
|
Loading…
Add table
Reference in a new issue