diff options
Diffstat (limited to 'src/include/gnunet_fs_service.h')
-rw-r--r-- | src/include/gnunet_fs_service.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_fs_service.h b/src/include/gnunet_fs_service.h index 8e71308ba..8477c534d 100644 --- a/src/include/gnunet_fs_service.h +++ b/src/include/gnunet_fs_service.h | |||
@@ -115,6 +115,20 @@ GNUNET_FS_uri_ksk_to_string_fancy (const struct GNUNET_FS_Uri *uri); | |||
115 | 115 | ||
116 | 116 | ||
117 | /** | 117 | /** |
118 | * Add the given keyword to the set of keywords represented by the URI. | ||
119 | * Does nothing if the keyword is already present. | ||
120 | * | ||
121 | * @param uri ksk uri to modify | ||
122 | * @param keyword keyword to add | ||
123 | * @param is_mandatory is this keyword mandatory? | ||
124 | */ | ||
125 | void | ||
126 | GNUNET_FS_uri_ksk_add_keyword (struct GNUNET_FS_Uri *uri, | ||
127 | const char *keyword, | ||
128 | int is_mandatory); | ||
129 | |||
130 | |||
131 | /** | ||
118 | * Convert a UTF-8 String to a URI. | 132 | * Convert a UTF-8 String to a URI. |
119 | * | 133 | * |
120 | * @param uri string to parse | 134 | * @param uri string to parse |