Changeset 9433 for trunk/psModules/src/detrend/pmDetrendDB.h
- Timestamp:
- Oct 9, 2006, 3:02:25 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmDetrendDB.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmDetrendDB.h
r7770 r9433 14 14 * @author EAM, IfA 15 15 * 16 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $17 * @date $Date: 2006- 07-01 00:00:11$16 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2006-10-10 01:02:25 $ 18 18 * 19 19 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii … … 47 47 typedef struct 48 48 { 49 char *detID; // identifier of detrend image49 char *detID; // identifier of detrend run 50 50 pmFPALevel level; // level in FPA hierarchy of individual file 51 51 } … … 61 61 psString pmDetrendTypeToString (pmDetrendType type); 62 62 63 pmDetrendSelectOptions *pmDetrendSelectOptionsAlloc(c har *camera, psTime time, pmDetrendType type);63 pmDetrendSelectOptions *pmDetrendSelectOptionsAlloc(const char *camera, psTime time, pmDetrendType type); 64 64 pmDetrendSelectResults *pmDetrendSelectResultsAlloc(); 65 pmDetrendSelectResults *pmDetrendSelect (pmDetrendSelectOptions *options); 66 char *pmDetrendFile (char *detID, char *classID); 67 68 // move these to pslib?? 69 typedef struct 70 { 71 int stdin; 72 int stdout; 73 int stderr; 74 } 75 psPipe; 76 77 typedef struct 78 { 79 char *data; 80 int nAlloc; // current size of allocated buffer 81 int nReset; // size to set buffer after flush 82 int nBlock; // number of bytes to try to read at a time 83 int n; // current size of filled data 84 } 85 psIOBuffer; 86 87 // psIOBuffer functions 88 psIOBuffer *psIOBufferAlloc (int nBuffer); 89 bool psIOBufferFlush (psIOBuffer *buffer); 90 int psIOBufferRead (psIOBuffer *buffer, int fd); 91 int psIOBufferReadEmpty (psIOBuffer *buffer, int maxRetries, int fd); 92 93 // psPipe functions 94 psPipe *psPipeAlloc (); 95 psPipe *psPipeOpen (char *command); 96 bool psPipeClose (psPipe *pipe); 65 pmDetrendSelectResults *pmDetrendSelect (const pmDetrendSelectOptions *options); 66 char *pmDetrendFile (const char *detID, const char *classID); 97 67 98 68 # endif
Note:
See TracChangeset
for help on using the changeset viewer.
