summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_spoolss.c22
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 }
};