Tor
0.4.7.0-alpha-dev
|
Header file for btrack_orconn_maps.c. More...
Go to the source code of this file.
Functions | |
void | bto_delete (uint64_t) |
bt_orconn_t * | bto_find_or_new (uint64_t, uint64_t) |
void | bto_init_maps (void) |
void | bto_clear_maps (void) |
Header file for btrack_orconn_maps.c.
Definition in file btrack_orconn_maps.h.
void bto_clear_maps | ( | void | ) |
Clear the hash maps, freeing all associated storage
Definition at line 220 of file btrack_orconn_maps.c.
Referenced by btrack_orconn_fini().
void bto_delete | ( | uint64_t | gid | ) |
Delete a bt_orconn from the hash maps by GID
Definition at line 110 of file btrack_orconn_maps.c.
bt_orconn_t* bto_find_or_new | ( | uint64_t | gid, |
uint64_t | chan | ||
) |
Insert a new bt_orconn with the given GID and chan ID, or update the GID and chan ID if one already exists.
Return the found or allocated bt_orconn.
Definition at line 189 of file btrack_orconn_maps.c.
Referenced by bto_chan_rcvr(), and bto_state_rcvr().
void bto_init_maps | ( | void | ) |
Initialize the hash maps
Definition at line 210 of file btrack_orconn_maps.c.
Referenced by btrack_orconn_init().