mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Added addjob command.
This commit is contained in:
@ -144,7 +144,7 @@ Example:
|
||||
|
||||
Example:
|
||||
|
||||
>>> spoolss.set_debuglevel(10)"
|
||||
>>> spoolss.set_debuglevel(10)" },
|
||||
|
||||
/* Printer driver routines */
|
||||
|
||||
@ -259,6 +259,10 @@ Set the form given by the dictionary argument."},
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
"Write job data to a printer." },
|
||||
|
||||
{ "addjob", (PyCFunction)spoolss_hnd_addjob,
|
||||
METH_VARARGS | METH_KEYWORDS,
|
||||
"Add a job to the list of print jobs." },
|
||||
|
||||
/* Printer data */
|
||||
|
||||
{ "getprinterdata", (PyCFunction)spoolss_hnd_getprinterdata,
|
||||
|
@ -380,3 +380,9 @@ PyObject *spoolss_hnd_writeprinter(PyObject *self, PyObject *args, PyObject *kw)
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
}
|
||||
|
||||
PyObject *spoolss_hnd_addjob(PyObject *self, PyObject *args, PyObject *kw)
|
||||
{
|
||||
PyErr_SetString(spoolss_error, "Not implemented");
|
||||
return NULL;
|
||||
}
|
||||
|
@ -63,6 +63,7 @@ PyObject *spoolss_hnd_endpageprinter(PyObject *self, PyObject *args, PyObject *k
|
||||
PyObject *spoolss_hnd_startdocprinter(PyObject *self, PyObject *args, PyObject *kw);
|
||||
PyObject *spoolss_hnd_enddocprinter(PyObject *self, PyObject *args, PyObject *kw);
|
||||
PyObject *spoolss_hnd_writeprinter(PyObject *self, PyObject *args, PyObject *kw);
|
||||
PyObject *spoolss_hnd_addjob(PyObject *self, PyObject *args, PyObject *kw);
|
||||
|
||||
/* The following definitions come from python/py_spoolss_jobs_conv.c */
|
||||
|
||||
|
Reference in New Issue
Block a user