[Sumover-dev] [svn commit] r3963 - common/trunk/src

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Feb 9 17:06:08 GMT 2007


Author: piers
Date: Fri Feb  9 17:06:20 2007
New Revision: 3963

Modified:
   common/trunk/src/mbus.h

Log:
Added Textual descriptions of mbus error messages so they're more useful to users.

Modified: common/trunk/src/mbus.h
==============================================================================
--- common/trunk/src/mbus.h	(original)
+++ common/trunk/src/mbus.h	Fri Feb  9 17:06:20 2007
@@ -40,6 +40,15 @@
 #define MBUS_MESSAGE_LOST           1
 #define MBUS_DESTINATION_UNKNOWN    2
 #define MBUS_DESTINATION_NOT_UNIQUE 3
+#define MBUS_ERR_MAX		    4
+
+static char *mbus_errlist[] = {
+"MBUS_OK",
+"MBUS_MESSAGE_LOST",
+"MBUS_DESTINATION_UNKNOWN",
+"MBUS_DESTINATION_NOT_UNIQUE",
+"MBUS_UNKOWN_ERR"
+};
 
 struct mbus;
 



More information about the Sumover-dev mailing list