IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 24, 2010, 3:02:57 PM (16 years ago)
Author:
Paul Price
Message:

Merging (reintegrating) branches/pap (background restoration).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippTools/src

    • Property svn:ignore
      •  

        old new  
        3939warptool
        4040staticskytool
        41 
         41bgtool
        4242diffphottool
  • trunk/ippTools/src/pxtools.c

    r28321 r28486  
    4848}
    4949
     50bool 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
    5060psString pxMergeCodeVersions(psString version1, psString version2)
    5161{
     
    211221
    212222// change the value for tableName.columName from 'full' to 'cleaned' if necessary
    213 bool pxSetStateCleaned(const psString tableName, const psString columnName, psArray *rows)
     223bool pxSetStateCleaned(const char *tableName, const char *columnName, psArray *rows)
    214224{
    215225    for (long i = 0; i < psArrayLength(rows); i++) {
    216226        psMetadata *row = rows->data[i];
    217         psString state = psMetadataLookupStr(NULL, row, columnName);
     227        const char *state = psMetadataLookupStr(NULL, row, columnName);
    218228        if (!state) {
    219229            psError(PS_ERR_PROGRAMMING, false, "%s not found in row %ld of table %s",
Note: See TracChangeset for help on using the changeset viewer.