mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
90067934cd
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
46 lines
866 B
Plaintext
46 lines
866 B
Plaintext
#include "idl_types.h"
|
|
|
|
/*
|
|
schannel structures
|
|
*/
|
|
|
|
[
|
|
depends(netlogon)
|
|
]
|
|
interface schannel
|
|
{
|
|
/*
|
|
a schannel bind blob - used in dcerpc auth_info
|
|
on a schannel
|
|
*/
|
|
typedef struct {
|
|
astring domain;
|
|
astring account_name;
|
|
} schannel_bind_3;
|
|
|
|
typedef struct {
|
|
astring domain;
|
|
astring account_name;
|
|
astring dnsdomain; /* in NBT dotted format */
|
|
astring workstation;
|
|
} schannel_bind_23;
|
|
|
|
typedef [nodiscriminant] union {
|
|
[case (3)] schannel_bind_3 info3;
|
|
[case (23)] schannel_bind_23 info23;
|
|
} schannel_bind_info;
|
|
|
|
typedef [public] struct {
|
|
uint32 unknown1; /* seems to need to be 0 */
|
|
uint32 bind_type;
|
|
[switch_is(bind_type)] schannel_bind_info u;
|
|
} schannel_bind;
|
|
|
|
/* a bind_ack blob */
|
|
typedef [public] struct {
|
|
uint32 unknown1; /* 1 */
|
|
uint32 unknown2; /* 0 */
|
|
uint32 unknown3; /* 0x006c0000 */
|
|
} schannel_bind_ack;
|
|
}
|