summaryrefslogtreecommitdiff
path: root/src/lib/subsys
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/subsys')
-rw-r--r--src/lib/subsys/subsys.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/subsys/subsys.h b/src/lib/subsys/subsys.h
index 462314567e..2452ec6e2f 100644
--- a/src/lib/subsys/subsys.h
+++ b/src/lib/subsys/subsys.h
@@ -14,7 +14,11 @@ struct dispatch_connector_t;
* A subsystem is a part of Tor that is initialized, shut down, configured,
* and connected to other parts of Tor.
*
- * Subsystems
+ * All callbacks are optional -- if a callback is set to NULL, the subsystem
+ * manager will treat it as a no-op.
+ *
+ * You should use c99 named-field initializers with this structure: we
+ * will be adding more fields, often in the middle of the structure.
**/
typedef struct subsys_fns_t {
/**