Explain that configuration should happen elsewhere, but not init.

This commit is contained in:
Nick Mathewson 2018-11-09 10:55:18 -05:00
parent adecda7539
commit 4fe4bcf8a1

View File

@ -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);