summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
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/rpc
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/rpc')
-rw-r--r--source4/librpc/rpc/rpc_wkssvc.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/source4/librpc/rpc/rpc_wkssvc.c b/source4/librpc/rpc/rpc_wkssvc.c
new file mode 100644
index 0000000000..0549a35128
--- /dev/null
+++ b/source4/librpc/rpc/rpc_wkssvc.c
@@ -0,0 +1,18 @@
+/* dcerpc client calls auto-generated by pidl */
+
+#include "includes.h"
+
+
+NTSTATUS dcerpc_wks_QueryInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct wks_QueryInfo *r)
+{
+ NTSTATUS status;
+ status = dcerpc_ndr_request(p, DCERPC_WKS_QUERYINFO, mem_ctx,
+ (ndr_push_fn_t) ndr_push_wks_QueryInfo,
+ (ndr_pull_fn_t) ndr_pull_wks_QueryInfo,
+ r);
+ if (!NT_STATUS_IS_OK(status)) {
+ return status;
+ }
+
+ return r->out.result;
+}