diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/include/gnunet_revocation_service.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/include/gnunet_revocation_service.h')
-rw-r--r-- | src/include/gnunet_revocation_service.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/include/gnunet_revocation_service.h b/src/include/gnunet_revocation_service.h index 5fb2ed7c5..2acbe89d8 100644 --- a/src/include/gnunet_revocation_service.h +++ b/src/include/gnunet_revocation_service.h | |||
@@ -11,7 +11,7 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -65,7 +65,7 @@ struct GNUNET_REVOCATION_Query; | |||
65 | * | 65 | * |
66 | */ | 66 | */ |
67 | typedef void (*GNUNET_REVOCATION_Callback) (void *cls, | 67 | typedef void (*GNUNET_REVOCATION_Callback) (void *cls, |
68 | int is_valid); | 68 | int is_valid); |
69 | 69 | ||
70 | 70 | ||
71 | /** | 71 | /** |
@@ -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,8 @@ 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 GNUNET_CRYPTO_EcdsaPrivateKey *key, |
156 | struct GNUNET_CRYPTO_EcdsaSignature *sig); | 156 | struct GNUNET_CRYPTO_EcdsaSignature *sig); |
157 | 157 | ||
158 | 158 | ||
159 | #if 0 /* keep Emacsens' auto-indent happy */ | 159 | #if 0 /* keep Emacsens' auto-indent happy */ |