Tor
0.4.7.0-alpha-dev
|
#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_(), and dcfg_msg_set_chan().
struct smartlist_t* fns_by_type |
A list of dispatch_rcv_t, indexed by msg_type_id_t.
Definition at line 28 of file dispatch_cfg_st.h.
Referenced by dcfg_free_().
struct smartlist_t* recv_by_msg |
A list of dispatch_typefns_t, indexed by msg_t.
Definition at line 30 of file dispatch_cfg_st.h.
Referenced by dcfg_add_recv().
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_().