aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-03-03 01:57:19 +0000
committerLRN <lrn1986@gmail.com>2013-03-03 01:57:19 +0000
commit5c2efc1952243768786f67d9fe8733cba1be0c2b (patch)
tree5f8acaa0aea14419f5dc6e317cb1c9d3ce89bfa4 /src/include/gnunet_fs_service.h
parent27d46ea3f6ceaef7f089d674f5634eeafa5e133a (diff)
downloadgnunet-5c2efc1952243768786f67d9fe8733cba1be0c2b.tar.gz
gnunet-5c2efc1952243768786f67d9fe8733cba1be0c2b.zip
Be able to open existing namespaces
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 1cb5028b3..5b0217a19 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -2240,6 +2240,19 @@ GNUNET_FS_namespace_create (struct GNUNET_FS_Handle *h, const char *name);
2240 2240
2241 2241
2242/** 2242/**
2243 * Open the namespace with the given name; if it does not exist,
2244 * or the key file is corrupted, the function fails.
2245 *
2246 * @param h handle to the file sharing subsystem
2247 * @param name name of the namespace
2248 * @return handle to the namespace,
2249 * NULL on error (i.e. invalid filename, non-existent filename)
2250 */
2251struct GNUNET_FS_Namespace *
2252GNUNET_FS_namespace_open_existing (struct GNUNET_FS_Handle *h, const char *name);
2253
2254
2255/**
2243 * Context for creating a namespace asynchronously. 2256 * Context for creating a namespace asynchronously.
2244 */ 2257 */
2245struct GNUNET_FS_NamespaceCreationContext; 2258struct GNUNET_FS_NamespaceCreationContext;