aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-03 01:57:10 +0000
committerLRN <lrn1986@gmail.com>2013-03-03 01:57:10 +0000
commit058c49560ff702057bd8799c2d21b1fd70cb7134 (patch)
treea4a1d481f45cac006aa452aef2a451f16d03097a /src/include
parent63346db616d6478416ec5686746a7818acf81ed6 (diff)
downloadgnunet-058c49560ff702057bd8799c2d21b1fd70cb7134.tar.gz
gnunet-058c49560ff702057bd8799c2d21b1fd70cb7134.zip
Implement and use GNUNET_FS_namespace_get_public_key_hash
Diffstat (limited to 'src/include')
-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.