IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2006, 5:07:29 PM (20 years ago)
Author:
jhoblitt
Message:

VESION 0.0.23

File:
1 edited

Legend:

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

    r8149 r8228  
    334334        char            class_id[256];
    335335        char            uri[256];
    336 
    337         dbh = psDBInit("localhost", "test", NULL, "test");
    338         if (!dbh) {
    339             exit(EXIT_FAILURE);
    340         }
    341 
    342         if (!rawImfilePop(dbh, (char **)&exp_id, (char **)&class, (char **)&class_id, (char **)&uri)) {
     336        char            filter[256];
     337        psF32           airmass;
     338        psF64           ra;
     339        psF64           decl;
     340        psF32           exp_time;
     341        psF64           bg;
     342        psF64           bg_stdev;
     343        psF64           bg_mean_stdev;
     344        psF64           alt;
     345        psF64           az;
     346        psF32           ccd_temp;
     347        psF64           posang;
     348
     349        dbh = psDBInit("localhost", "test", NULL, "test");
     350        if (!dbh) {
     351            exit(EXIT_FAILURE);
     352        }
     353
     354        if (!rawImfilePop(dbh, (char **)&exp_id, (char **)&class, (char **)&class_id, (char **)&uri, (char **)&filter, &airmass, &ra, &decl, &exp_time, &bg, &bg_stdev, &bg_mean_stdev, &alt, &az, &ccd_temp, &posang)) {
    343355            exit(EXIT_FAILURE);
    344356        }
Note: See TracChangeset for help on using the changeset viewer.