aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-04 01:20:48 +0000
committerLRN <lrn1986@gmail.com>2013-03-04 01:20:48 +0000
commita100428ffd01733a28f4e66b61c958d9367209c2 (patch)
tree02bbbe1f798a8ab987533505d5e6a3bfabbe828a /src/include/gnunet_fs_service.h
parent93beeb2fafd68d5173587ad13f7538c4de2d000a (diff)
downloadgnunet-a100428ffd01733a28f4e66b61c958d9367209c2.tar.gz
gnunet-a100428ffd01733a28f4e66b61c958d9367209c2.zip
Implement GNUNET_FS_namespace_insert_advertisement_into_metadata
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index c4cec81cd..efe2cd004 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -2219,6 +2219,21 @@ GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h,
2219 2219
2220 2220
2221/** 2221/**
2222 * Create an SKS uri that points to the root entry of the namespace,
2223 * then insert that SKS uri into metadata.
2224 *
2225 * @param ns handle for the namespace that should be advertised
2226 * @param meta meta-data into which namespace advertisement should be inserted
2227 * @param rootEntry name of the root of the namespace (use NULL to use default)
2228 * @return GNUNET_OK on success, GNUNET_SYSERR on error
2229 */
2230int
2231GNUNET_FS_namespace_insert_advertisement_into_metadata (
2232 struct GNUNET_FS_Namespace *ns, struct GNUNET_CONTAINER_MetaData *meta,
2233 const char *rootEntry);
2234
2235
2236/**
2222 * Abort the namespace advertisement operation. 2237 * Abort the namespace advertisement operation.
2223 * 2238 *
2224 * @param ac context of the operation to abort. 2239 * @param ac context of the operation to abort.