diff options
author | Tim Potter <tpot@samba.org> | 2002-05-14 07:15:43 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-05-14 07:15:43 +0000 |
commit | 8ca814e5299afccd1e2c5aea222c23d84905fc02 (patch) | |
tree | f9fe89f024d0befd5cdd260001f93027b2e734ca /source3 | |
parent | 034a0b46c7c3cd685de4440d4f489fc590e6ad89 (diff) | |
download | samba-8ca814e5299afccd1e2c5aea222c23d84905fc02.tar.gz samba-8ca814e5299afccd1e2c5aea222c23d84905fc02.tar.bz2 samba-8ca814e5299afccd1e2c5aea222c23d84905fc02.zip |
Added lots of new functions to the method tables.
(This used to be commit a8f5951becaab82bb1b03e3e04a05901ec3aa8e3)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/python/py_spoolss.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c index ef61d02db6..68d5ded99a 100644 --- a/source3/python/py_spoolss.c +++ b/source3/python/py_spoolss.c @@ -128,6 +128,20 @@ architecture defaults to \"Windows NT x86\". { "get_debuglevel", (PyCFunction)get_debuglevel, METH_VARARGS, "" }, { "set_debuglevel", (PyCFunction)set_debuglevel, METH_VARARGS, "" }, + /* Printer driver routines */ + + { "addprinterdriver", (PyCFunction)spoolss_addprinterdriver, + METH_VARARGS | METH_KEYWORDS, "" }, + + { "addprinterdriverex", (PyCFunction)spoolss_addprinterdriverex, + METH_VARARGS | METH_KEYWORDS, "" }, + + { "deleteprinterdriver", (PyCFunction)spoolss_deleteprinterdriver, + METH_VARARGS | METH_KEYWORDS, "" }, + + { "deleteprinterdriverex", (PyCFunction)spoolss_deleteprinterdriverex, + METH_VARARGS | METH_KEYWORDS, "" }, + { NULL } }; @@ -243,6 +257,14 @@ Set the form given by the dictionary argument. METH_VARARGS | METH_KEYWORDS, "Enumerate printer data." }, + { "deleteprinterdata", (PyCFunction)spoolss_deleteprinterdata, + METH_VARARGS | METH_KEYWORDS, + "Delete printer data." }, + + { "deleteprinterdataex", (PyCFunction)spoolss_deleteprinterdataex, + METH_VARARGS | METH_KEYWORDS, + "Delete printer data." }, + { NULL } }; |