IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 1, 2006, 6:04:08 PM (20 years ago)
Author:
jhoblitt
Message:

put struct pxConfig on a diet

File:
1 edited

Legend:

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

    r7671 r8060  
    1515
    1616    config->mode            = PX_MODE_NONE;
    17     config->camera_name     = NULL;
    18     config->telescope       = NULL;
    19     config->exp_type        = NULL;
    20     config->filter          = NULL;
    2117    config->dbh             = NULL;
    2218    config->modules         = NULL;
    23     config->exp_id          = NULL;
    24     config->class           = NULL;
    25     config->class_id        = NULL;
    26     config->uri             = NULL;
    2719    config->where           = NULL;
    2820    config->args            = NULL;
     
    3325static void pxConfigFree(pxConfig *config)
    3426{
    35     psFree(config->camera_name);
    36     psFree(config->telescope);
    37     psFree(config->exp_type);
    38     psFree(config->filter);
    3927    psDBCleanup(config->dbh);
    4028    psFree(config->modules);
    41     psFree(config->exp_id);
    42     psFree(config->class);
    43     psFree(config->class_id);
    44     psFree(config->uri);
    4529    psFree(config->where);
    4630    psFree(config->args);
Note: See TracChangeset for help on using the changeset viewer.