summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-09-02 07:44:00 +0000
committerTim Potter <tpot@samba.org>2002-09-02 07:44:00 +0000
commitfc8c6e7cf08d4570514bdae6d6b37a5e3112c924 (patch)
tree7f862a29b10b030b547f69bb21025631019cfda5
parentd75fc27fa1b68762317999d65a232284abf72ef6 (diff)
downloadsamba-fc8c6e7cf08d4570514bdae6d6b37a5e3112c924.tar.gz
samba-fc8c6e7cf08d4570514bdae6d6b37a5e3112c924.tar.bz2
samba-fc8c6e7cf08d4570514bdae6d6b37a5e3112c924.zip
Added methods for getprinterdataex, setprinterdataex and enumprinterdataex.
(This used to be commit ac84b220aa2910abec309f2dc048adb84f609786)
-rw-r--r--source3/python/py_spoolss.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c
index 95be77de55..4451cd87b2 100644
--- a/source3/python/py_spoolss.c
+++ b/source3/python/py_spoolss.c
@@ -281,6 +281,18 @@ Set the form given by the dictionary argument."},
METH_VARARGS | METH_KEYWORDS,
"Delete printer data." },
+ { "getprinterdataex", (PyCFunction)spoolss_hnd_getprinterdataex,
+ METH_VARARGS | METH_KEYWORDS,
+ "Get printer data." },
+
+ { "setprinterdataex", (PyCFunction)spoolss_hnd_setprinterdataex,
+ METH_VARARGS | METH_KEYWORDS,
+ "Set printer data." },
+
+ { "enumprinterdataex", (PyCFunction)spoolss_hnd_enumprinterdataex,
+ METH_VARARGS | METH_KEYWORDS,
+ "Enumerate printer data." },
+
{ "deleteprinterdataex", (PyCFunction)spoolss_hnd_deleteprinterdataex,
METH_VARARGS | METH_KEYWORDS,
"Delete printer data." },