s4:librpc: add python spoolss bindings
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Sep 2016 04:31:04 +0000 (06:31 +0200)
committerJeremy Allison <jra@samba.org>
Sun, 23 Dec 2018 17:15:19 +0000 (18:15 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/librpc/wscript_build

index d5b9a3f..29521f1 100644 (file)
@@ -244,6 +244,12 @@ for env in bld.gen_python_environments():
                 cflags_end=gen_cflags
                )
 
+       bld.SAMBA_PYTHON('python_spoolss',
+               source='../../librpc/gen_ndr/py_spoolss.c',
+               deps='RPC_NDR_SPOOLSS %s %s' % (pytalloc_util, pyrpc_util),
+               realname='samba/dcerpc/spoolss.so'
+               )
+
        bld.SAMBA_PYTHON('python_witness',
                source='../../librpc/gen_ndr/py_witness.c',
                deps='RPC_NDR_WITNESS %s %s' % (pytalloc_util, pyrpc_util),