diff options
author | Tim Potter <tpot@samba.org> | 2002-05-13 07:27:20 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-05-13 07:27:20 +0000 |
commit | 325361e9e6e2b2f852cc8607ad93108b80bcef06 (patch) | |
tree | a249488706fc3030f63560b0068714c21f4eb185 /source/python/py_spoolss.c | |
parent | f2b9447bbdfe025b24a73d1c44885bcadb3f826f (diff) | |
download | samba-325361e9e6e2b2f852cc8607ad93108b80bcef06.tar.gz |
Added getprinterdata and setprinterdata functions.
Diffstat (limited to 'source/python/py_spoolss.c')
-rw-r--r-- | source/python/py_spoolss.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/python/py_spoolss.c b/source/python/py_spoolss.c index a8372fd2134..d57867dd7cd 100644 --- a/source/python/py_spoolss.c +++ b/source/python/py_spoolss.c @@ -213,6 +213,20 @@ Set the form given by the dictionary argument. METH_VARARGS | METH_KEYWORDS, "Notify spooler that a document is about to be printed." }, + /* Printer data */ + + { "getprinterdata", spoolss_getprinterdata, + METH_VARARGS | METH_KEYWORDS, + "Get printer data." }, + + { "setprinterdata", spoolss_setprinterdata, + METH_VARARGS | METH_KEYWORDS, + "Set printer data." }, + + { "enumprinterdata", spoolss_enumprinterdata, + METH_VARARGS | METH_KEYWORDS, + "Enumerate printer data." }, + { NULL } }; |