Author: jelmer Date: 2005-02-05 14:40:47 +0000 (Sat, 05 Feb 2005) New Revision: 5237
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5237 Log: Add error code for "class not registered" Modified: branches/SAMBA_4_0/source/include/doserr.h branches/SAMBA_4_0/source/libcli/util/doserr.c Changeset: Modified: branches/SAMBA_4_0/source/include/doserr.h =================================================================== --- branches/SAMBA_4_0/source/include/doserr.h 2005-02-04 23:30:27 UTC (rev 5236) +++ branches/SAMBA_4_0/source/include/doserr.h 2005-02-05 14:40:47 UTC (rev 5237) @@ -221,7 +221,9 @@ #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) #endif Modified: branches/SAMBA_4_0/source/libcli/util/doserr.c =================================================================== --- branches/SAMBA_4_0/source/libcli/util/doserr.c 2005-02-04 23:30:27 UTC (rev 5236) +++ branches/SAMBA_4_0/source/libcli/util/doserr.c 2005-02-05 14:40:47 UTC (rev 5237) @@ -86,6 +86,7 @@ { "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) } };