tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 4fe4bcf8a10967a668895e962099f50635ba9e4b
parent adecda753996611e9a5b82c5fa87ea78ec683806
Author: Nick Mathewson <nickm@torproject.org>
Date:   Fri,  9 Nov 2018 10:55:18 -0500

Explain that configuration should happen elsewhere, but not init.

Diffstat:
Msrc/lib/subsys/subsys.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/lib/subsys/subsys.h b/src/lib/subsys/subsys.h @@ -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);