mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Explain that configuration should happen elsewhere, but not init.
This commit is contained in:
parent
adecda7539
commit
4fe4bcf8a1
@ -44,6 +44,9 @@ typedef struct subsys_fns_t {
|
||||
* This function MUST NOT rely on any runtime configuration information;
|
||||
* it is only for global state or pre-configuration state.
|
||||
*
|
||||
* (If you need to do any setup that depends on configuration, you'll need
|
||||
* to declare a configuration callback. (Not yet designed))
|
||||
*
|
||||
* This function MUST NOT have any parts that can fail.
|
||||
**/
|
||||
int (*initialize)(void);
|
||||
|
Loading…
Reference in New Issue
Block a user