summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-03-07 15:32:02 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-03-16 15:52:21 +0100
commit9ea602741934f4e546147fa238332644e8e9f316 (patch)
tree8766cbddc1d895292ca4b8d3bb098694ad42f24a /librpc
parente084edc16ea909d99453ef7663e0f5ada081fe22 (diff)
downloadsamba-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')
-rw-r--r--librpc/idl/printcap.idl17
-rw-r--r--librpc/idl/wscript_build3
-rw-r--r--librpc/wscript_build5
3 files changed, 24 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')
diff --git a/librpc/wscript_build b/librpc/wscript_build
index e8bc163f59..ce78cb6767 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -100,6 +100,11 @@ bld.SAMBA_SUBSYSTEM('NDR_SPOOLSS_BUF',
deps='talloc'
)
+bld.SAMBA_SUBSYSTEM('NDR_PRINTCAP',
+ source='gen_ndr/ndr_printcap.c',
+ public_deps='ndr'
+ )
+
bld.SAMBA_SUBSYSTEM('NDR_EPMAPPER',
source='gen_ndr/ndr_epmapper.c',
public_deps='ndr'