Changeset 8665 for trunk/ippdb/tests/pop.c
- Timestamp:
- Aug 28, 2006, 6:44:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/pop.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/pop.c
r8543 r8665 433 433 psDB *dbh; 434 434 char exp_id[256]; 435 char recipe[256];436 435 psS32 p1_version; 437 436 psS32 p2_version; … … 442 441 } 443 442 444 if (!p2DoneExpPop(dbh, (char **)&exp_id, (char **)&recipe, &p1_version, &p2_version)) { 445 exit(EXIT_FAILURE); 446 } 447 448 psDBCleanup(dbh); 449 } 450 451 { 452 psDB *dbh; 453 char exp_id[256]; 454 char class_id[256]; 455 char uri[256]; 456 char recipe[256]; 443 if (!p2ProcessedExpPop(dbh, (char **)&exp_id, &p1_version, &p2_version)) { 444 exit(EXIT_FAILURE); 445 } 446 447 psDBCleanup(dbh); 448 } 449 450 { 451 psDB *dbh; 452 char exp_id[256]; 453 char class_id[256]; 454 char uri[256]; 455 char recipe[256]; 456 psF64 bg; 457 psF64 bg_stdev; 458 psF64 bg_mean_stdev; 459 char b1_uri[256]; 460 char b2_uri[256]; 457 461 psS32 p1_version; 458 462 psS32 p2_version; … … 463 467 } 464 468 465 if (!p2DoneImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &p1_version, &p2_version)) { 466 exit(EXIT_FAILURE); 467 } 468 469 psDBCleanup(dbh); 470 } 471 472 { 473 psDB *dbh; 474 char exp_id[256]; 475 char recipe[256]; 469 if (!p2ProcessedImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &bg, &bg_stdev, &bg_mean_stdev, (char **)&b1_uri, (char **)&b2_uri, &p1_version, &p2_version)) { 470 exit(EXIT_FAILURE); 471 } 472 473 psDBCleanup(dbh); 474 } 475 476 { 477 psDB *dbh; 478 char exp_id[256]; 476 479 psS32 p2_version; 477 480 psS32 p3_version; … … 482 485 } 483 486 484 if (!p3PendingExpPop(dbh, (char **)&exp_id, (char **)&recipe,&p2_version, &p3_version)) {487 if (!p3PendingExpPop(dbh, (char **)&exp_id, &p2_version, &p3_version)) { 485 488 exit(EXIT_FAILURE); 486 489 }
Note:
See TracChangeset
for help on using the changeset viewer.
