mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Explain that configuration should happen elsewhere, but not init.
This commit is contained in:
parent
adecda7539
commit
4fe4bcf8a1
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ typedef struct subsys_fns_t {
|
||||||
* This function MUST NOT rely on any runtime configuration information;
|
* This function MUST NOT rely on any runtime configuration information;
|
||||||
* it is only for global state or pre-configuration state.
|
* 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.
|
* This function MUST NOT have any parts that can fail.
|
||||||
**/
|
**/
|
||||||
int (*initialize)(void);
|
int (*initialize)(void);
|
||||||
|
|
Loading…
Add table
Reference in a new issue