diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-14 08:20:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-14 08:20:51 +0000 |
commit | 81890d03b923d54a64e8ebb63c2f62b7ee67c70b (patch) | |
tree | bdc888ed85a10bbf9e2ee5c52f0369c8b4a623ad /src/fs | |
parent | 98c78bdc4d47e725c548998e3416f5bedc3b9887 (diff) | |
download | gnunet-81890d03b923d54a64e8ebb63c2f62b7ee67c70b.tar.gz gnunet-81890d03b923d54a64e8ebb63c2f62b7ee67c70b.zip |
-doxygen
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/fs_namespace_advertise.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/fs_namespace_advertise.c b/src/fs/fs_namespace_advertise.c index c0e15541c..3b64e619c 100644 --- a/src/fs/fs_namespace_advertise.c +++ b/src/fs/fs_namespace_advertise.c | |||
@@ -204,7 +204,7 @@ advertisement_cont (void *cls, int success, | |||
204 | * | 204 | * |
205 | * @param h handle to the file sharing subsystem | 205 | * @param h handle to the file sharing subsystem |
206 | * @param ksk_uri keywords to use for advertisment | 206 | * @param ksk_uri keywords to use for advertisment |
207 | * @param namespace handle for the namespace that should be advertised | 207 | * @param ns handle for the namespace that should be advertised |
208 | * @param meta meta-data for the namespace advertisement | 208 | * @param meta meta-data for the namespace advertisement |
209 | * @param bo block options | 209 | * @param bo block options |
210 | * @param rootEntry name of the root of the namespace | 210 | * @param rootEntry name of the root of the namespace |
@@ -215,7 +215,7 @@ advertisement_cont (void *cls, int success, | |||
215 | struct GNUNET_FS_AdvertisementContext * | 215 | struct GNUNET_FS_AdvertisementContext * |
216 | GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, | 216 | GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, |
217 | struct GNUNET_FS_Uri *ksk_uri, | 217 | struct GNUNET_FS_Uri *ksk_uri, |
218 | struct GNUNET_FS_Namespace *namespace, | 218 | struct GNUNET_FS_Namespace *ns, |
219 | const struct GNUNET_CONTAINER_MetaData *meta, | 219 | const struct GNUNET_CONTAINER_MetaData *meta, |
220 | const struct GNUNET_FS_BlockOptions *bo, | 220 | const struct GNUNET_FS_BlockOptions *bo, |
221 | const char *rootEntry, | 221 | const char *rootEntry, |
@@ -261,7 +261,7 @@ GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, | |||
261 | } | 261 | } |
262 | size = mdsize + sizeof (struct NBlock) + reslen; | 262 | size = mdsize + sizeof (struct NBlock) + reslen; |
263 | nb = GNUNET_malloc (size); | 263 | nb = GNUNET_malloc (size); |
264 | GNUNET_CRYPTO_rsa_key_get_public (namespace->key, &nb->subspace); | 264 | GNUNET_CRYPTO_rsa_key_get_public (ns->key, &nb->subspace); |
265 | nb->ns_purpose.size = | 265 | nb->ns_purpose.size = |
266 | htonl (mdsize + reslen + | 266 | htonl (mdsize + reslen + |
267 | sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) + | 267 | sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) + |
@@ -286,7 +286,7 @@ GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h, | |||
286 | ctx->nb = nb; | 286 | ctx->nb = nb; |
287 | ctx->pt = pt; | 287 | ctx->pt = pt; |
288 | ctx->pt_size = mdsize + reslen; | 288 | ctx->pt_size = mdsize + reslen; |
289 | ctx->ns = namespace; | 289 | ctx->ns = ns; |
290 | ctx->ns->rc++; | 290 | ctx->ns->rc++; |
291 | ctx->bo = *bo; | 291 | ctx->bo = *bo; |
292 | advertisement_cont (ctx, GNUNET_OK, GNUNET_TIME_UNIT_ZERO_ABS, NULL); | 292 | advertisement_cont (ctx, GNUNET_OK, GNUNET_TIME_UNIT_ZERO_ABS, NULL); |