aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_nse_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-15 14:27:01 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-15 14:27:01 +0000
commitf8ef504cc5e9c2788cacddad202fec3f390f1980 (patch)
tree9eb6a2809dab0d0a9ff71129178d22cf3dadfea9 /src/include/gnunet_nse_service.h
parenteed7f472501226b6d6c4f32d3c88d14123f74236 (diff)
downloadgnunet-f8ef504cc5e9c2788cacddad202fec3f390f1980.tar.gz
gnunet-f8ef504cc5e9c2788cacddad202fec3f390f1980.zip
-minor NSE cleanup
Diffstat (limited to 'src/include/gnunet_nse_service.h')
-rw-r--r--src/include/gnunet_nse_service.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/gnunet_nse_service.h b/src/include/gnunet_nse_service.h
index 9169c68ba..edec078ba 100644
--- a/src/include/gnunet_nse_service.h
+++ b/src/include/gnunet_nse_service.h
@@ -76,13 +76,14 @@ typedef void (*GNUNET_NSE_Callback) (void *cls,
76 */ 76 */
77#define GNUNET_NSE_log_estimate_to_n(loge) pow(2.0, (loge)) 77#define GNUNET_NSE_log_estimate_to_n(loge) pow(2.0, (loge))
78 78
79
79/** 80/**
80 * Connect to the network size estimation service. 81 * Connect to the network size estimation service.
81 * 82 *
82 * @param cfg the configuration to use 83 * @param cfg the configuration to use
83 * @param func funtion to call with network size estimate 84 * @param func funtion to call with network size estimate
84 * @param func_cls closure to pass to @a func 85 * @param func_cls closure to pass to @a func
85 * @return handle to use 86 * @return handle to use in #GNUNET_NSE_disconnect to stop NSE from invoking the callbacks
86 */ 87 */
87struct GNUNET_NSE_Handle * 88struct GNUNET_NSE_Handle *
88GNUNET_NSE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, 89GNUNET_NSE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,