aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index d6b26d927..1cb5028b3 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -2289,6 +2289,19 @@ GNUNET_FS_namespace_dup (struct GNUNET_FS_Namespace *ns);
2289 2289
2290 2290
2291/** 2291/**
2292 * Get hash of the public key of a namespace.
2293 *
2294 * @param ns namespace
2295 * @param id buffer to store the key in
2296 * @return GNUNET_OK on success
2297 * GNUNET_SYSERR on failure (contents of id remain intact)
2298 */
2299int
2300GNUNET_FS_namespace_get_public_key_hash (struct GNUNET_FS_Namespace *ns,
2301 struct GNUNET_HashCode *id);
2302
2303
2304/**
2292 * Delete a namespace handle. Can be used for a clean shutdown (free 2305 * Delete a namespace handle. Can be used for a clean shutdown (free
2293 * memory) or also to freeze the namespace to prevent further 2306 * memory) or also to freeze the namespace to prevent further
2294 * insertions by anyone. 2307 * insertions by anyone.