diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-03 15:08:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-04 08:37:41 -0400 |
commit | c12d2cb2dcfe52aadf528a70433b468327472eaf (patch) | |
tree | c7975f6589f14759d6a2355a076f88351c541181 /src/or/consdiff.h | |
parent | 912b0641e9e9922ad2da50973579de38cb4be6ba (diff) | |
download | tor-c12d2cb2dcfe52aadf528a70433b468327472eaf.tar.gz tor-c12d2cb2dcfe52aadf528a70433b468327472eaf.zip |
Request (and try to use) consensus diffs.
Diffstat (limited to 'src/or/consdiff.h')
-rw-r--r-- | src/or/consdiff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/consdiff.h b/src/or/consdiff.h index 284a576525..d05df74b75 100644 --- a/src/or/consdiff.h +++ b/src/or/consdiff.h @@ -12,6 +12,8 @@ char *consensus_diff_generate(const char *cons1, char *consensus_diff_apply(const char *consensus, const char *diff); +int looks_like_a_consensus_diff(const char *document, size_t len); + #ifdef CONSDIFF_PRIVATE struct memarea_t; |