summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-09 05:11:34 +0000
committerTim Potter <tpot@samba.org>2002-04-09 05:11:34 +0000
commit416165a52c432d722a12b99e0cf1fb3cbb521f86 (patch)
treeefedc412f862d2ffcf9f5cdcb882ddb8a076f736 /source3
parent5cdc9e1685200a51aa970051057eb6da8221845e (diff)
downloadsamba-416165a52c432d722a12b99e0cf1fb3cbb521f86.tar.gz
samba-416165a52c432d722a12b99e0cf1fb3cbb521f86.tar.bz2
samba-416165a52c432d722a12b99e0cf1fb3cbb521f86.zip
Added WERR_INVALID_FORM_NAME constant.
(This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/doserr.h1
-rw-r--r--source3/libsmb/doserr.c1
-rw-r--r--source3/python/py_spoolss.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index 11103b2b0c..4945bc69d7 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -169,6 +169,7 @@
#define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802)
#define WERR_INVALID_DATATYPE W_ERROR(1804)
#define WERR_INVALID_ENVIRONMENT W_ERROR(1805)
+#define WERR_INVALID_FORM_NAME W_ERROR(1902)
#define WERR_INVALID_FORM_SIZE W_ERROR(1903)
#define WERR_BUF_TOO_SMALL W_ERROR(2123)
#define WERR_JOB_NOT_FOUND W_ERROR(2151)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index 5e9da2fc49..adc001bf29 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -52,6 +52,7 @@ werror_code_struct dos_errs[] =
{ "WERR_PRINTER_ALREADY_EXISTS", WERR_PRINTER_ALREADY_EXISTS },
{ "WERR_INVALID_DATATYPE", WERR_INVALID_DATATYPE },
{ "WERR_INVALID_ENVIRONMENT", WERR_INVALID_ENVIRONMENT },
+ { "WERR_INVALID_FORM_NAME", WERR_INVALID_FORM_NAME },
{ "WERR_INVALID_FORM_SIZE", WERR_INVALID_FORM_SIZE },
{ "WERR_BUF_TOO_SMALL", WERR_BUF_TOO_SMALL },
{ "WERR_JOB_NOT_FOUND", WERR_JOB_NOT_FOUND },
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c
index 11d35b760e..15d9dfdf96 100644
--- a/source3/python/py_spoolss.c
+++ b/source3/python/py_spoolss.c
@@ -343,6 +343,7 @@ struct spoolss_const {
{ "WERR_PRINTER_ALREADY_EXISTS", 1802 },
{ "WERR_INVALID_DATATYPE", 1804 },
{ "WERR_INVALID_ENVIRONMENT", 1805 },
+ { "WERR_INVALID_FORM_NAME", 1902 },
{ "WERR_INVALID_FORM_SIZE", 1903 },
{ "WERR_BUF_TOO_SMALL", 2123 },
{ "WERR_JOB_NOT_FOUND", 2151 },