aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_escrow_lib.h
diff options
context:
space:
mode:
authorjospaeth <spaethj@in.tum.de>2020-08-23 18:18:34 +0200
committerjospaeth <spaethj@in.tum.de>2020-08-23 18:18:34 +0200
commit90c4283d66f82a090d1f8e65b097193b53ebd61f (patch)
tree332000c072dc1553ab952f838b19c61587924ad5 /src/include/gnunet_escrow_lib.h
parent7cd8a4ba4ca75338e8ad932e70cead8e0faf3cba (diff)
downloadgnunet-90c4283d66f82a090d1f8e65b097193b53ebd61f.tar.gz
gnunet-90c4283d66f82a090d1f8e65b097193b53ebd61f.zip
add verification result for missing shares
Diffstat (limited to 'src/include/gnunet_escrow_lib.h')
-rw-r--r--src/include/gnunet_escrow_lib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/gnunet_escrow_lib.h b/src/include/gnunet_escrow_lib.h
index 069328151..7d9d39dce 100644
--- a/src/include/gnunet_escrow_lib.h
+++ b/src/include/gnunet_escrow_lib.h
@@ -59,7 +59,8 @@ enum GNUNET_ESCROW_Key_Escrow_Method
59enum GNUNET_ESCROW_Verification_Result 59enum GNUNET_ESCROW_Verification_Result
60{ 60{
61 GNUNET_ESCROW_VALID, 61 GNUNET_ESCROW_VALID,
62 GNUNET_ESCROW_INVALID 62 GNUNET_ESCROW_INVALID,
63 GNUNET_ESCROW_SHARES_MISSING
63}; 64};
64 65
65 66
@@ -145,6 +146,8 @@ typedef void (*GNUNET_ESCROW_EgoContinuation) (
145 * @param cls closure 146 * @param cls closure
146 * @param verificationResult the result of the verification, i.e. 147 * @param verificationResult the result of the verification, i.e.
147 * GNUNET_ESCROW_VALID if the escrow could successfully by restored, 148 * GNUNET_ESCROW_VALID if the escrow could successfully by restored,
149 * GNUNET_ESCROW_SHARES_MISSING if it could be restored, but some of
150 * the shares are missing
148 * GNUNET_ESCROW_INVALID otherwise 151 * GNUNET_ESCROW_INVALID otherwise
149 * @param emsg error message, NULL on success 152 * @param emsg error message, NULL on success
150 */ 153 */