aboutsummaryrefslogtreecommitdiff
path: root/src/lib/subsys/subsys.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-09 10:55:18 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-09 10:55:18 -0500
commit4fe4bcf8a10967a668895e962099f50635ba9e4b (patch)
tree3d18f30c98d077c2a6e2858bdc64a2b2c77a91f0 /src/lib/subsys/subsys.h
parentadecda753996611e9a5b82c5fa87ea78ec683806 (diff)
downloadtor-4fe4bcf8a10967a668895e962099f50635ba9e4b.tar.gz
tor-4fe4bcf8a10967a668895e962099f50635ba9e4b.zip
Explain that configuration should happen elsewhere, but not init.
Diffstat (limited to 'src/lib/subsys/subsys.h')
-rw-r--r--src/lib/subsys/subsys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/subsys/subsys.h b/src/lib/subsys/subsys.h
index b06d67e624..462314567e 100644
--- 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);