diff options
Diffstat (limited to 'src/include/gnunet_nse_service.h')
-rw-r--r-- | src/include/gnunet_nse_service.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/include/gnunet_nse_service.h b/src/include/gnunet_nse_service.h index 23aff01c3..0401e0cbc 100644 --- a/src/include/gnunet_nse_service.h +++ b/src/include/gnunet_nse_service.h | |||
@@ -66,11 +66,12 @@ struct GNUNET_NSE_Handle; | |||
66 | * @param timestamp time when the estimate was received from the server (or created by the server) | 66 | * @param timestamp time when the estimate was received from the server (or created by the server) |
67 | * @param logestimate the log(Base 2) value of the current network size estimate | 67 | * @param logestimate the log(Base 2) value of the current network size estimate |
68 | * @param std_dev standard deviation for the estimate | 68 | * @param std_dev standard deviation for the estimate |
69 | * | ||
70 | */ | 69 | */ |
71 | typedef void (*GNUNET_NSE_Callback) (void *cls, | 70 | typedef void |
72 | struct GNUNET_TIME_Absolute timestamp, | 71 | (*GNUNET_NSE_Callback) (void *cls, |
73 | double logestimate, double std_dev); | 72 | struct GNUNET_TIME_Absolute timestamp, |
73 | double logestimate, | ||
74 | double std_dev); | ||
74 | 75 | ||
75 | 76 | ||
76 | /** | 77 | /** |
@@ -93,7 +94,8 @@ typedef void (*GNUNET_NSE_Callback) (void *cls, | |||
93 | */ | 94 | */ |
94 | struct GNUNET_NSE_Handle * | 95 | struct GNUNET_NSE_Handle * |
95 | GNUNET_NSE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, | 96 | GNUNET_NSE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, |
96 | GNUNET_NSE_Callback func, void *func_cls); | 97 | GNUNET_NSE_Callback func, |
98 | void *func_cls); | ||
97 | 99 | ||
98 | 100 | ||
99 | /** | 101 | /** |