summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_svcctl.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-28 00:03:00 +0100
committerGünther Deschner <gd@samba.org>2008-02-28 00:43:30 +0100
commit179405e8e7cdbfb2e305b7c1c79c8cddcc842287 (patch)
tree05b383ea50124deab3ed53e4d84157770c443030 /source3/librpc/gen_ndr/cli_svcctl.c
parentbdd08fc8d6873908f2666c9ff278e735015cf19f (diff)
downloadsamba-179405e8e7cdbfb2e305b7c1c79c8cddcc842287.tar.gz
samba-179405e8e7cdbfb2e305b7c1c79c8cddcc842287.tar.bz2
samba-179405e8e7cdbfb2e305b7c1c79c8cddcc842287.zip
Re-run make idl.
Guenther (This used to be commit 6a84317aec9ae3fcd813390b0eec655387e036ec)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_svcctl.c')
-rw-r--r--source3/librpc/gen_ndr/cli_svcctl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/cli_svcctl.c b/source3/librpc/gen_ndr/cli_svcctl.c
index 2a5d6badc6..42711e3174 100644
--- a/source3/librpc/gen_ndr/cli_svcctl.c
+++ b/source3/librpc/gen_ndr/cli_svcctl.c
@@ -191,12 +191,20 @@ NTSTATUS rpccli_svcctl_LockServiceDatabase(struct rpc_pipe_client *cli,
NTSTATUS rpccli_svcctl_QueryServiceObjectSecurity(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
+ struct policy_handle *handle,
+ uint32_t security_flags,
+ uint8_t *buffer,
+ uint32_t buffer_size,
+ uint32_t *needed,
WERROR *werror)
{
struct svcctl_QueryServiceObjectSecurity r;
NTSTATUS status;
/* In parameters */
+ r.in.handle = handle;
+ r.in.security_flags = security_flags;
+ r.in.buffer_size = buffer_size;
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(svcctl_QueryServiceObjectSecurity, &r);
@@ -222,6 +230,8 @@ NTSTATUS rpccli_svcctl_QueryServiceObjectSecurity(struct rpc_pipe_client *cli,
}
/* Return variables */
+ memcpy(buffer, r.out.buffer, r.in.buffer_size);
+ *needed = *r.out.needed;
/* Return result */
if (werror) {