*/
typedef void (*GNUNET_SECRETSHARING_SecretReadyCallback) (void *cls,
const struct GNUNET_SECRETSHARING_Share *my_share,
- const struct GNUNET_SECRETSHARING_PublicKey public_key,
+ const struct GNUNET_SECRETSHARING_PublicKey *public_key,
unsigned int num_ready_peers,
const struct GNUNET_PeerIdentity *ready_peers);
const struct GNUNET_HashCode *session_id,
struct GNUNET_TIME_Absolute deadline,
unsigned int threshold,
- GNUNET_SECRETSHARING_SecretReadyCallback *cb,
+ GNUNET_SECRETSHARING_SecretReadyCallback cb,
void *cls);
* Convert a share to its binary representation. Use
* #GNUNET_SECRETSHARING_share_size to get the necessary size for the binary
* representation.
- *
+ *
* @param share share to write
* @param buf buffer to write to
* @param buflen number of writable bytes in @a buffer