summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-17 12:43:18 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-17 12:43:18 +0000
commit892aa2fc75075e3762dbd5c43b8b0d6550e6e208 (patch)
tree137674b1ddc03ce96cbc7a37cd4c28197e9e2b57 /source4/librpc/idl
parentd285c6f14f7ad7037e1a81d59da8b3c892a49884 (diff)
downloadsamba-892aa2fc75075e3762dbd5c43b8b0d6550e6e208.tar.gz
samba-892aa2fc75075e3762dbd5c43b8b0d6550e6e208.tar.bz2
samba-892aa2fc75075e3762dbd5c43b8b0d6550e6e208.zip
added wkssvc.idl and test code
I think this is our first complete pipe for Samba4 (albeit a simple one). Of course, there may be lots more info levels that Samba3 didn't do. Time to explore :) (This used to be commit 3305226140793f39af827b63c270486c1966718e)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/wkssvc.idl30
1 files changed, 30 insertions, 0 deletions
diff --git a/source4/librpc/idl/wkssvc.idl b/source4/librpc/idl/wkssvc.idl
new file mode 100644
index 0000000000..8f76a862f3
--- /dev/null
+++ b/source4/librpc/idl/wkssvc.idl
@@ -0,0 +1,30 @@
+/*
+ wkssvc interface definitions
+*/
+
+[ uuid(6bffd098-a112-3610-9833-46c3f87e345a),
+ version(1.0),
+ pointer_default(unique)
+] interface wkssvc
+{
+ /******************/
+ /* Function: 0x00 */
+ typedef struct {
+ uint32 platform_id; /* 0x0000 01f4 - unknown */
+ unistr *uni_compname; /* unicode server name */
+ unistr *uni_lan_grp; /* unicode domain name */
+ uint32 ver_major; /* 4 - unknown */
+ uint32 ver_minor; /* 0 - unknown */
+ } wks_Info100;
+
+ typedef union {
+ case (100) wks_Info100 *info100;
+ } wks_Info;
+
+ NTSTATUS wks_QueryInfo(
+ [in] unistr *server_name,
+ [in] uint32 level,
+ [out,switch_is(level)] wks_Info info
+ );
+
+}