summaryrefslogtreecommitdiff
path: root/src/or/fp_pair.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 12:52:22 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 12:52:22 -0400
commitc9e4ebf96a9d5fe8d6ae74be96ea00f8c5d493ac (patch)
tree623a3670afdf48a6896f866a21abe6e5188031e1 /src/or/fp_pair.h
parentf8794b0b36ad400a228fa3cfd96d7a250632dd29 (diff)
downloadtor-c9e4ebf96a9d5fe8d6ae74be96ea00f8c5d493ac.tar.gz
tor-c9e4ebf96a9d5fe8d6ae74be96ea00f8c5d493ac.zip
Move fp_pair_t declaration to fp_pair.h.
Diffstat (limited to 'src/or/fp_pair.h')
-rw-r--r--src/or/fp_pair.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/fp_pair.h b/src/or/fp_pair.h
index 4498a16101..3c5c33bcbe 100644
--- a/src/or/fp_pair.h
+++ b/src/or/fp_pair.h
@@ -9,6 +9,12 @@
#ifndef _TOR_FP_PAIR_H
#define _TOR_FP_PAIR_H
+/** A pair of digests created by dir_split_resource_info_fingerprint_pairs() */
+typedef struct {
+ char first[DIGEST_LEN];
+ char second[DIGEST_LEN];
+} fp_pair_t;
+
/*
* Declare fp_pair_map_t functions and structs
*/