diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-05 15:04:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-05 15:04:48 +0000 |
commit | f0e8d8a426ab418be6aa37411e94c716e461bc75 (patch) | |
tree | 8490d2cda04bd5fd8fe2e81e1a5aa4ba027e3e75 /src/fs/fs_uri.c | |
parent | c068395ea77dbb8c9d1a63f549d9c0e0c7f148f5 (diff) |
-doxygen, remove GNUNET_FS_uri_sks_to_string_fancy (dead)
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r-- | src/fs/fs_uri.c | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index e35287beff..23a3682615 100644 --- a/src/fs/fs_uri.c +++ b/src/fs/fs_uri.c @@ -1352,38 +1352,10 @@ GNUNET_FS_uri_sks_get_content_id (const struct GNUNET_FS_Uri *uri) /** - * Convert namespace URI to a human readable format - * (using the namespace description, if available). - * - * @param cfg configuration to use - * @param uri SKS uri to convert - * @return NULL on error (not an SKS URI) - */ -char * -GNUNET_FS_uri_sks_to_string_fancy (struct GNUNET_CONFIGURATION_Handle *cfg, - const struct GNUNET_FS_Uri *uri) -{ - char *ret; - char *name; - char *unique_name; - - if (uri->type != GNUNET_FS_URI_SKS) - return NULL; - (void) GNUNET_FS_pseudonym_get_info (cfg, &uri->data.sks.ns, - NULL, NULL, &name, NULL); - unique_name = GNUNET_FS_pseudonym_name_uniquify (cfg, &uri->data.sks.ns, name, NULL); - GNUNET_free (name); - GNUNET_asprintf (&ret, "%s: %s", unique_name, uri->data.sks.identifier); - GNUNET_free (unique_name); - return ret; -} - - -/** * Is this a keyword URI? * * @param uri the uri - * @return GNUNET_YES if this is a KSK uri + * @return #GNUNET_YES if this is a KSK uri */ int GNUNET_FS_uri_test_ksk (const struct GNUNET_FS_Uri *uri) |