IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 1, 2006, 3:05:04 PM (20 years ago)
Author:
Paul Price
Message:

Updating to use psModules head --- pmConfigRead changed, and pmConfigDB

File:
1 edited

Legend:

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

    r7024 r7027  
    1515
    1616    // setup site config
    17     if (! pmConfigRead(&config->site, &config->camera, &config->recipe,
    18         &argc, argv, RECIPE)) {
     17    config->modules = pmConfigRead(&argc, argv);
     18    if (!config->modules) {
    1919        psError(PS_ERR_UNKNOWN, false, "Can't find site configuration!\n");
    2020        exit(EXIT_FAILURE);
     
    8989        config->mode = PX_MODE_DEFINE;
    9090    }
    91    
     91
    9292    // parse CLI for these options
    9393    psMetadata *argSet = NULL;
     
    125125        exit(EXIT_FAILURE);
    126126    }
    127    
     127
    128128    psFree(args);
    129129    psFree(pendingArgs);
     
    192192
    193193    // define Database handle, if used
    194     config->dbh = pmConfigDB(config->site);
     194    config->dbh = pmConfigDB(config->modules);
    195195
    196196    return config;
    197 } 
     197}
Note: See TracChangeset for help on using the changeset viewer.