Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › os › windows › DNS › CUSTOM_SERVER Public Struct CUSTOM_SERVER Doc Source Public Struct std.os.windows.DNS.CUSTOM_SERVER
pub const CUSTOM_SERVER = extern struct Fields Structs Types File os/windows.zig: 1522
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538 pub const CUSTOM_SERVER = extern struct {
ServerType : CUSTOM_SERVER .TYPE ,
Flags : FLAGS ,
Info : extern union {
UDP : void ,
DOH : extern struct { Template : PWSTR },
DOT : extern struct { Hostname : PWSTR },
},
MaxSa : [ADDR_MAX_SOCKADDR_LENGTH ]CHAR ,
pub const TYPE = enum (DWORD ) { UDP = 0x1 , DOH = 0x2 , DOT = 0x3 , _ };
pub const FLAGS = packed struct (ULONG64 ) {
UDP_FALLBACK : bool = false ,
UPGRADE_FROM_WELL_KNOWN_SERVERS : bool = false ,
Reserved2 : u62 = 0 ,
};
}