aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_fs_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-05 15:04:48 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-05 15:04:48 +0000
commitf0e8d8a426ab418be6aa37411e94c716e461bc75 (patch)
tree8490d2cda04bd5fd8fe2e81e1a5aa4ba027e3e75 /src/include/gnunet_fs_service.h
parentc068395ea77dbb8c9d1a63f549d9c0e0c7f148f5 (diff)
downloadgnunet-f0e8d8a426ab418be6aa37411e94c716e461bc75.tar.gz
gnunet-f0e8d8a426ab418be6aa37411e94c716e461bc75.zip
-doxygen, remove GNUNET_FS_uri_sks_to_string_fancy (dead)
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r--src/include/gnunet_fs_service.h25
1 files changed, 6 insertions, 19 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h
index 5dcee17cd..a49d8fb98 100644
--- a/src/include/gnunet_fs_service.h
+++ b/src/include/gnunet_fs_service.h
@@ -85,7 +85,7 @@ struct GNUNET_FS_Uri;
85 * @param cls closure 85 * @param cls closure
86 * @param keyword the keyword 86 * @param keyword the keyword
87 * @param is_mandatory is the keyword mandatory (in a search) 87 * @param is_mandatory is the keyword mandatory (in a search)
88 * @return GNUNET_OK to continue to iterate, GNUNET_SYSERR to abort 88 * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to abort
89 */ 89 */
90typedef int (*GNUNET_FS_KeywordIterator) (void *cls, const char *keyword, 90typedef int (*GNUNET_FS_KeywordIterator) (void *cls, const char *keyword,
91 int is_mandatory); 91 int is_mandatory);
@@ -101,7 +101,7 @@ typedef int (*GNUNET_FS_KeywordIterator) (void *cls, const char *keyword,
101 * @param unique_name unique name of the pseudonym (might be NULL) 101 * @param unique_name unique name of the pseudonym (might be NULL)
102 * @param md meta data known about the pseudonym 102 * @param md meta data known about the pseudonym
103 * @param rating the local rating of the pseudonym 103 * @param rating the local rating of the pseudonym
104 * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort 104 * @return #GNUNET_OK to continue iteration, #GNUNET_SYSERR to abort
105 */ 105 */
106typedef int (*GNUNET_FS_PseudonymIterator) (void *cls, 106typedef int (*GNUNET_FS_PseudonymIterator) (void *cls,
107 const struct GNUNET_CRYPTO_EccPublicKey *pseudonym, 107 const struct GNUNET_CRYPTO_EccPublicKey *pseudonym,
@@ -217,9 +217,9 @@ GNUNET_FS_pseudonym_name_uniquify (const struct GNUNET_CONFIGURATION_Handle *cfg
217 * @param ret_rank a location to store rank. NULL, if rank not needed. 217 * @param ret_rank a location to store rank. NULL, if rank not needed.
218 * @param ret_name a location to store human-readable name. Name is not unique. 218 * @param ret_name a location to store human-readable name. Name is not unique.
219 * NULL, if name is not needed. Free with GNUNET_free(). 219 * NULL, if name is not needed. Free with GNUNET_free().
220 * @param name_is_a_dup is set to GNUNET_YES, if ret_name was filled with 220 * @param name_is_a_dup is set to #GNUNET_YES, if ret_name was filled with
221 * a duplicate of a "no-name" placeholder 221 * a duplicate of a "no-name" placeholder
222 * @return GNUNET_OK on success. GNUENT_SYSERR if the data was 222 * @return #GNUNET_OK on success. #GNUENT_SYSERR if the data was
223 * unobtainable (in that case ret_* are filled with placeholders - 223 * unobtainable (in that case ret_* are filled with placeholders -
224 * empty metadata container, rank -1 and a "no-name" name). 224 * empty metadata container, rank -1 and a "no-name" name).
225 */ 225 */
@@ -238,7 +238,7 @@ GNUNET_FS_pseudonym_get_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
238 * @param cfg configuration to use 238 * @param cfg configuration to use
239 * @param ns_uname unique (!) human-readable name for the pseudonym 239 * @param ns_uname unique (!) human-readable name for the pseudonym
240 * @param pseudonym set to pseudonym ID based on 'ns_uname' 240 * @param pseudonym set to pseudonym ID based on 'ns_uname'
241 * @return GNUNET_OK on success, GNUNET_SYSERR on failure 241 * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure
242 */ 242 */
243int 243int
244GNUNET_FS_pseudonym_name_to_id (const struct GNUNET_CONFIGURATION_Handle *cfg, 244GNUNET_FS_pseudonym_name_to_id (const struct GNUNET_CONFIGURATION_Handle *cfg,
@@ -256,7 +256,7 @@ GNUNET_FS_pseudonym_name_to_id (const struct GNUNET_CONFIGURATION_Handle *cfg,
256 * @param md metadata to set 256 * @param md metadata to set
257 * May be NULL, in which case it erases pseudonym's metadata! 257 * May be NULL, in which case it erases pseudonym's metadata!
258 * @param rank rank to assign 258 * @param rank rank to assign
259 * @return GNUNET_OK on success, GNUNET_SYSERR on failure 259 * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure
260 */ 260 */
261int 261int
262GNUNET_FS_pseudonym_set_info (const struct GNUNET_CONFIGURATION_Handle *cfg, 262GNUNET_FS_pseudonym_set_info (const struct GNUNET_CONFIGURATION_Handle *cfg,
@@ -538,19 +538,6 @@ GNUNET_FS_uri_sks_get_content_id (const struct GNUNET_FS_Uri *uri);
538 538
539 539
540/** 540/**
541 * Convert namespace URI to a human readable format
542 * (using the namespace description, if available).
543 *
544 * @param cfg configuration to use
545 * @param uri SKS uri to convert
546 * @return NULL on error (not an SKS URI)
547 */
548char *
549GNUNET_FS_uri_sks_to_string_fancy (struct GNUNET_CONFIGURATION_Handle *cfg,
550 const struct GNUNET_FS_Uri *uri);
551
552
553/**
554 * Is this a keyword URI? 541 * Is this a keyword URI?
555 * 542 *
556 * @param uri the uri 543 * @param uri the uri