summaryrefslogtreecommitdiff
path: root/src/include/gnunet_uri_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_uri_lib.h')
-rw-r--r--src/include/gnunet_uri_lib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_uri_lib.h b/src/include/gnunet_uri_lib.h
index e5f144591..d428bdd9a 100644
--- a/src/include/gnunet_uri_lib.h
+++ b/src/include/gnunet_uri_lib.h
@@ -31,7 +31,7 @@
* Note: to make sure that no strings are copied, the first slash "/" in the
* path will be used to null terminate the hostname if no port is supplied.
*/
-struct GNUNET_uri {
+struct GNUNET_Uri {
char *scheme; /* scheme, without ":" and "//" */
char *username; /* username, default: NULL */
char *password; /* password, default: NULL */
@@ -44,7 +44,7 @@ struct GNUNET_uri {
/* A struct to hold the query string parameter values. */
-struct GNUNET_uri_param {
+struct GNUNET_UriParam {
char *key;
char *val;
};
@@ -70,7 +70,7 @@ struct GNUNET_uri_param {
* Returns 0 on success, otherwise -1.
*/
int
-GNUNET_uri_parse (struct GNUNET_uri *url,
+GNUNET_uri_parse (struct GNUNET_Uri *url,
char *url_str);
@@ -115,7 +115,7 @@ GNUNET_uri_split_path (char *path,
int
GNUNET_uri_parse_query (char *query,
char delimiter,
- struct GNUNET_uri_param *params,
+ struct GNUNET_UriParam *params,
int max_params);