diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-13 17:17:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-13 17:17:39 +0100 |
| commit | 71e992d5bf0e3169ddaa90347e6cd264d5394de4 (patch) | |
| tree | 8253fdd1583b345125a2c19d9967dd5fe0cdfa42 /core/sys | |
| parent | 2648bd8fcdecc0a632dda59ed39e7f680f53c691 (diff) | |
| parent | b6a0606c98606b8963af94966e1c6d70da4cfcd4 (diff) | |
Merge pull request #5579 from wrathdoesthat/master
Added getaddrinfo flags
Diffstat (limited to 'core/sys')
| -rw-r--r-- | core/sys/windows/types.odin | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin index d5c9b1d20..904970589 100644 --- a/core/sys/windows/types.odin +++ b/core/sys/windows/types.odin @@ -3385,6 +3385,19 @@ FILE_ATTRIBUTE_TAG_INFO :: struct { ReparseTag: DWORD, } +// getaddrinfo flags https://learn.microsoft.com/en-us/windows/win32/api/ws2def/ns-ws2def-addrinfoa +AI_PASSIVE :: 0x01 +AI_CANONNAME :: 0x02 +AI_NUMERICHOST :: 0x04 +AI_ALL :: 0x0100 +AI_ADDRCONFIG :: 0x0400 +AI_V4MAPPED :: 0x0800 +AI_NON_AUTHORITATIVE :: 0x04000 +AI_SECURE :: 0x08000 +AI_RETURN_PREFERRED_NAMES :: 0x010000 +AI_FQDN :: 0x00020000 +AI_FILESERVER :: 0x00040000 + PADDRINFOEXW :: ^ADDRINFOEXW LPADDRINFOEXW :: ^ADDRINFOEXW ADDRINFOEXW :: struct { |