Tor 0.4.9.0-alpha-dev
Data Fields
pub_binding_t Struct Reference

#include <pub_binding_st.h>

Data Fields

struct dispatch_tdispatch_ptr
 
msg_t msg_template
 

Detailed Description

A pub_binding_t is an opaque object that subsystems use to publish messages. The DISPATCH_ADD_PUB*() macros set it up.

Definition at line 24 of file pub_binding_st.h.

Field Documentation

◆ dispatch_ptr

struct dispatch_t* dispatch_ptr

A pointer to a configured dispatch_t object. This is filled in when the dispatch_t is finally constructed.

Definition at line 29 of file pub_binding_st.h.

Referenced by pubsub_pub_().

◆ msg_template

msg_t msg_template

A template for the msg_t fields that are filled in for this message. This is copied into outgoing messages, ensuring that their fields are set correctly.

Definition at line 35 of file pub_binding_st.h.


The documentation for this struct was generated from the following file: