diff options
author | David Disseldorp <ddiss@suse.de> | 2011-03-07 15:32:02 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-03-16 15:52:21 +0100 |
commit | 9ea602741934f4e546147fa238332644e8e9f316 (patch) | |
tree | 8766cbddc1d895292ca4b8d3bb098694ad42f24a /librpc/idl | |
parent | e084edc16ea909d99453ef7663e0f5ada081fe22 (diff) | |
download | samba-9ea602741934f4e546147fa238332644e8e9f316.tar.gz samba-9ea602741934f4e546147fa238332644e8e9f316.tar.bz2 samba-9ea602741934f4e546147fa238332644e8e9f316.zip |
idl: define printcap IPC message format
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/printcap.idl | 17 | ||||
-rw-r--r-- | librpc/idl/wscript_build | 3 |
2 files changed, 19 insertions, 1 deletions
diff --git a/librpc/idl/printcap.idl b/librpc/idl/printcap.idl new file mode 100644 index 0000000000..5ab380ce6c --- /dev/null +++ b/librpc/idl/printcap.idl @@ -0,0 +1,17 @@ +#include "idl_types.h" +[ + pointer_default(unique) +] +interface printcap +{ + typedef struct { + [charset(UTF8),string] uint8 *name; + [charset(UTF8),string] uint8 *info; + } pcap_printer; + + typedef [public] struct { + NTSTATUS status; + uint32 count; + [size_is(count)] pcap_printer printers[]; + } pcap_data; +} diff --git a/librpc/idl/wscript_build b/librpc/idl/wscript_build index 33dd4c9b28..7e1340e6f7 100644 --- a/librpc/idl/wscript_build +++ b/librpc/idl/wscript_build @@ -10,7 +10,8 @@ bld.SAMBA_PIDL_LIST('PIDL', dbgidl.idl dnsserver.idl echo.idl frsrpc.idl lsa.idl nbt.idl dns.idl oxidresolver.idl samr.idl srvsvc.idl winreg.idl dcerpc.idl drsblobs.idl efs.idl frstrans.idl mgmt.idl netlogon.idl - policyagent.idl scerpc.idl svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl''', + policyagent.idl scerpc.idl svcctl.idl wkssvc.idl eventlog6.idl backupkey.idl + printcap.idl''', options='--header --ndr-parser --samba3-ndr-server --server --client --python', output_dir='../gen_ndr') |