diff options
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r-- | src/include/taler_util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 33c126cbc..59824a521 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h | |||
@@ -183,6 +183,15 @@ TALER_project_data_default (void); | |||
183 | char * | 183 | char * |
184 | TALER_urlencode (const char *s); | 184 | TALER_urlencode (const char *s); |
185 | 185 | ||
186 | /** | ||
187 | * Test if all characters in @a url are valid for | ||
188 | * a URL. | ||
189 | * | ||
190 | * @param url URL to sanity-check | ||
191 | * @return true if @a url only contains valid characters | ||
192 | */ | ||
193 | bool | ||
194 | TALER_url_valid_charset (const char *url); | ||
186 | 195 | ||
187 | /** | 196 | /** |
188 | * Check if @a lang matches the @a language_pattern, and if so with | 197 | * Check if @a lang matches the @a language_pattern, and if so with |