diff options
Diffstat (limited to 'src/include/gnunet_secretsharing_service.h')
-rw-r--r-- | src/include/gnunet_secretsharing_service.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/include/gnunet_secretsharing_service.h b/src/include/gnunet_secretsharing_service.h index 047120e27..f77fd33d2 100644 --- a/src/include/gnunet_secretsharing_service.h +++ b/src/include/gnunet_secretsharing_service.h | |||
@@ -168,11 +168,12 @@ struct GNUNET_SECRETSHARING_Plaintext | |||
168 | * @param ready_peers peers that successfuly participated in establishing | 168 | * @param ready_peers peers that successfuly participated in establishing |
169 | * the shared secret | 169 | * the shared secret |
170 | */ | 170 | */ |
171 | typedef void (*GNUNET_SECRETSHARING_SecretReadyCallback) (void *cls, | 171 | typedef void |
172 | struct GNUNET_SECRETSHARING_Share *my_share, | 172 | (*GNUNET_SECRETSHARING_SecretReadyCallback) (void *cls, |
173 | struct GNUNET_SECRETSHARING_PublicKey *public_key, | 173 | struct GNUNET_SECRETSHARING_Share *my_share, |
174 | unsigned int num_ready_peers, | 174 | struct GNUNET_SECRETSHARING_PublicKey *public_key, |
175 | struct GNUNET_PeerIdentity *ready_peers); | 175 | unsigned int num_ready_peers, |
176 | const struct GNUNET_PeerIdentity *ready_peers); | ||
176 | 177 | ||
177 | 178 | ||
178 | /** | 179 | /** |
@@ -182,8 +183,9 @@ typedef void (*GNUNET_SECRETSHARING_SecretReadyCallback) (void *cls, | |||
182 | * @param data decrypted value | 183 | * @param data decrypted value |
183 | * @param data_size number of bytes in @a data | 184 | * @param data_size number of bytes in @a data |
184 | */ | 185 | */ |
185 | typedef void (*GNUNET_SECRETSHARING_DecryptCallback) (void *cls, | 186 | typedef void |
186 | const struct GNUNET_SECRETSHARING_Plaintext *plaintext); | 187 | (*GNUNET_SECRETSHARING_DecryptCallback) (void *cls, |
188 | const struct GNUNET_SECRETSHARING_Plaintext *plaintext); | ||
187 | 189 | ||
188 | 190 | ||
189 | /** | 191 | /** |