Changeset 7770 for trunk/psModules/src/detrend/pmDetrendDB.h
- Timestamp:
- Jun 30, 2006, 2:00:11 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmDetrendDB.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmDetrendDB.h
r7589 r7770 14 14 * @author EAM, IfA 15 15 * 16 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $17 * @date $Date: 2006-0 6-17 01:50:43$16 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2006-07-01 00:00:11 $ 18 18 * 19 19 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii … … 66 66 char *pmDetrendFile (char *detID, char *classID); 67 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); 97 68 98 # endif
Note:
See TracChangeset
for help on using the changeset viewer.
