- Timestamp:
- Dec 8, 2023 5:01:40 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/uri.h
r98103 r102554 144 144 * Extract the scheme out of a parsed URI. 145 145 * 146 * @returns the scheme if the URI is valid, NULL otherwise.146 * @returns The allocated scheme if the URI is valid, NULL otherwise. Must be free'd via RTStrFree(). 147 147 * @param pszUri The URI passed to RTUriParse when producing the 148 148 * info in @a pParsed. … … 154 154 * Extract the authority out of a parsed URI. 155 155 * 156 * @returns the authority if the URI contains one, NULL otherwise.156 * @returns The allocated authority if the URI contains one, NULL otherwise. Must be free'd via RTStrFree(). 157 157 * @param pszUri The URI passed to RTUriParse when producing the 158 158 * info in @a pParsed. … … 165 165 * Extract the username out of the authority component in a parsed URI. 166 166 * 167 * @returns The username if the URI contains one, otherwise NULL.167 * @returns The allocated username if the URI contains one, otherwise NULL. Must be free'd via RTStrFree(). 168 168 * @param pszUri The URI passed to RTUriParse when producing the 169 169 * info in @a pParsed. … … 178 178 * Extract the password out of the authority component in a parsed URI. 179 179 * 180 * @returns The password if the URI contains one, otherwise NULL.180 * @returns The allocated password if the URI contains one, otherwise NULL. Must be free'd via RTStrFree(). 181 181 * @param pszUri The URI passed to RTUriParse when producing the 182 182 * info in @a pParsed. … … 191 191 * Extract the host out of the authority component in a parsed URI. 192 192 * 193 * @returns The host if the URI contains one, otherwise NULL.193 * @returns The allocated host if the URI contains one, otherwise NULL. Must be free'd via RTStrFree(). 194 194 * @param pszUri The URI passed to RTUriParse when producing the 195 195 * info in @a pParsed. … … 214 214 * Extract the path out of a parsed URI. 215 215 * 216 * @returns the path if the URI contains one, NULL otherwise.216 * @returns The allocated path if the URI contains one, NULL otherwise. Must be free'd via RTStrFree(). 217 217 * @param pszUri The URI passed to RTUriParse when producing the 218 218 * info in @a pParsed. … … 224 224 * Extract the query out of a parsed URI. 225 225 * 226 * @returns the query if the URI contains one, NULL otherwise.226 * @returns The allocated query if the URI contains one, NULL otherwise. Must be free'd via RTStrFree(). 227 227 * @param pszUri The URI passed to RTUriParse when producing the 228 228 * info in @a pParsed. … … 234 234 * Extract the fragment out of a parsed URI. 235 235 * 236 * @returns the fragment if the URI contains one, NULL otherwise.236 * @returns The allocated fragment if the URI contains one, NULL otherwise. Must be free'd via RTStrFree(). 237 237 * @param pszUri The URI passed to RTUriParse when producing the 238 238 * info in @a pParsed. … … 246 246 * Creates a generic URI. 247 247 * 248 * The returned pointer must be freed using RTStrFree(). 249 * 250 * @returns the new URI on success, NULL otherwise. 248 * @returns The allocated URI on success, NULL otherwise. Must be free'd via RTStrFree(). 251 249 * @param pszScheme The URI scheme. 252 250 * @param pszAuthority The authority part of the URI (optional).
Note:
See TracChangeset
for help on using the changeset viewer.