diff options
author | Tim Potter <tpot@samba.org> | 2002-05-08 04:26:22 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-05-08 04:26:22 +0000 |
commit | 1359433ad8c4f66922564a5f9c1bba7a7b2563e5 (patch) | |
tree | 99c8783264087aca7c3924603992b54cdee04a49 /source3/python/py_spoolss.c | |
parent | 8e917f27f2d54180829696d23073f671df5b9216 (diff) | |
download | samba-1359433ad8c4f66922564a5f9c1bba7a7b2563e5.tar.gz |
Added setjob() command.
(This used to be commit 02c63de9e58f9806e58d3862391e05e9b9cdb8fc)
Diffstat (limited to 'source3/python/py_spoolss.c')
-rw-r--r-- | source3/python/py_spoolss.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c index b1c70f9d4e..51e128ecc0 100644 --- a/source3/python/py_spoolss.c +++ b/source3/python/py_spoolss.c @@ -191,6 +191,9 @@ Set the form given by the dictionary argument. { "enumjobs", spoolss_enumjobs, METH_VARARGS | METH_KEYWORDS, "Enumerate jobs" }, + { "setjob", spoolss_setjob, METH_VARARGS | METH_KEYWORDS, + "Set job command" }, + { NULL } }; @@ -325,6 +328,14 @@ struct spoolss_const { { "WERR_PRINTER_DRIVER_IN_USE", 3001 }, { "WERR_STATUS_MORE_ENTRIES ", 0x0105 }, + /* Job control constants */ + + { "JOB_CONTROL_PAUSE", JOB_CONTROL_PAUSE }, + { "JOB_CONTROL_RESUME", JOB_CONTROL_RESUME }, + { "JOB_CONTROL_CANCEL", JOB_CONTROL_CANCEL }, + { "JOB_CONTROL_RESTART", JOB_CONTROL_RESTART }, + { "JOB_CONTROL_DELETE", JOB_CONTROL_DELETE }, + { NULL }, }; |