Index: trunk/archive/pslib/include/psError.h
===================================================================
--- trunk/archive/pslib/include/psError.h	(revision 456)
+++ trunk/archive/pslib/include/psError.h	(revision 565)
@@ -8,5 +8,11 @@
  * This initialisation is machine-generated from psError.dat
  */
+#include <stdarg.h>
 #include "psErrorCodes.h"
+
+typedef struct {
+    psErrorCode code;			// An error code
+    char *descrip;			// the associated description
+} psErrorDescription;
 
 typedef struct {
@@ -29,4 +35,7 @@
     );
 
+void p_psErrorRegister(const psErrorDescription *errors, ///< register a set of errors
+		       int nerror);		       ///< number of errors
+
 const psErr *psGetError(int which);	// return specified error (or an "error" with code PS_ERR_NONE)
 const psErr *psLastError(void);		// return last error (or an "error" with code PS_ERR_NONE)
