Tor 0.4.9.0-alpha-dev
Public Member Functions | Data Fields
msg_t Struct Reference

#include <msgtypes.h>

Public Member Functions

 TOR_SIMPLEQ_ENTRY (msg_t) next
 

Data Fields

subsys_id_t sender
 
channel_id_t channel
 
message_id_t msg
 
msg_type_id_t type
 
msg_aux_data_t aux_data__
 

Detailed Description

Structure of a received message.

Definition at line 50 of file msgtypes.h.

Field Documentation

◆ aux_data__

msg_aux_data_t aux_data__

Untyped auxiliary data. You shouldn't have to mess with this directly.

Definition at line 60 of file msgtypes.h.

Referenced by dispatch_fmt_msg_data(), and dispatch_free_msg_().

◆ channel

channel_id_t channel

Definition at line 53 of file msgtypes.h.

◆ msg

message_id_t msg

Definition at line 54 of file msgtypes.h.

◆ sender

subsys_id_t sender

Definition at line 52 of file msgtypes.h.

◆ type

We could omit this field, since it is implicit in the message type, but IMO let's leave it in for safety.

Definition at line 57 of file msgtypes.h.

Referenced by dispatch_fmt_msg_data(), and dispatch_free_msg_().


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