Initial code to parse/encode/sample prop271 guards
commitdd6def5daf5b0b579a61c9e83cfa905b333f99a1
authorNick Mathewson <nickm@torproject.org>
Mon, 14 Nov 2016 20:46:09 +0000 (14 15:46 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 30 Nov 2016 19:42:52 +0000 (30 14:42 -0500)
tree0980983ca7bc2fd9b934af832b30e29139d2c495
parent539eba0a4bab1e22a7e2e19132d356e99c32e232
Initial code to parse/encode/sample prop271 guards

The encoding code is very straightforward.  The decoding code is a
bit tricky, but clean-ish.  The sampling code is untested and
probably needs more work.
src/or/entrynodes.c
src/or/entrynodes.h
src/test/test_entrynodes.c