VirtualBox

Changeset 34449 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Nov 29, 2010 10:46:43 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68223
Message:

Implemented RTManifestReadStandard and RTManifestReadStandardEx.

Location:
trunk/include/iprt
Files:
3 edited

Legend:

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

    r34435 r34449  
    270270
    271271/**
     272 * Reads in a "standard" manifest.
     273 *
     274 * This reads the format used by OVF, the distinfo in FreeBSD ports, and
     275 * others.
     276 *
     277 * @returns IPRT status code.
     278 * @param   hManifest           The handle to the manifest where to add the
     279 *                              manifest that's read in.
     280 * @param   hVfsIos             The I/O stream to read the manifest from.
     281 * @param   pszErr              Where to return extended error info on failure.
     282 *                              Optional.
     283 * @param   cbErr               The size of the buffer @a pszErr points to.
     284 */
     285RTDECL(int) RTManifestReadStandardEx(RTMANIFEST hManifest, RTVFSIOSTREAM hVfsIos, char *pszErr, size_t cbErr);
     286
     287/**
    272288 * Writes a "standard" manifest.
    273289 *
  • trunk/include/iprt/md5.h

    r33540 r34449  
    3838/** @deprecated Use RTMD5_HASH_SIZE. */
    3939#define RTMD5HASHSIZE       RTMD5_HASH_SIZE
    40 /** Size of a MD5 hash. */
    41 #define RTMD5_STRING_LEN    32
     40/** The length of a MD5 digest string. The terminator is not included. */
     41#define RTMD5_DIGEST_LEN    32
     42/** Size of a MD5 hash.
     43 * @deprecated Use RTMD5_DIGEST_LEN  */
     44#define RTMD5_STRING_LEN    RTMD5_DIGEST_LEN
    4245
    4346/**
  • trunk/include/iprt/sha.h

    r33540 r34449  
    3939#define RTSHA1_HASH_SIZE    20
    4040/** The length of a SHA-1 digest string. The terminator is not included. */
    41 #define RTSHA1_DIGEST_LEN  (40)
     41#define RTSHA1_DIGEST_LEN   40
    4242
    4343/**
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