Index: trunk/psModules/src/detrend/pmDetrendDB.h
===================================================================
--- trunk/psModules/src/detrend/pmDetrendDB.h	(revision 7770)
+++ trunk/psModules/src/detrend/pmDetrendDB.h	(revision 9433)
@@ -14,6 +14,6 @@
 *  @author EAM, IfA
 *
-*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2006-07-01 00:00:11 $
+*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2006-10-10 01:02:25 $
 *
 *  Copyright 2004-2005 Institute for Astronomy, University of Hawaii
@@ -47,5 +47,5 @@
 typedef struct
 {
-    char *detID;   // identifier of detrend image
+    char *detID;   // identifier of detrend run
     pmFPALevel level;   // level in FPA hierarchy of individual file
 }
@@ -61,38 +61,8 @@
 psString pmDetrendTypeToString (pmDetrendType type);
 
-pmDetrendSelectOptions *pmDetrendSelectOptionsAlloc(char *camera, psTime time, pmDetrendType type);
+pmDetrendSelectOptions *pmDetrendSelectOptionsAlloc(const char *camera, psTime time, pmDetrendType type);
 pmDetrendSelectResults *pmDetrendSelectResultsAlloc();
-pmDetrendSelectResults *pmDetrendSelect (pmDetrendSelectOptions *options);
-char *pmDetrendFile (char *detID, char *classID);
-
-// move these to pslib??
-typedef struct
-{
-    int stdin;
-    int stdout;
-    int stderr;
-}
-psPipe;
-
-typedef struct
-{
-    char *data;
-    int nAlloc;    // current size of allocated buffer
-    int nReset;    // size to set buffer after flush
-    int nBlock;    // number of bytes to try to read at a time
-    int n;    // current size of filled data
-}
-psIOBuffer;
-
-// psIOBuffer functions
-psIOBuffer *psIOBufferAlloc (int nBuffer);
-bool psIOBufferFlush (psIOBuffer *buffer);
-int psIOBufferRead (psIOBuffer *buffer, int fd);
-int psIOBufferReadEmpty (psIOBuffer *buffer, int maxRetries, int fd);
-
-// psPipe functions
-psPipe *psPipeAlloc ();
-psPipe *psPipeOpen (char *command);
-bool psPipeClose (psPipe *pipe);
+pmDetrendSelectResults *pmDetrendSelect (const pmDetrendSelectOptions *options);
+char *pmDetrendFile (const char *detID, const char *classID);
 
 # endif
