Index: trunk/psLib/src/sys/psError.h
===================================================================
--- trunk/psLib/src/sys/psError.h	(revision 14452)
+++ trunk/psLib/src/sys/psError.h	(revision 19034)
@@ -12,6 +12,6 @@
  *  @author Joshua Hoblitt, University of Hawaii
  *
- *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-08-09 01:40:07 $
+ *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-08-12 22:53:34 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -138,4 +138,10 @@
     ...                                ///< any parameters required in format
 );
+psErrorCode psErrorV(
+    psErrorCode code,                  ///< Error class code
+    bool new,                          ///< true if error originates at this location
+    const char* format,                ///< printf-style format of header line
+    va_list ap                         ///< any parameters required in format
+);
 #else // ifdef DOXYGEN
 psErrorCode p_psError(
@@ -148,7 +154,16 @@
     ...                                ///< any parameters required in format
 ) PS_ATTR_FORMAT(printf, 6, 7);
+psErrorCode p_psErrorV(
+    const char* filename,              ///< file name
+    unsigned int lineno,               ///< line number in file
+    const char* func,                  ///< function name
+    psErrorCode code,                  ///< Error class code
+    bool new,                          ///< true if error originates at this location
+    const char* format,                ///< printf-style format of header line
+    va_list ap                         ///< any parameters required in format
+  );
 #ifndef SWIG
-#define psError(code,new,...) \
-      p_psError(__FILE__,__LINE__,__func__,code,new,__VA_ARGS__)
+#define psError(code,new,...) p_psError(__FILE__,__LINE__,__func__,code,new,__VA_ARGS__)
+#define psErrorV(code,new,format,ap) p_psErrorV(__FILE__,__LINE__,__func__,code,new,format,ap)
 #endif // ifndef SWIG
 #endif // ifdef DOXYGEN
