* @param depth depth of the block in the tree, 0 for DBLOCK
*/
static void
-unindex_progress (void *cls, uint64_t offset, const void *pt_block,
- size_t pt_size, unsigned int depth)
+unindex_progress (void *cls,
+ uint64_t offset,
+ const void *pt_block,
+ size_t pt_size,
+ unsigned int depth)
{
struct GNUNET_FS_UnindexContext *uc = cls;
struct GNUNET_FS_ProgressInfo pi;
static void
unindex_finish (struct GNUNET_FS_UnindexContext *uc)
{
- GNUNET_MQ_hd_fixed_size (unindex_response,
- GNUNET_MESSAGE_TYPE_FS_UNINDEX_OK,
- struct GNUNET_MessageHeader);
struct GNUNET_MQ_MessageHandler handlers[] = {
- make_unindex_response_handler (uc),
+ GNUNET_MQ_hd_fixed_size (unindex_response,
+ GNUNET_MESSAGE_TYPE_FS_UNINDEX_OK,
+ struct GNUNET_MessageHeader,
+ uc),
GNUNET_MQ_handler_end ()
};
char *emsg;
uc->seen_dh = NULL;
uc->state = UNINDEX_STATE_FS_NOTIFY;
GNUNET_FS_unindex_sync_ (uc);
- uc->mq = GNUNET_CLIENT_connecT (uc->h->cfg,
+ uc->mq = GNUNET_CLIENT_connect (uc->h->cfg,
"fs",
handlers,
&unindex_mq_error_handler,