summaryrefslogtreecommitdiffstats
path: root/source/python/py_spoolss.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-14 07:15:43 +0000
committerTim Potter <tpot@samba.org>2002-05-14 07:15:43 +0000
commita8f5951becaab82bb1b03e3e04a05901ec3aa8e3 (patch)
treef2b6ae670ceb7bc013e10816a341c197897f35f7 /source/python/py_spoolss.c
parent0c52191cc5b986fbb50a476442e808d5e161e534 (diff)
downloadsamba-a8f5951becaab82bb1b03e3e04a05901ec3aa8e3.tar.gz
samba-a8f5951becaab82bb1b03e3e04a05901ec3aa8e3.tar.xz
samba-a8f5951becaab82bb1b03e3e04a05901ec3aa8e3.zip
Added lots of new functions to the method tables.
Diffstat (limited to 'source/python/py_spoolss.c')
-rw-r--r--source/python/py_spoolss.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/source/python/py_spoolss.c b/source/python/py_spoolss.c
index ef61d02db6d..68d5ded99a0 100644
--- a/source/python/py_spoolss.c
+++ b/source/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 }
};