diff options
author | Tim Potter <tpot@samba.org> | 2003-02-19 22:47:49 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-19 22:47:49 +0000 |
commit | 5ef421f1d820abee603817f91a5656b26ae502c2 (patch) | |
tree | c21b57a269bd05fba0194cf38a0a73974bcae472 /source3/python/py_spoolss.c | |
parent | 3fd3bb38e24d39cae58894ce2b6bcb750b9de1b0 (diff) | |
download | samba-5ef421f1d820abee603817f91a5656b26ae502c2.tar.gz samba-5ef421f1d820abee603817f91a5656b26ae502c2.tar.xz samba-5ef421f1d820abee603817f91a5656b26ae502c2.zip |
Merge of cleanups and srvsvc implementation from HEAD.
(This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)
Diffstat (limited to 'source3/python/py_spoolss.c')
-rw-r--r-- | source3/python/py_spoolss.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/python/py_spoolss.c b/source3/python/py_spoolss.c index 957b4e9d9f..7b0a102b31 100644 --- a/source3/python/py_spoolss.c +++ b/source3/python/py_spoolss.c @@ -24,24 +24,6 @@ PyObject *spoolss_error, *spoolss_werror; -/* - * Routines to convert from python hashes to Samba structures - */ - -PyObject *new_spoolss_policy_hnd_object(struct cli_state *cli, - TALLOC_CTX *mem_ctx, POLICY_HND *pol) -{ - spoolss_policy_hnd_object *o; - - o = PyObject_New(spoolss_policy_hnd_object, &spoolss_policy_hnd_type); - - o->cli = cli; - o->mem_ctx = mem_ctx; - memcpy(&o->pol, pol, sizeof(POLICY_HND)); - - return (PyObject*)o; -} - /* * Method dispatch table */ |