From 892aa2fc75075e3762dbd5c43b8b0d6550e6e208 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Nov 2003 12:43:18 +0000 Subject: 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) --- source4/librpc/rpc/rpc_wkssvc.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 source4/librpc/rpc/rpc_wkssvc.c (limited to 'source4/librpc/rpc') 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; +} -- cgit