Index: trunk/psLib/src/sysUtils/psError.h
===================================================================
--- trunk/psLib/src/sysUtils/psError.h	(revision 1448)
+++ trunk/psLib/src/sysUtils/psError.h	(revision 1683)
@@ -1,3 +1,2 @@
-
 /** @file  psError.h
  *
@@ -13,6 +12,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-10 01:55:34 $
+ *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-02 22:23:20 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -22,7 +21,26 @@
 #define PS_ERROR_H
 
+#include<stdio.h>
+
+#include "psErrorCodes.h"
+
 /** @addtogroup ErrorHandling
  *  @{
  */
+
+typedef struct
+{
+    char *name;                        ///< category of code that caused the error
+    psErrorCode code;                  ///< class of error
+    char *msg;                         ///< the message associated with the error
+}
+psErr;
+
+const psErr *psErrorGet(int which);
+const psErr *psErrorLast(void);
+void psErrorClear(void);
+
+void psErrorStackPrint(FILE *fd, const char *fmt, ...);
+void psErrorStackPrintV(FILE *fd, const char *fmt, va_list va);
 
 /** Reports an error message to the logging facility
