Tor  0.4.7.0-alpha-dev
Functions
btrack_orconn_cevent.h File Reference

Header file for btrack_orconn_cevent.c. More...

#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 63 of file btrack_orconn_cevent.c.

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 114 of file btrack_orconn_cevent.c.

Referenced by bto_update_bests().

◆ bto_cevent_reset()

void bto_cevent_reset ( void  )

Forget that we completed our first OR connection

Definition at line 158 of file btrack_orconn_cevent.c.

Referenced by btrack_orconn_fini().