62 #define dispatch_free(d) \
63 FREE_AND_NULL(dispatch_t, dispatch_free_, (d))
99 channel_id_t,
void *);
104 #define dispatch_free_msg(d,msg) \
106 msg_t **msg_tmp_ptr__ = &(msg); \
107 dispatch_free_msg_((d), *msg_tmp_ptr__); \
108 *msg_tmp_ptr__= NULL; \
int dispatch_send(dispatch_t *d, subsys_id_t sender, channel_id_t channel, message_id_t msg, msg_type_id_t type, msg_aux_data_t auxdata)
void dispatch_free_msg_(const dispatch_t *d, msg_t *msg)
char * dispatch_fmt_msg_data(const dispatch_t *d, const msg_t *msg)
int dispatch_set_alert_fn(dispatch_t *d, channel_id_t chan, dispatch_alertfn_t fn, void *userdata)
void dispatch_free_(dispatch_t *)
void(* dispatch_alertfn_t)(struct dispatch_t *, channel_id_t, void *)
int dispatch_flush(dispatch_t *, channel_id_t chan, int max_msgs)
struct dispatch_t dispatch_t
int dispatch_send_msg_unchecked(dispatch_t *d, msg_t *m)
dispatch_t * dispatch_new(const dispatch_cfg_t *cfg)
Types used for messages in the dispatcher code.