diff options
Diffstat (limited to 'src/include/gnunet_uri_lib.h')
-rw-r--r-- | src/include/gnunet_uri_lib.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/gnunet_uri_lib.h b/src/include/gnunet_uri_lib.h index d428bdd9a..57c9e9316 100644 --- a/src/include/gnunet_uri_lib.h +++ b/src/include/gnunet_uri_lib.h | |||
@@ -26,12 +26,13 @@ | |||
26 | /** | 26 | /** |
27 | * The struct where the parsed values will be stored: | 27 | * The struct where the parsed values will be stored: |
28 | * | 28 | * |
29 | * scheme ":" [ "//" ] [ username ":" password "@" ] host [ ":" port ] [ "/" ] [ path ] [ "?" query ] | 29 | * scheme ":" [ "//" ] [ username ":" password "@" ] host [ ":" port ] [ "/" ] [ path ] [ "?" query ] [ "#" fragment ] |
30 | * | 30 | * |
31 | * Note: to make sure that no strings are copied, the first slash "/" in the | 31 | * Note: to make sure that no strings are copied, the first slash "/" in the |
32 | * path will be used to null terminate the hostname if no port is supplied. | 32 | * path will be used to null terminate the hostname if no port is supplied. |
33 | */ | 33 | */ |
34 | struct GNUNET_Uri { | 34 | struct GNUNET_Uri |
35 | { | ||
35 | char *scheme; /* scheme, without ":" and "//" */ | 36 | char *scheme; /* scheme, without ":" and "//" */ |
36 | char *username; /* username, default: NULL */ | 37 | char *username; /* username, default: NULL */ |
37 | char *password; /* password, default: NULL */ | 38 | char *password; /* password, default: NULL */ |
@@ -44,7 +45,8 @@ struct GNUNET_Uri { | |||
44 | 45 | ||
45 | 46 | ||
46 | /* A struct to hold the query string parameter values. */ | 47 | /* A struct to hold the query string parameter values. */ |
47 | struct GNUNET_UriParam { | 48 | struct GNUNET_UriParam |
49 | { | ||
48 | char *key; | 50 | char *key; |
49 | char *val; | 51 | char *val; |
50 | }; | 52 | }; |