r5237: Add error code for "class not registered"
authorJelmer Vernooij <jelmer@samba.org>
Sat, 5 Feb 2005 14:40:47 +0000 (14:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:33 +0000 (13:09 -0500)
source/include/doserr.h
source/libcli/util/doserr.c

index 06e0986445997100faadbda6c7776deee80511d1..586ac999973918b4489ec350aae397e7308c46d1 100644 (file)
 #define WERR_PRINT_MONITOR_IN_USE W_ERROR(ERRprintmonitorinuse)
 #define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued)
 
+#define WERR_CLASS_NOT_REGISTERED W_ERROR(0x40154)
+
 
 #ifndef NERR_BASE
 #define NERR_BASE (2100)
index a9acb7335c3aa8e6b287cb9a625122d16a4323df..a584def829545b3af9c1a1486a5f70110850b148 100644 (file)
@@ -86,6 +86,7 @@ static const struct werror_code_struct dos_errs[] =
        { "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE },
        { "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE },
        { "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
+       { "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
        { NULL, W_ERROR(0) }
 };