checkIt (void *cls,
struct GNUNET_TIME_Absolute exp,
const GNUNET_HashCode * key,
- uint32_t size,
+ size_t size,
const char *data,
enum GNUNET_BLOCK_Type type)
{
static void
run (void *cls,
- struct GNUNET_SCHEDULER_Handle *sched,
char *const *args,
const char *cfgfile,
const struct GNUNET_CONFIGURATION_Handle *cfg)
unsigned int i;
ok = 0;
- h = GNUNET_DATACACHE_create (sched,
- cfg,
+ h = GNUNET_DATACACHE_create (cfg,
"testcache");
if (h == NULL)
{
return;
}
exp = GNUNET_TIME_absolute_get ();
- exp.value += 5 * 60 * 1000;
+ exp.abs_value += 5 * 60 * 1000;
memset (&k, 0, sizeof (GNUNET_HashCode));
for (i = 0; i < 100; i++)
{