static struct GNUNET_FS_SearchContext *
search_start (struct GNUNET_FS_Handle *h,
const struct GNUNET_FS_Uri *uri,
- unsigned int anonymity,
+ uint32_t anonymity,
struct GNUNET_FS_SearchContext *parent);
static struct GNUNET_FS_SearchContext *
search_start (struct GNUNET_FS_Handle *h,
const struct GNUNET_FS_Uri *uri,
- unsigned int anonymity,
+ uint32_t anonymity,
struct GNUNET_FS_SearchContext *parent)
{
struct GNUNET_FS_SearchContext *sc;
_("Too many keywords specified for a single search."));
return NULL;
}
- client = GNUNET_CLIENT_connect (sc->h->sched,
+ client = GNUNET_CLIENT_connect (h->sched,
"fs",
- sc->h->cfg);
+ h->cfg);
if (NULL == client)
return NULL;
sc = GNUNET_malloc (sizeof(struct GNUNET_FS_SearchContext));
struct GNUNET_FS_SearchContext *
GNUNET_FS_search_start (struct GNUNET_FS_Handle *h,
const struct GNUNET_FS_Uri *uri,
- unsigned int anonymity)
+ uint32_t anonymity)
{
return search_start (h, uri, anonymity, NULL);
}