VirtualBox

Changeset 34535 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 30, 2010 5:46:14 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68326
Message:

Manifest comparison.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r34449 r34535  
    104104 * @param   papszIgnoreEntries  Entries to ignore.  Ends with a NULL entry.
    105105 * @param   papszIgnoreAttrs    Attributes to ignore.  Ends with a NULL entry.
    106  * @param   pszEntry            Where to store the name of the mismatching
     106 * @param   fFlags              A combination of RTMANIFEST_EQUALS_XXX values.
     107 * @param   pszError            Where to store the name of the mismatching
    107108 *                              entry, or as much of the name as there is room
    108109 *                              for.  This is always set.  Optional.
    109  * @param   cbEntry             The size of the buffer pointed to by @a
    110  *                              pszEntry.
     110 * @param   cbError             The size of the buffer pointed to by @a
     111 *                              pszError.
    111112 */
    112113RTDECL(int) RTManifestEqualsEx(RTMANIFEST hManifest1, RTMANIFEST hManifest2, const char * const *papszIgnoreEntries,
    113                                const char * const *papszIgnoreAttr, char *pszEntry, size_t cbEntry);
     114                               const char * const *papszIgnoreAttr, uint32_t fFlags, char *pszError, size_t cbError);
     115
     116/** @defgroup RTMANIFEST_EQUALS_XXX     RTManifestEqualsEx flags
     117 * @{ */
     118/** Ignore missing attributes if there is one or more to compare. */
     119#define RTMANIFEST_EQUALS_IGN_MISSING_ATTRS         RT_BIT_32(0)
     120/** Ignore attributes missing in the 1st manifest.
     121 * @todo implement this  */
     122#define RTMANIFEST_EQUALS_IGN_MISSING_ATTRS_1ST     RT_BIT_32(1)
     123/** Mask of valid flags. */
     124#define RTMANIFEST_EQUALS_VALID_MASK                UINT32_C(0x00000003)
     125/** @}  */
    114126
    115127/**
  • trunk/include/iprt/vfs.h

    r34507 r34535  
    702702RTDECL(RTFOFF)      RTVfsFileTell(RTVFSFILE hVfsFile);
    703703
     704/**
     705 * Changes the current read/write position of a file.
     706 *
     707 * @returns IPRT status code.
     708 *
     709 * @param   hVfsFile        The VFS file handle.
     710 * @param   offSeek         The seek offset.
     711 * @param   uMethod         The seek emthod.
     712 * @param   poffActual      Where to optionally return the new file offset.
     713 *
     714 * @sa      RTFileSeek
     715 */
    704716RTDECL(int)         RTVfsFileSeek(RTVFSFILE hVfsFile, RTFOFF offSeek, uint32_t uMethod, uint64_t *poffActual);
     717
    705718RTDECL(int)         RTVfsFileSetSize(RTVFSFILE hVfsFile, uint64_t cbSize);
    706719RTDECL(int)         RTVfsFileGetSize(RTVFSFILE hVfsFile, uint64_t *pcbSize);
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