mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Document that subsystem callbacks are optional.
This commit is contained in:
parent
4fe4bcf8a1
commit
61695e3d62
@ -14,7 +14,11 @@ struct dispatch_connector_t;
|
|||||||
* A subsystem is a part of Tor that is initialized, shut down, configured,
|
* A subsystem is a part of Tor that is initialized, shut down, configured,
|
||||||
* and connected to other parts of Tor.
|
* 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 {
|
typedef struct subsys_fns_t {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user