static void
reconnect (struct GNUNET_GNS_Handle *handle)
{
- GNUNET_MQ_hd_var_size (result,
- GNUNET_MESSAGE_TYPE_GNS_LOOKUP_RESULT,
- struct GNUNET_GNS_ClientLookupResultMessage);
struct GNUNET_MQ_MessageHandler handlers[] = {
- make_result_handler (handle),
+ GNUNET_MQ_hd_var_size (result,
+ GNUNET_MESSAGE_TYPE_GNS_LOOKUP_RESULT,
+ struct GNUNET_GNS_ClientLookupResultMessage,
+ handle),
GNUNET_MQ_handler_end ()
};
struct GNUNET_GNS_LookupRequest *lh;
lookup_msg->have_key = htons (GNUNET_YES);
lookup_msg->shorten_key = *shorten_zone_key;
}
- memcpy (&lookup_msg[1],
+ GNUNET_memcpy (&lookup_msg[1],
name,
nlen);
GNUNET_CONTAINER_DLL_insert (handle->lookup_head,