diff options
author | LRN <lrn1986@gmail.com> | 2013-03-03 01:57:23 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-03-03 01:57:23 +0000 |
commit | b336a3030187b189cfc9b11f9ee1362054616a4b (patch) | |
tree | 21c267dcf8f39ebc9f5c1254729140de909f50ce /src/include/gnunet_fs_service.h | |
parent | 5c2efc1952243768786f67d9fe8733cba1be0c2b (diff) | |
download | gnunet-b336a3030187b189cfc9b11f9ee1362054616a4b.tar.gz gnunet-b336a3030187b189cfc9b11f9ee1362054616a4b.zip |
GNUNET_FS_namespace_rename
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 5b0217a19..c14584890 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -2292,6 +2292,18 @@ GNUNET_FS_namespace_create_stop (struct GNUNET_FS_NamespaceCreationContext *ncc) | |||
2292 | 2292 | ||
2293 | 2293 | ||
2294 | /** | 2294 | /** |
2295 | * Rename a local namespace. | ||
2296 | * | ||
2297 | * @param h handle to the file sharing subsystem | ||
2298 | * @param old_name old name of the namespace | ||
2299 | * @param new_name new name of the namespace | ||
2300 | * @return GNUNET_OK on success, GNUNET_SYSERR on error (see errno for details) | ||
2301 | */ | ||
2302 | int | ||
2303 | GNUNET_FS_namespace_rename (struct GNUNET_FS_Handle *h, char *old_name, char *new_name); | ||
2304 | |||
2305 | |||
2306 | /** | ||
2295 | * Duplicate a namespace handle. | 2307 | * Duplicate a namespace handle. |
2296 | * | 2308 | * |
2297 | * @param ns namespace handle | 2309 | * @param ns namespace handle |