Changeset 28199 for branches/pap/ippTools/src/pxtools.c
- Timestamp:
- Jun 2, 2010, 4:33:05 PM (16 years ago)
- Location:
- branches/pap/ippTools/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippTools/src
- Property svn:ignore
-
old new 39 39 warptool 40 40 staticskytool 41 42 bgtool
-
- Property svn:ignore
-
branches/pap/ippTools/src/pxtools.c
r28109 r28199 48 48 } 49 49 50 bool pxIsValidCleanedState(const char *state) 51 { 52 PS_ASSERT_PTR_NON_NULL(state, false); 53 54 if (!strcmp(state, "cleaned")) return true; 55 if (!strcmp(state, "purged")) return true; 56 if (!strcmp(state, "scrubbed")) return true; 57 return false; 58 } 59 50 60 psString pxMergeCodeVersions(psString version1, psString version2) 51 61 { … … 211 221 212 222 // change the value for tableName.columName from 'full' to 'cleaned' if necessary 213 bool pxSetStateCleaned(const psString tableName, const psStringcolumnName, psArray *rows)223 bool pxSetStateCleaned(const char *tableName, const char *columnName, psArray *rows) 214 224 { 215 225 for (long i = 0; i < psArrayLength(rows); i++) { 216 226 psMetadata *row = rows->data[i]; 217 psStringstate = psMetadataLookupStr(NULL, row, columnName);227 const char *state = psMetadataLookupStr(NULL, row, columnName); 218 228 if (!state) { 219 229 psError(PS_ERR_PROGRAMMING, false, "%s not found in row %ld of table %s",
Note:
See TracChangeset
for help on using the changeset viewer.
