|
Tor 0.4.9.8
|
#include <dispatch_cfg_st.h>
Data Fields | |
| struct smartlist_t * | type_by_msg |
| struct smartlist_t * | chan_by_msg |
| struct smartlist_t * | fns_by_type |
| struct smartlist_t * | recv_by_msg |
Information needed to create a dispatcher, but in a less efficient, more mutable format.
Nearly everybody should use the lib/pubsub module to configure dispatchers, instead of using this.
A "dispatch_cfg" is the configuration used to set up a dispatcher. It is created and accessed with a set of dcfg_* functions, and then used with dispatcher_new() to make the dispatcher.
Definition at line 22 of file dispatch_cfg_st.h.
| struct smartlist_t* chan_by_msg |
A list of channel_id_t (cast to void*), indexed by msg_t.
Definition at line 26 of file dispatch_cfg_st.h.
Referenced by dcfg_free_(), dcfg_msg_set_chan(), dcfg_new(), and dispatch_new().
| struct smartlist_t* fns_by_type |
A list of dispatch_typefns_t, indexed by msg_type_id_t.
Definition at line 28 of file dispatch_cfg_st.h.
Referenced by dcfg_free_(), dcfg_new(), dcfg_type_set_fns(), and dispatch_new().
| struct smartlist_t* recv_by_msg |
A list of dispatch_rcv_t, indexed by msg_t.
Definition at line 30 of file dispatch_cfg_st.h.
Referenced by dcfg_add_recv(), dcfg_free_(), dcfg_new(), and dispatch_new().
| struct smartlist_t* type_by_msg |
A list of msg_type_id_t (cast to void*), indexed by msg_t.
Definition at line 24 of file dispatch_cfg_st.h.
Referenced by dcfg_free_(), dcfg_msg_set_type(), dcfg_new(), and dispatch_new().