21#ifndef GNUNET_NSE_SERVICE_H_
22#define GNUNET_NSE_SERVICE_H_
59#define GNUNET_NSE_VERSION 0x00000000
88#define GNUNET_NSE_log_estimate_to_n(loge) pow (2.0, (loge))
static struct GNUNET_ARM_Handle * h
Connection with ARM.
static struct GNUNET_CONFIGURATION_Handle * cfg
Our configuration.
static uint64_t timestamp(void)
Get current timestamp.
void GNUNET_NSE_disconnect(struct GNUNET_NSE_Handle *h)
Disconnect from network size estimation service.
void(* GNUNET_NSE_Callback)(void *cls, struct GNUNET_TIME_Absolute timestamp, double logestimate, double std_dev)
Callback to call when network size estimate is updated.
struct GNUNET_NSE_Handle * GNUNET_NSE_connect(const struct GNUNET_CONFIGURATION_Handle *cfg, GNUNET_NSE_Callback func, void *func_cls)
Connect to the network size estimation service.
Handle for talking with the NSE service.
Time for absolute times used by GNUnet, in microseconds.