schannel: remove unused schannel structs.
[ira/wip.git] / librpc / gen_ndr / schannel.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "libcli/util/ntstatus.h"
6
7 #include "librpc/gen_ndr/netlogon.h"
8 #include "librpc/gen_ndr/nbt.h"
9 #ifndef _HEADER_schannel
10 #define _HEADER_schannel
11
12 struct netlogon_creds_CredentialState {
13         uint32_t negotiate_flags;
14         uint8_t session_key[16];
15         uint32_t sequence;
16         struct netr_Credential seed;
17         struct netr_Credential client;
18         struct netr_Credential server;
19         enum netr_SchannelType secure_channel_type;
20         const char *computer_name;/* [charset(UTF8)] */
21         const char *account_name;/* [charset(UTF8)] */
22         struct dom_sid *sid;/* [unique] */
23 }/* [public,flag(LIBNDR_PRINT_ARRAY_HEX)] */;
24
25 enum NL_AUTH_MESSAGE_TYPE
26 #ifndef USE_UINT_ENUMS
27  {
28         NL_NEGOTIATE_REQUEST=0x00000000,
29         NL_NEGOTIATE_RESPONSE=0x00000001
30 }
31 #else
32  { __donnot_use_enum_NL_AUTH_MESSAGE_TYPE=0x7FFFFFFF}
33 #define NL_NEGOTIATE_REQUEST ( 0x00000000 )
34 #define NL_NEGOTIATE_RESPONSE ( 0x00000001 )
35 #endif
36 ;
37
38 /* bitmap NL_AUTH_MESSAGE_FLAGS */
39 #define NL_FLAG_OEM_NETBIOS_DOMAIN_NAME ( 0x00000001 )
40 #define NL_FLAG_OEM_NETBIOS_COMPUTER_NAME ( 0x00000002 )
41 #define NL_FLAG_UTF8_DNS_DOMAIN_NAME ( 0x00000004 )
42 #define NL_FLAG_UTF8_DNS_HOST_NAME ( 0x00000008 )
43 #define NL_FLAG_UTF8_NETBIOS_COMPUTER_NAME ( 0x00000010 )
44
45 union NL_AUTH_MESSAGE_BUFFER {
46         const char * a;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM),case(NL_FLAG_OEM_NETBIOS_DOMAIN_NAME)] */
47         const char * u;/* [case(NL_FLAG_UTF8_DNS_DOMAIN_NAME)] */
48 }/* [noprint,nodiscriminant,public] */;
49
50 union NL_AUTH_MESSAGE_BUFFER_REPLY {
51         uint32_t dummy;/* [case(NL_NEGOTIATE_RESPONSE)] */
52 }/* [noprint,nodiscriminant,public] */;
53
54 struct NL_AUTH_MESSAGE {
55         enum NL_AUTH_MESSAGE_TYPE MessageType;
56         uint32_t Flags;
57         union NL_AUTH_MESSAGE_BUFFER oem_netbios_domain;/* [switch_is(Flags&NL_FLAG_OEM_NETBIOS_DOMAIN_NAME)] */
58         union NL_AUTH_MESSAGE_BUFFER oem_netbios_computer;/* [switch_is(Flags&NL_FLAG_OEM_NETBIOS_COMPUTER_NAME)] */
59         union NL_AUTH_MESSAGE_BUFFER utf8_dns_domain;/* [switch_is(Flags&NL_FLAG_UTF8_DNS_DOMAIN_NAME)] */
60         union NL_AUTH_MESSAGE_BUFFER utf8_dns_host;/* [switch_is(Flags&NL_FLAG_UTF8_DNS_HOST_NAME)] */
61         union NL_AUTH_MESSAGE_BUFFER utf8_netbios_computer;/* [switch_is(Flags&NL_FLAG_UTF8_NETBIOS_COMPUTER_NAME)] */
62         union NL_AUTH_MESSAGE_BUFFER_REPLY Buffer;/* [switch_is(MessageType&NL_NEGOTIATE_RESPONSE)] */
63 }/* [public,flag(LIBNDR_PRINT_ARRAY_HEX)] */;
64
65 enum NL_SIGNATURE_ALGORITHM
66 #ifndef USE_UINT_ENUMS
67  {
68         NL_SIGN_HMAC_SHA256=0x0013,
69         NL_SIGN_HMAC_MD5=0x0077
70 }
71 #else
72  { __donnot_use_enum_NL_SIGNATURE_ALGORITHM=0x7FFFFFFF}
73 #define NL_SIGN_HMAC_SHA256 ( 0x0013 )
74 #define NL_SIGN_HMAC_MD5 ( 0x0077 )
75 #endif
76 ;
77
78 enum NL_SEAL_ALGORITHM
79 #ifndef USE_UINT_ENUMS
80  {
81         NL_SEAL_AES128=0x001A,
82         NL_SEAL_RC4=0x007A,
83         NL_SEAL_NONE=0xFFFF
84 }
85 #else
86  { __donnot_use_enum_NL_SEAL_ALGORITHM=0x7FFFFFFF}
87 #define NL_SEAL_AES128 ( 0x001A )
88 #define NL_SEAL_RC4 ( 0x007A )
89 #define NL_SEAL_NONE ( 0xFFFF )
90 #endif
91 ;
92
93 struct NL_AUTH_SIGNATURE {
94         enum NL_SIGNATURE_ALGORITHM SignatureAlgorithm;/* [value(NL_SIGN_HMAC_MD5)] */
95         enum NL_SEAL_ALGORITHM SealAlgorithm;
96         uint16_t Pad;
97         uint16_t Flags;
98         uint8_t SequenceNumber[8];
99         uint8_t Checksum[8];
100         uint8_t Confounder[8];
101 }/* [public,flag(LIBNDR_PRINT_ARRAY_HEX)] */;
102
103 struct NL_AUTH_SHA2_SIGNATURE {
104         enum NL_SIGNATURE_ALGORITHM SignatureAlgorithm;/* [value(NL_SIGN_HMAC_SHA256)] */
105         enum NL_SEAL_ALGORITHM SealAlgorithm;
106         uint16_t Pad;
107         uint16_t Flags;
108         uint8_t SequenceNumber[8];
109         uint8_t Checksum[32];
110         uint8_t Confounder[8];
111 }/* [public,flag(LIBNDR_PRINT_ARRAY_HEX)] */;
112
113 #endif /* _HEADER_schannel */