IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 30, 2006, 6:00:06 PM (20 years ago)
Author:
Paul Price
Message:

Rearranging header files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageOptions.c

    r6064 r6260  
    1 #include "ppImage.h"
     1#include <stdio.h>
     2#include "pslib.h"
     3#include "ppConfig.h"
     4#include "ppImageData.h"
     5#include "ppImageOptions.h"
     6
     7static void imageOptionsFree(ppImageOptions *options)
     8{
     9    psFree(options->overscan);
     10    psFree(options->nonLinearData);
     11    psFree(options->nonLinearSource);
     12}
     13
     14ppImageOptions *ppImageOptionsAlloc(void)
     15{
     16    ppImageOptions *options = psAlloc(sizeof(ppImageOptions));
     17    psMemSetDeallocator(options, (psFreeFunc)imageOptionsFree);
     18
     19    // Initialise options
     20    options->overscan = NULL;
     21    options->nonLinearData = NULL;
     22    options->nonLinearSource = NULL;
     23
     24    return options;
     25}
     26
    227
    328// XXX EAM : this needs signficant work to choose the detrend images based on the detrend database
    429
    5 bool ppImageOptions(ppData *data, ppOptions *options, ppConfig *config)
     30bool ppImageOptionsParse(ppImageData *data, ppImageOptions *options, ppConfig *config)
    631{
    732
Note: See TracChangeset for help on using the changeset viewer.