summaryrefslogtreecommitdiff
path: root/src/or/circuituse.h
AgeCommit message (Collapse)Author
2011-04-26slight tweak on circuit_conforms_to_optionsRoger Dingledine
this function really needs to get a total rewrite (or die) For now, use #if 0 to disable it.
2011-03-30Use timevals, not time_t, when expiring circuits.Nick Mathewson
We've got millisecond timers now, we might as well use them. This change won't actually make circuits get expiered with microsecond precision, since we only call the expiry functions once per second. Still, it should avoid the situation where we have a circuit get expired too early because of rounding. A couple of the expiry functions now call tor_gettimeofday: this should be cheap since we're only doing it once per second. If it gets to be called more often, though, we should onsider having the current time be an argument again.
2011-01-03Bump copyright statements to 2011 (0.2.2)Nick Mathewson
2010-07-27Create circuituse.hSebastian Hahn