Skip to content

Commit 71e992d

Browse files
authored
Merge pull request odin-lang#5579 from wrathdoesthat/master
Added getaddrinfo flags
2 parents 2648bd8 + b6a0606 commit 71e992d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

core/sys/windows/types.odin

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3385,6 +3385,19 @@ FILE_ATTRIBUTE_TAG_INFO :: struct {
33853385
ReparseTag: DWORD,
33863386
}
33873387

3388+
// getaddrinfo flags https://learn.microsoft.com/en-us/windows/win32/api/ws2def/ns-ws2def-addrinfoa
3389+
AI_PASSIVE :: 0x01
3390+
AI_CANONNAME :: 0x02
3391+
AI_NUMERICHOST :: 0x04
3392+
AI_ALL :: 0x0100
3393+
AI_ADDRCONFIG :: 0x0400
3394+
AI_V4MAPPED :: 0x0800
3395+
AI_NON_AUTHORITATIVE :: 0x04000
3396+
AI_SECURE :: 0x08000
3397+
AI_RETURN_PREFERRED_NAMES :: 0x010000
3398+
AI_FQDN :: 0x00020000
3399+
AI_FILESERVER :: 0x00040000
3400+
33883401
PADDRINFOEXW :: ^ADDRINFOEXW
33893402
LPADDRINFOEXW :: ^ADDRINFOEXW
33903403
ADDRINFOEXW :: struct {

0 commit comments

Comments
 (0)