Changeset 46980 in vbox for trunk/include/iprt/manifest.h
- Timestamp:
- Jul 4, 2013 11:38:28 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/manifest.h
r45227 r46980 61 61 typedef enum RTDIGESTTYPE 62 62 { 63 /** unknown digest*/64 RTDIGESTTYPE_ UNKNOWN,65 /** CRC32 checksum */66 RTDIGESTTYPE_CRC32 = 1,67 /** CRC64 checksum */63 /** Invalid digest value. */ 64 RTDIGESTTYPE_INVALID = 0, 65 /** CRC32 checksum. */ 66 RTDIGESTTYPE_CRC32, 67 /** CRC64 checksum. */ 68 68 RTDIGESTTYPE_CRC64, 69 /** MD5 checksum (unsafe!) */69 /** MD5 checksum (unsafe!). */ 70 70 RTDIGESTTYPE_MD5, 71 /** SHA1 checksum (unsafe!) */71 /** SHA1 checksum (unsafe!). */ 72 72 RTDIGESTTYPE_SHA1, 73 /** SHA256 checksum */73 /** SHA256 checksum. */ 74 74 RTDIGESTTYPE_SHA256, 75 /** SHA512 checksum */ 76 RTDIGESTTYPE_SHA512 75 /** SHA512 checksum. */ 76 RTDIGESTTYPE_SHA512, 77 /** Usual 32-bit type blowup. */ 78 RTDIGESTTYPE_32BIT_HACK = 0x7fffffff 77 79 } RTDIGESTTYPE; 78 80 /** @} */ … … 448 450 * VERR_MANIFEST_DIGEST_MISMATCH error case 449 451 * (optional). 452 * @deprecated Use the RTMANIFEST based API instead. 450 453 */ 451 454 RTR3DECL(int) RTManifestVerify(const char *pszManifestFile, PRTMANIFESTTEST paTests, size_t cTests, size_t *piFailed); … … 465 468 * @param pfnProgressCallback optional callback for the progress indication 466 469 * @param pvUser user defined pointer for the callback 470 * @deprecated Use the RTMANIFEST based API instead. 467 471 */ 468 472 RTR3DECL(int) RTManifestVerifyFiles(const char *pszManifestFile, const char * const *papszFiles, size_t cFiles, size_t *piFailed, … … 482 486 * @param pfnProgressCallback optional callback for the progress indication 483 487 * @param pvUser user defined pointer for the callback 488 * @deprecated Use the RTMANIFEST based API instead. 484 489 */ 485 490 RTR3DECL(int) RTManifestWriteFiles(const char *pszManifestFile, RTDIGESTTYPE enmDigestType, … … 488 493 489 494 /** 490 * Verify the type of digest in the manifest file in memory.495 * Queries the first digest type found in the given manifest. 491 496 * 492 497 * @returns iprt status code. … … 494 499 * @param pvBuf Pointer to memory buffer of the manifest file. 495 500 * @param cbSize Size of the memory buffer. 496 * VERR_MANIFEST_DIGEST_MISMATCH error case497 * (optional).498 * @ param digestType digest type499 */ 500 RTR3DECL(int) RTManifestVerifyDigestType(void *pvBuf, size_t cbSize, RTDIGESTTYPE &digestType);501 * @param penmDigestType Where to return the first digest type found in 502 * the manifest. 503 * @deprecated Use the RTMANIFEST based API instead. 504 */ 505 RTR3DECL(int) RTManifestVerifyDigestType(void const *pvBuf, size_t cbSize, RTDIGESTTYPE *penmDigestType); 501 506 502 507 /** … … 513 518 * VERR_MANIFEST_DIGEST_MISMATCH error case 514 519 * (optional). 520 * @deprecated Use the RTMANIFEST based API instead. 515 521 */ 516 522 RTR3DECL(int) RTManifestVerifyFilesBuf(void *pvBuf, size_t cbSize, PRTMANIFESTTEST paTests, size_t cTests, size_t *piFailed); … … 528 534 * @param paFiles Array of file names and digests. 529 535 * @param cFiles Number of entries in paFiles. 536 * @deprecated Use the RTMANIFEST based API instead. 530 537 */ 531 538 RTR3DECL(int) RTManifestWriteFilesBuf(void **ppvBuf, size_t *pcbSize, RTDIGESTTYPE enmDigestType, PRTMANIFESTTEST paFiles, size_t cFiles);
Note:
See TracChangeset
for help on using the changeset viewer.