diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-29 18:00:01 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-29 18:00:01 +0200 |
commit | 07804493ac17ff430302c7940f44b7525c0620e8 (patch) | |
tree | 885db4fd4576ef65df77d4d47a3ae354efdba01e /src/gmutil.h | |
parent | 8d46b523f2948992343a9491a12dcec73f109c87 (diff) |
Hierarchical navigation with Gopher and Titan
With Gopher, ensure that the item type changes to 1, and with Titan, change to normal Gemini.
Diffstat (limited to 'src/gmutil.h')
-rw-r--r-- | src/gmutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gmutil.h b/src/gmutil.h index 15bb7b2e..1594afc4 100644 --- a/src/gmutil.h +++ b/src/gmutil.h | |||
@@ -127,6 +127,7 @@ iBool isKnownScheme_Rangecc (iRangecc scheme); /* any URI scheme */ | |||
127 | iBool isKnownUrlScheme_Rangecc(iRangecc scheme); /* URL schemes only */ | 127 | iBool isKnownUrlScheme_Rangecc(iRangecc scheme); /* URL schemes only */ |
128 | void punyEncodeDomain_Rangecc(iRangecc domain, iString *encoded_out); | 128 | void punyEncodeDomain_Rangecc(iRangecc domain, iString *encoded_out); |
129 | void punyEncodeUrlHost_String(iString *absoluteUrl); | 129 | void punyEncodeUrlHost_String(iString *absoluteUrl); |
130 | void stripUrlPort_String (iString *); | ||
130 | void stripDefaultUrlPort_String(iString *); | 131 | void stripDefaultUrlPort_String(iString *); |
131 | const iString * urlFragmentStripped_String(const iString *); | 132 | const iString * urlFragmentStripped_String(const iString *); |
132 | const iString * urlQueryStripped_String (const iString *); | 133 | const iString * urlQueryStripped_String (const iString *); |
@@ -138,6 +139,7 @@ const char * makeFileUrl_CStr (const char *localFilePath); | |||
138 | iString * localFilePathFromUrl_String(const iString *); | 139 | iString * localFilePathFromUrl_String(const iString *); |
139 | void urlEncodeSpaces_String (iString *); | 140 | void urlEncodeSpaces_String (iString *); |
140 | const iString * withSpacesEncoded_String(const iString *); | 141 | const iString * withSpacesEncoded_String(const iString *); |
142 | const iString * withScheme_String (const iString *, const char *scheme); /* replace URI scheme */ | ||
141 | const iString * canonicalUrl_String (const iString *); | 143 | const iString * canonicalUrl_String (const iString *); |
142 | 144 | ||
143 | const char * mediaType_Path (const iString *path); | 145 | const char * mediaType_Path (const iString *path); |