doxy
[oweals/gnunet.git] / src / include / gnunet_nse_service.h
index 7a670a5844aa661afcba2115eebd0d7eab5acb26..a0c6016a40a537189d95016cbb858afc8c18e9cd 100644 (file)
@@ -56,20 +56,21 @@ struct GNUNET_NSE_Handle;
  * Callback to call when network size estimate is updated.
  *
  * @param cls closure
+ * @param timestamp time when the estimate was received from the server (or created by the server)
  * @param logestimate the log(Base 2) value of the current network size estimate
  * @param std_dev standard deviation for the estimate
  *
  */
 typedef void (*GNUNET_NSE_Callback) (void *cls,
-                                    double logestimate, 
-                                    double std_dev);
+                                     struct GNUNET_TIME_Absolute timestamp,
+                                     double logestimate, double std_dev);
 
 
 /**
  * Convert the logarithmic estimated returned to the 'GNUNET_NSE_Callback'
  * into an absolute estimate in terms of the number of peers in the network.
  *
- * @param loge logarithmic estimate 
+ * @param loge logarithmic estimate
  * @return absolute number of peers in the network (estimated)
  */
 #define GNUNET_NSE_log_estimate_to_n(loge) pow(2.0, (loge))