aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_uri.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
commitcddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch)
treeb704e00a3af618b2cd174a7f89514eaebd82a1cf /src/fs/fs_uri.c
parentbb4fc4f4007988874f910d4de5492f9629301641 (diff)
downloadgnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz
gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r--src/fs/fs_uri.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index 206a8adca..b654b2a81 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -125,7 +125,7 @@ GNUNET_FS_uri_to_key (const struct GNUNET_FS_Uri *uri, GNUNET_HashCode * key)
125 * Convert keyword URI to a human readable format 125 * Convert keyword URI to a human readable format
126 * (i.e. the search query that was used in the first place) 126 * (i.e. the search query that was used in the first place)
127 * 127 *
128 * @param uri ksk uri to convert to a string 128 * @param uri ksk uri to convert to a string
129 * @return string with the keywords 129 * @return string with the keywords
130 */ 130 */
131char * 131char *
@@ -187,7 +187,7 @@ GNUNET_FS_uri_ksk_to_string_fancy (const struct GNUNET_FS_Uri *uri)
187 * spaces), return a copy of the keyword without %-encoding and 187 * spaces), return a copy of the keyword without %-encoding and
188 * without double-quotes (%22). Also, add a space at the beginning 188 * without double-quotes (%22). Also, add a space at the beginning
189 * if there is not a '+'. 189 * if there is not a '+'.
190 * 190 *
191 * @param in string with %-encoding 191 * @param in string with %-encoding
192 * @param emsg where to store the parser error message (if any) 192 * @param emsg where to store the parser error message (if any)
193 * @return decodded string with leading space (or preserved plus) 193 * @return decodded string with leading space (or preserved plus)
@@ -971,7 +971,7 @@ GNUNET_FS_uri_sks_create_from_nsid (GNUNET_HashCode * nsid, const char *id)
971 971
972/** 972/**
973 * Canonicalize a keyword. 973 * Canonicalize a keyword.
974 * 974 *
975 * @param in input string (the keyword) 975 * @param in input string (the keyword)
976 * @return canonicalized keyword 976 * @return canonicalized keyword
977 */ 977 */
@@ -1049,7 +1049,7 @@ canonicalize_keyword (const char *in)
1049 * as decapitalization and removal of certain characters. 1049 * as decapitalization and removal of certain characters.
1050 * (useful for search). 1050 * (useful for search).
1051 * 1051 *
1052 * @param uri the URI to canonicalize 1052 * @param uri the URI to canonicalize
1053 * @return canonicalized version of the URI, NULL on error 1053 * @return canonicalized version of the URI, NULL on error
1054 */ 1054 */
1055struct GNUNET_FS_Uri * 1055struct GNUNET_FS_Uri *
@@ -1568,7 +1568,7 @@ GNUNET_FS_uri_test_loc (const struct GNUNET_FS_Uri *uri)
1568 * used in the main libextractor library and yielding 1568 * used in the main libextractor library and yielding
1569 * meta data). 1569 * meta data).
1570 * @param type libextractor-type describing the meta data 1570 * @param type libextractor-type describing the meta data
1571 * @param format basic format information about data 1571 * @param format basic format information about data
1572 * @param data_mime_type mime-type of data (not of the original file); 1572 * @param data_mime_type mime-type of data (not of the original file);
1573 * can be NULL (if mime-type is not known) 1573 * can be NULL (if mime-type is not known)
1574 * @param data actual meta-data found 1574 * @param data actual meta-data found