VirtualBox

Changeset 102554 in vbox for trunk


Ignore:
Timestamp:
Dec 8, 2023 5:01:40 PM (14 months ago)
Author:
vboxsync
Message:

IPRT/uri.h: Improved docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/uri.h

    r98103 r102554  
    144144 * Extract the scheme out of a parsed URI.
    145145 *
    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().
    147147 * @param   pszUri              The URI passed to RTUriParse when producing the
    148148 *                              info in @a pParsed.
     
    154154 * Extract the authority out of a parsed URI.
    155155 *
    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().
    157157 * @param   pszUri              The URI passed to RTUriParse when producing the
    158158 *                              info in @a pParsed.
     
    165165 * Extract the username out of the authority component in a parsed URI.
    166166 *
    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().
    168168 * @param   pszUri              The URI passed to RTUriParse when producing the
    169169 *                              info in @a pParsed.
     
    178178 * Extract the password out of the authority component in a parsed URI.
    179179 *
    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().
    181181 * @param   pszUri              The URI passed to RTUriParse when producing the
    182182 *                              info in @a pParsed.
     
    191191 * Extract the host out of the authority component in a parsed URI.
    192192 *
    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().
    194194 * @param   pszUri              The URI passed to RTUriParse when producing the
    195195 *                              info in @a pParsed.
     
    214214 * Extract the path out of a parsed URI.
    215215 *
    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().
    217217 * @param   pszUri              The URI passed to RTUriParse when producing the
    218218 *                              info in @a pParsed.
     
    224224 * Extract the query out of a parsed URI.
    225225 *
    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().
    227227 * @param   pszUri              The URI passed to RTUriParse when producing the
    228228 *                              info in @a pParsed.
     
    234234 * Extract the fragment out of a parsed URI.
    235235 *
    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().
    237237 * @param   pszUri              The URI passed to RTUriParse when producing the
    238238 *                              info in @a pParsed.
     
    246246 * Creates a generic URI.
    247247 *
    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().
    251249 * @param   pszScheme           The URI scheme.
    252250 * @param   pszAuthority        The authority part of the URI (optional).
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette