diff options
Diffstat (limited to 'librpc/gen_ndr/lsa.h')
-rw-r--r-- | librpc/gen_ndr/lsa.h | 154 |
1 files changed, 77 insertions, 77 deletions
diff --git a/librpc/gen_ndr/lsa.h b/librpc/gen_ndr/lsa.h index 3770756488..f101fb6f2c 100644 --- a/librpc/gen_ndr/lsa.h +++ b/librpc/gen_ndr/lsa.h @@ -135,11 +135,11 @@ struct lsa_AuditLogInfo { enum lsa_PolicyAuditPolicy #ifndef USE_UINT_ENUMS { - LSA_AUDIT_POLICY_NONE=(int)0, - LSA_AUDIT_POLICY_SUCCESS=(int)1, - LSA_AUDIT_POLICY_FAILURE=(int)2, - LSA_AUDIT_POLICY_ALL=(int)(LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE), - LSA_AUDIT_POLICY_CLEAR=(int)4 + LSA_AUDIT_POLICY_NONE=(int)(0), + LSA_AUDIT_POLICY_SUCCESS=(int)(1), + LSA_AUDIT_POLICY_FAILURE=(int)(2), + LSA_AUDIT_POLICY_ALL=(int)((LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE)), + LSA_AUDIT_POLICY_CLEAR=(int)(4) } #else { __donnot_use_enum_lsa_PolicyAuditPolicy=0x7FFFFFFF} @@ -154,15 +154,15 @@ enum lsa_PolicyAuditPolicy enum lsa_PolicyAuditEventType #ifndef USE_UINT_ENUMS { - LSA_AUDIT_CATEGORY_SYSTEM=(int)0, - LSA_AUDIT_CATEGORY_LOGON=(int)1, - LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS=(int)2, - LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS=(int)3, - LSA_AUDIT_CATEGORY_PROCCESS_TRACKING=(int)4, - LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES=(int)5, - LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT=(int)6, - LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS=(int)7, - LSA_AUDIT_CATEGORY_ACCOUNT_LOGON=(int)8 + LSA_AUDIT_CATEGORY_SYSTEM=(int)(0), + LSA_AUDIT_CATEGORY_LOGON=(int)(1), + LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS=(int)(2), + LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS=(int)(3), + LSA_AUDIT_CATEGORY_PROCCESS_TRACKING=(int)(4), + LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES=(int)(5), + LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT=(int)(6), + LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS=(int)(7), + LSA_AUDIT_CATEGORY_ACCOUNT_LOGON=(int)(8) } #else { __donnot_use_enum_lsa_PolicyAuditEventType=0x7FFFFFFF} @@ -196,8 +196,8 @@ struct lsa_PDAccountInfo { enum lsa_Role #ifndef USE_UINT_ENUMS { - LSA_ROLE_BACKUP=(int)2, - LSA_ROLE_PRIMARY=(int)3 + LSA_ROLE_BACKUP=(int)(2), + LSA_ROLE_PRIMARY=(int)(3) } #else { __donnot_use_enum_lsa_Role=0x7FFFFFFF} @@ -249,20 +249,20 @@ struct lsa_DnsDomainInfo { enum lsa_PolicyInfo #ifndef USE_UINT_ENUMS { - LSA_POLICY_INFO_AUDIT_LOG=(int)1, - LSA_POLICY_INFO_AUDIT_EVENTS=(int)2, - LSA_POLICY_INFO_DOMAIN=(int)3, - LSA_POLICY_INFO_PD=(int)4, - LSA_POLICY_INFO_ACCOUNT_DOMAIN=(int)5, - LSA_POLICY_INFO_ROLE=(int)6, - LSA_POLICY_INFO_REPLICA=(int)7, - LSA_POLICY_INFO_QUOTA=(int)8, - LSA_POLICY_INFO_MOD=(int)9, - LSA_POLICY_INFO_AUDIT_FULL_SET=(int)10, - LSA_POLICY_INFO_AUDIT_FULL_QUERY=(int)11, - LSA_POLICY_INFO_DNS=(int)12, - LSA_POLICY_INFO_DNS_INT=(int)13, - LSA_POLICY_INFO_L_ACCOUNT_DOMAIN=(int)14 + LSA_POLICY_INFO_AUDIT_LOG=(int)(1), + LSA_POLICY_INFO_AUDIT_EVENTS=(int)(2), + LSA_POLICY_INFO_DOMAIN=(int)(3), + LSA_POLICY_INFO_PD=(int)(4), + LSA_POLICY_INFO_ACCOUNT_DOMAIN=(int)(5), + LSA_POLICY_INFO_ROLE=(int)(6), + LSA_POLICY_INFO_REPLICA=(int)(7), + LSA_POLICY_INFO_QUOTA=(int)(8), + LSA_POLICY_INFO_MOD=(int)(9), + LSA_POLICY_INFO_AUDIT_FULL_SET=(int)(10), + LSA_POLICY_INFO_AUDIT_FULL_QUERY=(int)(11), + LSA_POLICY_INFO_DNS=(int)(12), + LSA_POLICY_INFO_DNS_INT=(int)(13), + LSA_POLICY_INFO_L_ACCOUNT_DOMAIN=(int)(14) } #else { __donnot_use_enum_lsa_PolicyInfo=0x7FFFFFFF} @@ -316,16 +316,16 @@ struct lsa_DomainList { enum lsa_SidType #ifndef USE_UINT_ENUMS { - SID_NAME_USE_NONE=(int)0, - SID_NAME_USER=(int)1, - SID_NAME_DOM_GRP=(int)2, - SID_NAME_DOMAIN=(int)3, - SID_NAME_ALIAS=(int)4, - SID_NAME_WKN_GRP=(int)5, - SID_NAME_DELETED=(int)6, - SID_NAME_INVALID=(int)7, - SID_NAME_UNKNOWN=(int)8, - SID_NAME_COMPUTER=(int)9 + SID_NAME_USE_NONE=(int)(0), + SID_NAME_USER=(int)(1), + SID_NAME_DOM_GRP=(int)(2), + SID_NAME_DOMAIN=(int)(3), + SID_NAME_ALIAS=(int)(4), + SID_NAME_WKN_GRP=(int)(5), + SID_NAME_DELETED=(int)(6), + SID_NAME_INVALID=(int)(7), + SID_NAME_UNKNOWN=(int)(8), + SID_NAME_COMPUTER=(int)(9) } #else { __donnot_use_enum_lsa_SidType=0x7FFFFFFF} @@ -362,13 +362,13 @@ struct lsa_RefDomainList { enum lsa_LookupNamesLevel #ifndef USE_UINT_ENUMS { - LSA_LOOKUP_NAMES_ALL=(int)1, - LSA_LOOKUP_NAMES_DOMAINS_ONLY=(int)2, - LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY=(int)3, - LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY=(int)4, - LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY=(int)5, - LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2=(int)6, - LSA_LOOKUP_NAMES_RODC_REFERRAL_TO_FULL_DC=(int)7 + LSA_LOOKUP_NAMES_ALL=(int)(1), + LSA_LOOKUP_NAMES_DOMAINS_ONLY=(int)(2), + LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY=(int)(3), + LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY=(int)(4), + LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY=(int)(5), + LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2=(int)(6), + LSA_LOOKUP_NAMES_RODC_REFERRAL_TO_FULL_DC=(int)(7) } #else { __donnot_use_enum_lsa_LookupNamesLevel=0x7FFFFFFF} @@ -433,19 +433,19 @@ struct lsa_DATA_BUF2 { enum lsa_TrustDomInfoEnum #ifndef USE_UINT_ENUMS { - LSA_TRUSTED_DOMAIN_INFO_NAME=(int)1, - LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS=(int)2, - LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET=(int)3, - LSA_TRUSTED_DOMAIN_INFO_PASSWORD=(int)4, - LSA_TRUSTED_DOMAIN_INFO_BASIC=(int)5, - LSA_TRUSTED_DOMAIN_INFO_INFO_EX=(int)6, - LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO=(int)7, - LSA_TRUSTED_DOMAIN_INFO_FULL_INFO=(int)8, - LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO_INTERNAL=(int)9, - LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_INTERNAL=(int)10, - LSA_TRUSTED_DOMAIN_INFO_INFO_EX2_INTERNAL=(int)11, - LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_2_INTERNAL=(int)12, - LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES=(int)13 + LSA_TRUSTED_DOMAIN_INFO_NAME=(int)(1), + LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS=(int)(2), + LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET=(int)(3), + LSA_TRUSTED_DOMAIN_INFO_PASSWORD=(int)(4), + LSA_TRUSTED_DOMAIN_INFO_BASIC=(int)(5), + LSA_TRUSTED_DOMAIN_INFO_INFO_EX=(int)(6), + LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO=(int)(7), + LSA_TRUSTED_DOMAIN_INFO_FULL_INFO=(int)(8), + LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO_INTERNAL=(int)(9), + LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_INTERNAL=(int)(10), + LSA_TRUSTED_DOMAIN_INFO_INFO_EX2_INTERNAL=(int)(11), + LSA_TRUSTED_DOMAIN_INFO_FULL_INFO_2_INTERNAL=(int)(12), + LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES=(int)(13) } #else { __donnot_use_enum_lsa_TrustDomInfoEnum=0x7FFFFFFF} @@ -472,9 +472,9 @@ enum lsa_TrustDomInfoEnum enum lsa_TrustType #ifndef USE_UINT_ENUMS { - LSA_TRUST_TYPE_DOWNLEVEL=(int)0x00000001, - LSA_TRUST_TYPE_UPLEVEL=(int)0x00000002, - LSA_TRUST_TYPE_MIT=(int)0x00000003 + LSA_TRUST_TYPE_DOWNLEVEL=(int)(0x00000001), + LSA_TRUST_TYPE_UPLEVEL=(int)(0x00000002), + LSA_TRUST_TYPE_MIT=(int)(0x00000003) } #else { __donnot_use_enum_lsa_TrustType=0x7FFFFFFF} @@ -529,10 +529,10 @@ struct lsa_TrustDomainInfoInfoEx { enum lsa_TrustAuthType #ifndef USE_UINT_ENUMS { - TRUST_AUTH_TYPE_NONE=(int)0, - TRUST_AUTH_TYPE_NT4OWF=(int)1, - TRUST_AUTH_TYPE_CLEAR=(int)2, - TRUST_AUTH_TYPE_VERSION=(int)3 + TRUST_AUTH_TYPE_NONE=(int)(0), + TRUST_AUTH_TYPE_NT4OWF=(int)(1), + TRUST_AUTH_TYPE_CLEAR=(int)(2), + TRUST_AUTH_TYPE_VERSION=(int)(3) } #else { __donnot_use_enum_lsa_TrustAuthType=0x7FFFFFFF} @@ -641,8 +641,8 @@ struct lsa_DomainInfoEfs { enum lsa_DomainInfoEnum #ifndef USE_UINT_ENUMS { - LSA_DOMAIN_INFO_POLICY_EFS=(int)2, - LSA_DOMAIN_INFO_POLICY_KERBEROS=(int)3 + LSA_DOMAIN_INFO_POLICY_EFS=(int)(2), + LSA_DOMAIN_INFO_POLICY_KERBEROS=(int)(3) } #else { __donnot_use_enum_lsa_DomainInfoEnum=0x7FFFFFFF} @@ -671,8 +671,8 @@ struct lsa_TransNameArray2 { enum lsa_LookupOptions #ifndef USE_UINT_ENUMS { - LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES=(int)0x00000000, - LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES_LOCAL=(int)0x80000000 + LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES=(int)(0x00000000), + LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES_LOCAL=(int)(0x80000000) } #else { __donnot_use_enum_lsa_LookupOptions=0x7FFFFFFF} @@ -684,8 +684,8 @@ enum lsa_LookupOptions enum lsa_ClientRevision #ifndef USE_UINT_ENUMS { - LSA_CLIENT_REVISION_1=(int)0x00000001, - LSA_CLIENT_REVISION_2=(int)0x00000002 + LSA_CLIENT_REVISION_1=(int)(0x00000001), + LSA_CLIENT_REVISION_2=(int)(0x00000002) } #else { __donnot_use_enum_lsa_ClientRevision=0x7FFFFFFF} @@ -739,10 +739,10 @@ union lsa_ForestTrustData { enum lsa_ForestTrustRecordType #ifndef USE_UINT_ENUMS { - LSA_FOREST_TRUST_TOP_LEVEL_NAME=(int)0, - LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX=(int)1, - LSA_FOREST_TRUST_DOMAIN_INFO=(int)2, - LSA_FOREST_TRUST_RECORD_TYPE_LAST=(int)3 + LSA_FOREST_TRUST_TOP_LEVEL_NAME=(int)(0), + LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX=(int)(1), + LSA_FOREST_TRUST_DOMAIN_INFO=(int)(2), + LSA_FOREST_TRUST_RECORD_TYPE_LAST=(int)(3) } #else { __donnot_use_enum_lsa_ForestTrustRecordType=0x7FFFFFFF} |