IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 5, 2006, 11:32:26 AM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.47

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/pop.c

    r9242 r9301  
    500500    {
    501501        psDB            *dbh;
     502        char            exp_tag[256];
     503        char            uri[256];
     504        char            recipe[256];
     505        psF64           bg;
     506        psF64           bg_stdev;
     507        psF64           bg_mean_stdev;
     508        psF32           sigma_ra;
     509        psF32           sigma_dec;
     510        psS32           nastro;
     511        char            b1_uri[256];
     512        char            b2_uri[256];
     513        psS32           p2_version;
     514        psS32           p3_version;
     515
     516        dbh = psDBInit("localhost", "test", NULL, "test");
     517        if (!dbh) {
     518            exit(EXIT_FAILURE);
     519        }
     520
     521        if (!p3ProcessedExpPop(dbh, (char **)&exp_tag, (char **)&uri, (char **)&recipe, &bg, &bg_stdev, &bg_mean_stdev, &sigma_ra, &sigma_dec, &nastro, (char **)&b1_uri, (char **)&b2_uri, &p2_version, &p3_version)) {
     522            exit(EXIT_FAILURE);
     523        }
     524
     525        psDBCleanup(dbh);
     526    }
     527
     528    {
     529        psDB            *dbh;
    502530        psS32           iteration;
    503531        char            det_type[256];
Note: See TracChangeset for help on using the changeset viewer.