diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-05 15:09:28 +0200 |
commit | c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch) | |
tree | cac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/include/gnunet_revocation_service.h | |
parent | fbb71d527c7d6babf269a8fefce1db291b9f7068 (diff) | |
download | gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip |
global reindent, now with uncrustify hook enabled
Diffstat (limited to 'src/include/gnunet_revocation_service.h')
-rw-r--r-- | src/include/gnunet_revocation_service.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/include/gnunet_revocation_service.h b/src/include/gnunet_revocation_service.h index 2acbe89d8..7222cedc1 100644 --- a/src/include/gnunet_revocation_service.h +++ b/src/include/gnunet_revocation_service.h | |||
@@ -78,9 +78,9 @@ typedef void (*GNUNET_REVOCATION_Callback) (void *cls, | |||
78 | * @return handle to use in #GNUNET_REVOCATION_query_cancel to stop REVOCATION from invoking the callback | 78 | * @return handle to use in #GNUNET_REVOCATION_query_cancel to stop REVOCATION from invoking the callback |
79 | */ | 79 | */ |
80 | struct GNUNET_REVOCATION_Query * | 80 | struct GNUNET_REVOCATION_Query * |
81 | GNUNET_REVOCATION_query(const struct GNUNET_CONFIGURATION_Handle *cfg, | 81 | GNUNET_REVOCATION_query (const struct GNUNET_CONFIGURATION_Handle *cfg, |
82 | const struct GNUNET_CRYPTO_EcdsaPublicKey *key, | 82 | const struct GNUNET_CRYPTO_EcdsaPublicKey *key, |
83 | GNUNET_REVOCATION_Callback func, void *func_cls); | 83 | GNUNET_REVOCATION_Callback func, void *func_cls); |
84 | 84 | ||
85 | 85 | ||
86 | /** | 86 | /** |
@@ -89,7 +89,7 @@ GNUNET_REVOCATION_query(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
89 | * @param q query to cancel | 89 | * @param q query to cancel |
90 | */ | 90 | */ |
91 | void | 91 | void |
92 | GNUNET_REVOCATION_query_cancel(struct GNUNET_REVOCATION_Query *q); | 92 | GNUNET_REVOCATION_query_cancel (struct GNUNET_REVOCATION_Query *q); |
93 | 93 | ||
94 | 94 | ||
95 | /** | 95 | /** |
@@ -114,11 +114,11 @@ struct GNUNET_REVOCATION_Handle; | |||
114 | * @return handle to use in #GNUNET_REVOCATION_revoke_cancel to stop REVOCATION from invoking the callback | 114 | * @return handle to use in #GNUNET_REVOCATION_revoke_cancel to stop REVOCATION from invoking the callback |
115 | */ | 115 | */ |
116 | struct GNUNET_REVOCATION_Handle * | 116 | struct GNUNET_REVOCATION_Handle * |
117 | GNUNET_REVOCATION_revoke(const struct GNUNET_CONFIGURATION_Handle *cfg, | 117 | GNUNET_REVOCATION_revoke (const struct GNUNET_CONFIGURATION_Handle *cfg, |
118 | const struct GNUNET_CRYPTO_EcdsaPublicKey *key, | 118 | const struct GNUNET_CRYPTO_EcdsaPublicKey *key, |
119 | const struct GNUNET_CRYPTO_EcdsaSignature *sig, | 119 | const struct GNUNET_CRYPTO_EcdsaSignature *sig, |
120 | uint64_t pow, | 120 | uint64_t pow, |
121 | GNUNET_REVOCATION_Callback func, void *func_cls); | 121 | GNUNET_REVOCATION_Callback func, void *func_cls); |
122 | 122 | ||
123 | 123 | ||
124 | /** | 124 | /** |
@@ -127,7 +127,7 @@ GNUNET_REVOCATION_revoke(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
127 | * @param h operation to cancel | 127 | * @param h operation to cancel |
128 | */ | 128 | */ |
129 | void | 129 | void |
130 | GNUNET_REVOCATION_revoke_cancel(struct GNUNET_REVOCATION_Handle *h); | 130 | GNUNET_REVOCATION_revoke_cancel (struct GNUNET_REVOCATION_Handle *h); |
131 | 131 | ||
132 | 132 | ||
133 | /** | 133 | /** |
@@ -140,9 +140,9 @@ GNUNET_REVOCATION_revoke_cancel(struct GNUNET_REVOCATION_Handle *h); | |||
140 | * @return #GNUNET_YES if the @a pow is acceptable, #GNUNET_NO if not | 140 | * @return #GNUNET_YES if the @a pow is acceptable, #GNUNET_NO if not |
141 | */ | 141 | */ |
142 | int | 142 | int |
143 | GNUNET_REVOCATION_check_pow(const struct GNUNET_CRYPTO_EcdsaPublicKey *key, | 143 | GNUNET_REVOCATION_check_pow (const struct GNUNET_CRYPTO_EcdsaPublicKey *key, |
144 | uint64_t pow, | 144 | uint64_t pow, |
145 | unsigned int matching_bits); | 145 | unsigned int matching_bits); |
146 | 146 | ||
147 | 147 | ||
148 | /** | 148 | /** |
@@ -152,8 +152,9 @@ GNUNET_REVOCATION_check_pow(const struct GNUNET_CRYPTO_EcdsaPublicKey *key, | |||
152 | * @param sig where to write the revocation signature | 152 | * @param sig where to write the revocation signature |
153 | */ | 153 | */ |
154 | void | 154 | void |
155 | GNUNET_REVOCATION_sign_revocation(const struct GNUNET_CRYPTO_EcdsaPrivateKey *key, | 155 | GNUNET_REVOCATION_sign_revocation (const struct |
156 | struct GNUNET_CRYPTO_EcdsaSignature *sig); | 156 | GNUNET_CRYPTO_EcdsaPrivateKey *key, |
157 | struct GNUNET_CRYPTO_EcdsaSignature *sig); | ||
157 | 158 | ||
158 | 159 | ||
159 | #if 0 /* keep Emacsens' auto-indent happy */ | 160 | #if 0 /* keep Emacsens' auto-indent happy */ |