tor  0.4.2.1-alpha-dev
Functions
btrack_orconn_cevent.h File Reference
#include "feature/control/btrack_orconn.h"

Go to the source code of this file.

Functions

void bto_cevent_anyconn (const bt_orconn_t *)
 
void bto_cevent_apconn (const bt_orconn_t *)
 
void bto_cevent_reset (void)
 

Detailed Description

Header file for btrack_orconn_cevent.c.

Definition in file btrack_orconn_cevent.h.

Function Documentation

◆ bto_cevent_anyconn()

void bto_cevent_anyconn ( const bt_orconn_t *  bto)

Emit control events when we have updated our idea of the best state that any OR connection has reached.

Do some decoding of the ORCONN states depending on whether a PT or a proxy is in use.

Definition at line 62 of file btrack_orconn_cevent.c.

References control_event_bootstrap(), OR_CONN_STATE_CONNECTING, and using_pt().

Referenced by bto_update_bests().

◆ bto_cevent_apconn()

void bto_cevent_apconn ( const bt_orconn_t *  bto)

Emit control events when we have updated our idea of the best state that any application circuit OR connection has reached.

Do some decoding of the ORCONN states depending on whether a PT or a proxy is in use.

Definition at line 113 of file btrack_orconn_cevent.c.

References bto_first_orconn, control_event_bootstrap(), OR_CONN_STATE_CONNECTING, and using_pt().

Referenced by bto_update_bests().

◆ bto_cevent_reset()

void bto_cevent_reset ( void  )

Forget that we completed our first OR connection

Definition at line 156 of file btrack_orconn_cevent.c.

References bto_first_orconn.

Referenced by btrack_orconn_fini().