Преглед на файлове

Explain that configuration should happen elsewhere, but not init.

Nick Mathewson преди 7 години
родител
ревизия
4fe4bcf8a1
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      src/lib/subsys/subsys.h

+ 3 - 0
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);