-code hygene
[oweals/gnunet.git] / src / include / gnunet_nse_service.h
index 9169c68ba8d0eb21ac6a4a775f771de6ce06d94e..d52315ea9929b3f72521dc69437bc362efff26b7 100644 (file)
@@ -39,9 +39,7 @@ extern "C"
 #endif
 #endif
 
-#include "gnunet_common.h"
-#include "gnunet_configuration_lib.h"
-#include "gnunet_scheduler_lib.h"
+#include "gnunet_util_lib.h"
 
 /**
  * Version of the network size estimation API.
@@ -76,13 +74,14 @@ typedef void (*GNUNET_NSE_Callback) (void *cls,
  */
 #define GNUNET_NSE_log_estimate_to_n(loge) pow(2.0, (loge))
 
+
 /**
  * Connect to the network size estimation service.
  *
  * @param cfg the configuration to use
  * @param func funtion to call with network size estimate
  * @param func_cls closure to pass to @a func
- * @return handle to use
+ * @return handle to use in #GNUNET_NSE_disconnect to stop NSE from invoking the callbacks
  */
 struct GNUNET_NSE_Handle *
 GNUNET_NSE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,