summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2018-04-16 13:49:54 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-08-16 23:42:19 +0200
commit572fd6319fd60fbca99db42169b80aa0135be058 (patch)
treed51176d568b69a89e068bc2810df80ced4d38a09 /librpc
parentea297d0ce382af7f45b176faa3f33f36a921371b (diff)
downloadsamba-572fd6319fd60fbca99db42169b80aa0135be058.tar.gz
preg: Build python preg bindings
These will be used in the GPO import/export. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/preg.idl5
-rw-r--r--librpc/idl/wscript_build6
2 files changed, 6 insertions, 5 deletions
diff --git a/librpc/idl/preg.idl b/librpc/idl/preg.idl
index 6a98a823cd1..f14cea9fe2e 100644
--- a/librpc/idl/preg.idl
+++ b/librpc/idl/preg.idl
@@ -42,8 +42,5 @@ import "misc.idl";
preg_entry entries[num_entries];
} preg_file;
- void decode_preg_file(
- [in] preg_file file
- );
-
+ [nopython] void decode_preg_file([in] preg_file file);
}
diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build
index f1588cd18fb..2e012d6a868 100644
--- a/librpc/idl/wscript_build
+++ b/librpc/idl/wscript_build
@@ -29,10 +29,14 @@ bld.SAMBA_PIDL_LIST('PIDL',
output_dir='../gen_ndr')
bld.SAMBA_PIDL_LIST('PIDL',
+ 'preg.idl',
+ options='--header --ndr-parser --client --python',
+ output_dir='../gen_ndr')
+
+bld.SAMBA_PIDL_LIST('PIDL',
'''
rap.idl
ntprinting.idl
- preg.idl
ioctl.idl
printcap.idl
fsrvp_state.idl