svcctl: Fix IDL for svcctl_QueryServiceObjectSecurity and Set call.
authorGünther Deschner <gd@samba.org>
Thu, 9 Apr 2009 08:19:03 +0000 (10:19 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 9 Apr 2009 12:41:29 +0000 (14:41 +0200)
Guenther

librpc/idl/svcctl.idl

index 2f461d688984f7bbb3ff66bf4ab405c21878c319..8bbf514288606189cc4b987ae55b89be95432ceb 100644 (file)
@@ -156,9 +156,9 @@ import "misc.idl", "security.idl";
        /* Function 0x04 */
        WERROR svcctl_QueryServiceObjectSecurity(
                [in] policy_handle *handle,
-               [in] uint32 security_flags,
-               [out,ref,size_is(buffer_size)] uint8 *buffer,
-               [in,range(0,0x40000)] uint32 buffer_size,
+               [in] security_secinfo security_flags,
+               [out,ref,size_is(offered)] uint8 *buffer,
+               [in,range(0,0x40000)] uint32 offered,
                [out,ref,range(0,0x40000)] uint32 *needed
        );
 
@@ -166,9 +166,9 @@ import "misc.idl", "security.idl";
        /* Function 0x05 */
        WERROR svcctl_SetServiceObjectSecurity(
                [in] policy_handle *handle,
-               [in] uint32 security_flags,
-               [in,ref,size_is(buffer_size)] uint8 *buffer,
-               [in] uint32 buffer_size
+               [in] security_secinfo security_flags,
+               [in,ref,size_is(offered)] uint8 *buffer,
+               [in] uint32 offered
        );
 
        /*****************/