diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-01-15 10:27:39 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-03-25 16:35:33 -0400 |
commit | bdeaf7d4b2929609c4d3f2ce9adfd973361ef578 (patch) | |
tree | 2742b9f39f5ab9331a54f3dd6cb932679af122cb /src/lib/subsys | |
parent | 24df14eb096e73438d6045ff3b2840499a9af9b5 (diff) | |
download | tor-bdeaf7d4b2929609c4d3f2ce9adfd973361ef578.tar.gz tor-bdeaf7d4b2929609c4d3f2ce9adfd973361ef578.zip |
Code to manage publish/subscribe setup via subsystem interface.
This commit has the necessary logic to run the publish/subscribe
system from the mainloop, and to initialize it on startup and tear
it down later.
Diffstat (limited to 'src/lib/subsys')
-rw-r--r-- | src/lib/subsys/subsys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/subsys/subsys.h b/src/lib/subsys/subsys.h index 2452ec6e2f..6f1710c719 100644 --- a/src/lib/subsys/subsys.h +++ b/src/lib/subsys/subsys.h @@ -8,7 +8,7 @@ #include <stdbool.h> -struct dispatch_connector_t; +struct pubsub_connector_t; /** * A subsystem is a part of Tor that is initialized, shut down, configured, @@ -58,7 +58,7 @@ typedef struct subsys_fns_t { /** * Connect a subsystem to the message dispatch system. **/ - int (*add_pubsub)(struct dispatch_connector_t *); + int (*add_pubsub)(struct pubsub_connector_t *); /** * Perform any necessary pre-fork cleanup. This function may not fail. |