diff options
author | Andrea Shepard <andrea@torproject.org> | 2012-09-28 16:56:46 -0700 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2012-10-10 00:44:46 -0700 |
commit | 4a14c6aa67df6ced083e2d6a6e66dbf443a40e75 (patch) | |
tree | 86e590ead3d903d661a055c735ea41342f4bd30b /src/or/circuitmux.h | |
parent | c4e5e4727ddcf639a3a50856f74f24f373262baf (diff) | |
download | tor-4a14c6aa67df6ced083e2d6a6e66dbf443a40e75.tar.gz tor-4a14c6aa67df6ced083e2d6a6e66dbf443a40e75.zip |
Implement circuitmux_get_first_active_circuit() in circuitmux.c; add pick_active_circuit() to circuitmux_policy_t in circuitmux.h
Diffstat (limited to 'src/or/circuitmux.h')
-rw-r--r-- | src/or/circuitmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuitmux.h b/src/or/circuitmux.h index dcacb8e15d..f4eb73e391 100644 --- a/src/or/circuitmux.h +++ b/src/or/circuitmux.h @@ -53,6 +53,9 @@ struct circuitmux_policy_s { circuit_t *circ, circuitmux_policy_circ_data_t *pol_circ_data, unsigned int n_cells); + /* Choose a circuit */ + circuit_t * (*pick_active_circuit)(circuitmux_t *cmux, + circuitmux_policy_data_t *pol_data); }; /* |