00001 #ifndef ERRSTR_H 00002 #define ERRSTR_H 00003 00004 /* Simple array to translate error codes to meaningful strings */ 00005 00006 static const char *cl_errors[] = { 00007 "Success", 00008 "Failure", 00009 "Busy", 00010 "No Such Entry", 00011 "Not Enough Memory", 00012 "Permission Denied", 00013 "Method Not Supported", 00014 "Bad command or file name", 00015 "Entry already exists", 00016 "Object too large", 00017 NULL 00018 }; 00019 00020 static const char *err2str(int); 00021 00022 #endif 00023