diff options
author | Tim Potter <tpot@samba.org> | 2002-04-09 04:22:27 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-04-09 04:22:27 +0000 |
commit | cc29c33fbe604bf2d750926df6fbd6b88e7a0be1 (patch) | |
tree | bc7d015a2ffc085052d77feeb44d452b81c3911f | |
parent | b408c4c5c0412eeb04d78ab943b65af096f4174f (diff) | |
download | samba-cc29c33fbe604bf2d750926df6fbd6b88e7a0be1.tar.gz samba-cc29c33fbe604bf2d750926df6fbd6b88e7a0be1.tar.bz2 samba-cc29c33fbe604bf2d750926df6fbd6b88e7a0be1.zip |
Added constants for form types and WERROR values.
(This used to be commit 5ef5e805d5f51f6fc4cfcfea7f17adc8d1f6f6eb)
-rw-r--r-- | source3/python/py_spoolss.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c index 7c30880a91..11d35b760e 100644 --- a/source3/python/py_spoolss.c +++ b/source3/python/py_spoolss.c @@ -313,6 +313,44 @@ struct spoolss_const { { "PRINTER_ENUM_SHARED", PRINTER_ENUM_SHARED }, { "PRINTER_ENUM_NETWORK", PRINTER_ENUM_NETWORK }, + /* Form types */ + + { "FORM_USER", FORM_USER }, + { "FORM_BUILTIN", FORM_BUILTIN }, + { "FORM_PRINTER", FORM_PRINTER }, + + /* WERRORs */ + + { "WERR_OK", 0 }, + { "WERR_BADFILE", 2 }, + { "WERR_ACCESS_DENIED", 5 }, + { "WERR_BADFID", 6 }, + { "WERR_BADFUNC", 1 }, + { "WERR_INSUFFICIENT_BUFFER", 122 }, + { "WERR_NO_SUCH_SHARE", 67 }, + { "WERR_ALREADY_EXISTS", 80 }, + { "WERR_INVALID_PARAM", 87 }, + { "WERR_NOT_SUPPORTED", 50 }, + { "WERR_BAD_PASSWORD", 86 }, + { "WERR_NOMEM", 8 }, + { "WERR_INVALID_NAME", 123 }, + { "WERR_UNKNOWN_LEVEL", 124 }, + { "WERR_OBJECT_PATH_INVALID", 161 }, + { "WERR_NO_MORE_ITEMS", 259 }, + { "WERR_MORE_DATA", 234 }, + { "WERR_UNKNOWN_PRINTER_DRIVER", 1797 }, + { "WERR_INVALID_PRINTER_NAME", 1801 }, + { "WERR_PRINTER_ALREADY_EXISTS", 1802 }, + { "WERR_INVALID_DATATYPE", 1804 }, + { "WERR_INVALID_ENVIRONMENT", 1805 }, + { "WERR_INVALID_FORM_SIZE", 1903 }, + { "WERR_BUF_TOO_SMALL", 2123 }, + { "WERR_JOB_NOT_FOUND", 2151 }, + { "WERR_DEST_NOT_FOUND", 2152 }, + { "WERR_NOT_LOCAL_DOMAIN", 2320 }, + { "WERR_PRINTER_DRIVER_IN_USE", 3001 }, + { "WERR_STATUS_MORE_ENTRIES ", 0x0105 }, + { NULL }, }; |