Changeset 21754 in vbox
- Timestamp:
- Jul 21, 2009 3:18:06 PM (16 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/manifest.h
r21751 r21754 36 36 RT_C_DECLS_BEGIN 37 37 38 /** @ group grp_rt_manifest RTManifest - Manifest file creation and checking.38 /** @defgroup grp_rt_manifest RTManifest - Manifest file creation and checking 39 39 * @ingroup grp_rt 40 40 * @{ … … 42 42 43 43 /** 44 * Input structure for RTManifestVerify which contains the filename & the SHA145 * digest.44 * Input structure for RTManifestVerify() which contains the filename & the 45 * SHA1 digest. 46 46 */ 47 47 typedef struct RTMANIFESTTEST 48 48 { 49 char *pszTestFile; /** The filename */ 50 char *pszTestDigest; /** The SHA1 digest of the file */ 49 /** The filename. */ 50 char *pszTestFile; 51 /** The SHA1 digest of the file. */ 52 char *pszTestDigest; 51 53 } RTMANIFESTTEST; 52 54 /** Pointer to the input structure. */ … … 56 58 * Verify the given SHA1 digests to the entries in the manifest file. 57 59 * 58 * Please note that not only the various digest have to much, but the filenames 59 * as well. If there are more or even less files listed in the manifest file 60 * than provided by pTestList, VERR_MANIFEST_FILE_MISMATCH will be returned. 60 * Please note that not only the various digest have to match, but the 61 * filenames as well. If there are more or even less files listed in the 62 * manifest file than provided by paTests, VERR_MANIFEST_FILE_MISMATCH will be 63 * returned. 61 64 * 62 65 * @returns VBox status code. 63 66 * 64 67 * @param pszManifestFile Filename of the manifest file to verify. 65 * @param p TestList Listof files & SHA1 sums.66 * @param cTests Number of entries in p TestList67 * @param piFailed A index to p TestListin the68 * @param paTests Array of files & SHA1 sums. 69 * @param cTests Number of entries in paTests. 70 * @param piFailed A index to paTests in the 68 71 * VERR_MANIFEST_DIGEST_MISMATCH error case 69 72 * (optional). 70 73 */ 71 RTR3DECL(int) RTManifestVerify(const char *pszManifestFile, PRTMANIFESTTEST p TestList, size_t cTests, size_t *piFailed);74 RTR3DECL(int) RTManifestVerify(const char *pszManifestFile, PRTMANIFESTTEST paTests, size_t cTests, size_t *piFailed); 72 75 73 76 /** 74 * This is analogous to function RTManifestVerify , but calculates the SHA1 sums75 * of the given files itself.77 * This is analogous to function RTManifestVerify(), but calculates the SHA1 78 * sums of the given files itself. 76 79 * 77 80 * @returns VBox status code. 78 81 * 79 82 * @param pszManifestFile Filename of the manifest file to verify. 80 * @param p pszFiles Listof files to check SHA1 sums.83 * @param papszFiles Array of files to check SHA1 sums. 81 84 * @param cFiles Number of entries in ppszFiles. 82 85 * @param piFailed A index to ppszFiles in the … … 94 97 * 95 98 * @param pszManifestFile Filename of the manifest file to create. 96 * @param p pszFiles Listof files to create SHA1 sums for.97 * @param cFiles Number of entries in p pszFiles.99 * @param papszFiles Array of files to create SHA1 sums for. 100 * @param cFiles Number of entries in papszFiles. 98 101 */ 99 102 RTR3DECL(int) RTManifestWriteFiles(const char *pszManifestFile, const char * const *papszFiles, size_t cFiles); -
trunk/include/iprt/s3.h
r20374 r21754 36 36 RT_C_DECLS_BEGIN 37 37 38 /** @ group grp_rt_s3 RTS3 - Simple Storage Service (S3) Communication API38 /** @defgroup grp_rt_s3 RTS3 - Simple Storage Service (S3) Communication API 39 39 * @ingroup grp_rt 40 40 * @{ -
trunk/include/iprt/sha1.h
r21750 r21754 35 35 RT_C_DECLS_BEGIN 36 36 37 /** @ group grp_rt_sha1digest RTSHA1Digest - SHA1 digest creation37 /** @defgroup grp_rt_sha1digest RTSha1Digest - SHA1 digest creation 38 38 * @ingroup grp_rt 39 39 * @{
Note:
See TracChangeset
for help on using the changeset viewer.