IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 26, 2008, 1:25:45 PM (18 years ago)
Author:
jhoblitt
Message:

implement -addexp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/flatcorr.c

    r16660 r16661  
    299299    PS_ASSERT_PTR_NON_NULL(config, false);
    300300
     301    // required
     302    PXOPT_LOOKUP_STR(corr_id, config->args, "-corr_id", true, false);
     303    PXOPT_LOOKUP_STR(chip_id, config->args, "-chip_id", true, false);
     304
     305    if (!flatcorrExpInsert(config->dbh,
     306            (psS64)atoll(corr_id),
     307            (psS64)atoll(chip_id)
     308        )) {
     309        psError(PS_ERR_UNKNOWN, false, "database error");
     310        return false;
     311    }
     312
    301313    return true;
    302314}
Note: See TracChangeset for help on using the changeset viewer.