VirtualBox

Changeset 59567 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Feb 3, 2016 12:17:58 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105374
Message:

RTManifestSetAttr,RTManifestEntrySetAttr: Allow the attribute name to be NULL when there is a distinctive fType value given.

File:
1 edited

Legend:

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

    r57926 r59567  
    143143 *
    144144 * @returns IPRT status code.
    145  * @param   hManifest           The manifest handle.
    146  * @param   pszAttr             The attribute name.  If this already exists,
    147  *                              its value will be replaced.
    148  * @param   pszValue            The value string.
    149  * @param   fType               The attribute type, pass
    150  *                              RTMANIFEST_ATTR_UNKNOWN if not known.
     145 * @param   hManifest   The manifest handle.
     146 * @param   pszAttr     The attribute name, if NULL it will be termined from  @a
     147 *                      fType gives it. If this already exists, its value will
     148 *                      be replaced.
     149 * @param   pszValue    The value string.
     150 * @param   fType       The attribute type.  If not know, pass
     151 *                      RTMANIFEST_ATTR_UNKNOWN with a valid attribute
     152 *                      name string (@a pszAttr).
    151153 */
    152154RTDECL(int) RTManifestSetAttr(RTMANIFEST hManifest, const char *pszAttr, const char *pszValue, uint32_t fType);
     
    191193 *
    192194 * @returns IPRT status code.
    193  * @param   hManifest           The manifest handle.
    194  * @param   pszEntry            The entry name.  This will automatically be
    195  *                              added if there was no previous call to
    196  *                              RTManifestEntryAdd for this name.  See
    197  *                              RTManifestEntryAdd for the entry name rules.
    198  * @param   pszAttr             The attribute name.  If this already exists,
    199  *                              its value will be replaced.
    200  * @param   pszValue            The value string.
    201  * @param   fType               The attribute type, pass
    202  *                              RTMANIFEST_ATTR_UNKNOWN if not known.
     195 * @param   hManifest   The manifest handle.
     196 * @param   pszEntry    The entry name.  This will automatically be
     197 *                      added if there was no previous call to
     198 *                      RTManifestEntryAdd for this name.  See
     199 *                      RTManifestEntryAdd for the entry name rules.
     200 * @param   pszAttr     The attribute name, if NULL it will be termined from  @a
     201 *                      fType gives it. If this already exists, its value will
     202 *                      be replaced.
     203 * @param   pszValue    The value string.
     204 * @param   fType       The attribute type.  If not know, pass
     205 *                      RTMANIFEST_ATTR_UNKNOWN with a valid attribute
     206 *                      name string (@a pszAttr).
    203207 */
    204208RTDECL(int) RTManifestEntrySetAttr(RTMANIFEST hManifest, const char *pszEntry, const char *pszAttr,
Note: See TracChangeset for help on using the changeset viewer.

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