diff options
Diffstat (limited to 'src/include/gnunet_nse_service.h')
-rw-r--r-- | src/include/gnunet_nse_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_nse_service.h b/src/include/gnunet_nse_service.h index 31b128533..73a70ea24 100644 --- a/src/include/gnunet_nse_service.h +++ b/src/include/gnunet_nse_service.h | |||
@@ -80,7 +80,7 @@ typedef void (*GNUNET_NSE_Callback) (void *cls, | |||
80 | * @param loge logarithmic estimate | 80 | * @param loge logarithmic estimate |
81 | * @return absolute number of peers in the network (estimated) | 81 | * @return absolute number of peers in the network (estimated) |
82 | */ | 82 | */ |
83 | #define GNUNET_NSE_log_estimate_to_n(loge) pow(2.0, (loge)) | 83 | #define GNUNET_NSE_log_estimate_to_n(loge) pow (2.0, (loge)) |
84 | 84 | ||
85 | 85 | ||
86 | /** | 86 | /** |
@@ -92,8 +92,8 @@ typedef void (*GNUNET_NSE_Callback) (void *cls, | |||
92 | * @return handle to use in #GNUNET_NSE_disconnect to stop NSE from invoking the callbacks | 92 | * @return handle to use in #GNUNET_NSE_disconnect to stop NSE from invoking the callbacks |
93 | */ | 93 | */ |
94 | struct GNUNET_NSE_Handle * | 94 | struct GNUNET_NSE_Handle * |
95 | GNUNET_NSE_connect(const struct GNUNET_CONFIGURATION_Handle *cfg, | 95 | GNUNET_NSE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, |
96 | GNUNET_NSE_Callback func, void *func_cls); | 96 | GNUNET_NSE_Callback func, void *func_cls); |
97 | 97 | ||
98 | 98 | ||
99 | /** | 99 | /** |
@@ -102,7 +102,7 @@ GNUNET_NSE_connect(const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
102 | * @param h handle to destroy | 102 | * @param h handle to destroy |
103 | */ | 103 | */ |
104 | void | 104 | void |
105 | GNUNET_NSE_disconnect(struct GNUNET_NSE_Handle *h); | 105 | GNUNET_NSE_disconnect (struct GNUNET_NSE_Handle *h); |
106 | 106 | ||
107 | 107 | ||
108 | #if 0 /* keep Emacsens' auto-indent happy */ | 108 | #if 0 /* keep Emacsens' auto-indent happy */ |