static int
check_1 (void *cls,
const char *subsystem,
- const char *name, unsigned long long value, int is_persistent)
+ const char *name, uint64_t value, int is_persistent)
{
GNUNET_assert (0 == strcmp (name, "test-1"));
GNUNET_assert (0 == strcmp (subsystem, "test-statistics-api"));
static int
check_2 (void *cls,
const char *subsystem,
- const char *name, unsigned long long value, int is_persistent)
+ const char *name, uint64_t value, int is_persistent)
{
GNUNET_assert (0 == strcmp (name, "test-2"));
GNUNET_assert (0 == strcmp (subsystem, "test-statistics-api"));
static int
check_3 (void *cls,
const char *subsystem,
- const char *name, unsigned long long value, int is_persistent)
+ const char *name, uint64_t value, int is_persistent)
{
GNUNET_assert (0 == strcmp (name, "test-3"));
GNUNET_assert (0 == strcmp (subsystem, "test-statistics-api"));
{
int *ok = cls;
- GNUNET_STATISTICS_destroy (h);
+ GNUNET_STATISTICS_destroy (h, GNUNET_NO);
GNUNET_assert (success == GNUNET_OK);
*ok = 0;
}