summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-11-06 23:36:07 +0000
committerTim Potter <tpot@samba.org>2002-11-06 23:36:07 +0000
commitf0718b6b3526abc025069ea0d40a802b3d383449 (patch)
tree7524be04c4fdcfd0198ad9d26294fc33f6b7b3f1 /source3/python/py_spoolss.c
parentf4766f4900c87a82d49f39dadac56e74debef920 (diff)
downloadsamba-f0718b6b3526abc025069ea0d40a802b3d383449.tar.gz
samba-f0718b6b3526abc025069ea0d40a802b3d383449.tar.bz2
samba-f0718b6b3526abc025069ea0d40a802b3d383449.zip
Added enumprinterkey function.
Stub for deleteprinterkey. (This used to be commit 64e04380f7ad9b471a681638dfde93e0c65f9fa3)
Diffstat (limited to 'source3/python/py_spoolss.c')
-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 4451cd87b2..957b4e9d9f 100644
--- a/source3/python/py_spoolss.c
+++ b/source3/python/py_spoolss.c
@@ -297,6 +297,18 @@ Set the form given by the dictionary argument."},
METH_VARARGS | METH_KEYWORDS,
"Delete printer data." },
+ { "enumprinterkey", (PyCFunction)spoolss_hnd_enumprinterkey,
+ METH_VARARGS | METH_KEYWORDS,
+ "Enumerate printer key." },
+
+#if 0
+ /* Not implemented */
+
+ { "deleteprinterkey", (PyCFunction)spoolss_hnd_deleteprinterkey,
+ METH_VARARGS | METH_KEYWORDS,
+ "Delete printer key." },
+#endif
+
{ NULL }
};