control_connection_t Struct Reference

#include <or.h>


Data Fields

connection_t _base
uint32_t event_mask
unsigned int have_sent_protocolinfo:1
uint32_t incoming_cmd_len
uint32_t incoming_cmd_cur_len
char * incoming_cmd


Detailed Description

Subtype of connection_t for an connection to a controller.

Field Documentation

Bitfield: which events does this controller care about?

Referenced by connection_free(), handle_control_resolve(), handle_control_setevents(), and send_control_event_string().

True if we have sent a protocolinfo reply on this connection.

Referenced by handle_control_protocolinfo(), and is_valid_initial_command().

Amount of space allocated in incoming_cmd.

Referenced by connection_control_process_inbuf().

Number of bytes currently stored in incoming_cmd.

Referenced by connection_control_process_inbuf().

A control command that we're reading from the inbuf, but which has not yet arrived completely.

Referenced by _connection_free(), and connection_control_process_inbuf().


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

Generated on Tue May 25 00:31:09 2010 for tor by  doxygen 1.5.6