Use lsa_PolicyInfo enum in lsa policy info calls.
authorGünther Deschner <gd@samba.org>
Mon, 14 Jan 2008 16:37:35 +0000 (17:37 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 14 Jan 2008 16:40:37 +0000 (17:40 +0100)
Guenther

source/librpc/idl/lsa.idl

index 5ac6d55229d11948b89eb8518ba769c97ed53644..705c86e39b3209f234385ee869661f1a58afeb38 100644 (file)
@@ -214,7 +214,7 @@ import "security.idl";
                LSA_POLICY_INFO_AUDIT_FULL_SET=10,
                LSA_POLICY_INFO_AUDIT_FULL_QUERY=11,
                LSA_POLICY_INFO_DNS=12
-       } lsaPolicyInfo;
+       } lsa_PolicyInfo;
 
        typedef [switch_type(uint16)] union {
                [case(LSA_POLICY_INFO_AUDIT_LOG)]        lsa_AuditLogInfo       audit_log;
@@ -233,7 +233,7 @@ import "security.idl";
 
        NTSTATUS lsa_QueryInfoPolicy (
                [in]                            policy_handle *handle,
-               [in]                            uint16 level,
+               [in]                            lsa_PolicyInfo level,
                [out,unique,switch_is(level)]   lsa_PolicyInformation *info
                );
 
@@ -241,7 +241,7 @@ import "security.idl";
        /* Function:       0x08 */
        NTSTATUS lsa_SetInfoPolicy (
                [in]                            policy_handle *handle,
-               [in]                            uint16 level,
+               [in]                            lsa_PolicyInfo level,
                [in,switch_is(level)]           lsa_PolicyInformation *info
                );
 
@@ -726,14 +726,14 @@ import "security.idl";
 
        NTSTATUS lsa_QueryInfoPolicy2(
                [in]                 policy_handle *handle,
-               [in]                     uint16 level,
+               [in]                     lsa_PolicyInfo level,
                [out,unique,switch_is(level)]   lsa_PolicyInformation *info
                );
 
        /* Function 0x2f */
        NTSTATUS lsa_SetInfoPolicy2(
                [in]                            policy_handle *handle,
-               [in]                            uint16 level,
+               [in]                            lsa_PolicyInfo level,
                [in,switch_is(level)]           lsa_PolicyInformation *info
                );