Changeset 68496 in vbox
- Timestamp:
- Aug 22, 2017 8:24:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/checksum/manifest2.cpp
r66080 r68496 167 167 168 168 /** 169 * Argument package used by rtMa infestQueryAttrWorker to pass its search170 * criteria to rtMa infestQueryAttrEnumCallback and get a result back.169 * Argument package used by rtManifestQueryAttrWorker to pass its search 170 * criteria to rtManifestQueryAttrEnumCallback and get a result back. 171 171 */ 172 172 typedef struct RTMANIFESTQUERYATTRARGS … … 177 177 PRTMANIFESTATTR pAttr; 178 178 } RTMANIFESTQUERYATTRARGS; 179 /** Pointer to a rtMa infestQueryAttrEnumCallback argument packet. */179 /** Pointer to a rtManifestQueryAttrEnumCallback argument packet. */ 180 180 typedef RTMANIFESTQUERYATTRARGS *PRTMANIFESTQUERYATTRARGS; 181 181 … … 795 795 * @param pvUser The argument package. 796 796 */ 797 static DECLCALLBACK(int) rtMa infestQueryAttrEnumCallback(PRTSTRSPACECORE pStr, void *pvUser)797 static DECLCALLBACK(int) rtManifestQueryAttrEnumCallback(PRTSTRSPACECORE pStr, void *pvUser) 798 798 { 799 799 PRTMANIFESTATTR pAttr = (PRTMANIFESTATTR)pStr; … … 846 846 Args.fType = fType; 847 847 Args.pAttr = NULL; 848 int rc = RTStrSpaceEnumerate(&pEntry->Attributes, rtMa infestQueryAttrEnumCallback, &Args);848 int rc = RTStrSpaceEnumerate(&pEntry->Attributes, rtManifestQueryAttrEnumCallback, &Args); 849 849 AssertRCReturn(rc, rc); 850 850 pAttr = Args.pAttr; … … 891 891 * @param pvUser Pointer to type flags (uint32_t). 892 892 */ 893 static DECLCALLBACK(int) rtMa infestQueryAllAttrTypesEnumAttrCallback(PRTSTRSPACECORE pStr, void *pvUser)893 static DECLCALLBACK(int) rtManifestQueryAllAttrTypesEnumAttrCallback(PRTSTRSPACECORE pStr, void *pvUser) 894 894 { 895 895 PRTMANIFESTATTR pAttr = (PRTMANIFESTATTR)pStr; … … 908 908 * @param pvUser Pointer to type flags (uint32_t). 909 909 */ 910 static DECLCALLBACK(int) rtMa infestQueryAllAttrTypesEnumEntryCallback(PRTSTRSPACECORE pStr, void *pvUser)910 static DECLCALLBACK(int) rtManifestQueryAllAttrTypesEnumEntryCallback(PRTSTRSPACECORE pStr, void *pvUser) 911 911 { 912 912 PRTMANIFESTENTRY pEntry = RT_FROM_MEMBER(pStr, RTMANIFESTENTRY, StrCore); 913 return RTStrSpaceEnumerate(&pEntry->Attributes, rtMa infestQueryAllAttrTypesEnumAttrCallback, pvUser);913 return RTStrSpaceEnumerate(&pEntry->Attributes, rtManifestQueryAllAttrTypesEnumAttrCallback, pvUser); 914 914 } 915 915 … … 923 923 924 924 *pfTypes = 0; 925 int rc = RTStrSpaceEnumerate(&pThis->Entries, rtMa infestQueryAllAttrTypesEnumEntryCallback, pfTypes);925 int rc = RTStrSpaceEnumerate(&pThis->Entries, rtManifestQueryAllAttrTypesEnumEntryCallback, pfTypes); 926 926 if (RT_SUCCESS(rc) && fEntriesOnly) 927 rc = rtMa infestQueryAllAttrTypesEnumAttrCallback(&pThis->SelfEntry.StrCore, pfTypes);927 rc = rtManifestQueryAllAttrTypesEnumAttrCallback(&pThis->SelfEntry.StrCore, pfTypes); 928 928 return VINF_SUCCESS; 929 929 }
Note:
See TracChangeset
for help on using the changeset viewer.