chore(deps): Update sqlite dependencies

This commit is contained in:
TwiN
2022-12-01 20:19:56 -05:00
parent 080563bd4f
commit cdec353744
564 changed files with 583632 additions and 1166555 deletions

View File

@ -1,5 +1,11 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_darwin_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_darwin_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set": {},
"__darwin_check_fd_set_overflow": {},
"__darwin_fd_clr": {},
"__darwin_fd_isset": {},
"__darwin_fd_set": {},
}

View File

@ -1,5 +1,11 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_darwin_arm64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_darwin_arm64.go -pkgname netdb', DO NOT EDIT.
package netdb
var CAPI = map[string]struct{}{}
var CAPI = map[string]struct{}{
"__darwin_check_fd_set": {},
"__darwin_check_fd_set_overflow": {},
"__darwin_fd_clr": {},
"__darwin_fd_isset": {},
"__darwin_fd_set": {},
}

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_linux_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_linux_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_freebsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
@ -15,68 +15,68 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AI_ADDRCONFIG = 0x00000400
AI_ALL = 0x00000100
AI_CANONNAME = 0x00000002
AI_DEFAULT = 1536
AI_MASK = 3343
AI_NUMERICHOST = 0x00000004
AI_NUMERICSERV = 0x00000008
AI_PASSIVE = 0x00000001
AI_V4MAPPED = 0x00000800
AI_V4MAPPED_CFG = 0x00000200
EAI_AGAIN = 2
EAI_BADFLAGS = 3
EAI_BADHINTS = 12
EAI_FAIL = 4
EAI_FAMILY = 5
EAI_MAX = 15
EAI_MEMORY = 6
EAI_NONAME = 8
EAI_OVERFLOW = 14
EAI_PROTOCOL = 13
EAI_SERVICE = 9
EAI_SOCKTYPE = 10
EAI_SYSTEM = 11
HOST_NOT_FOUND = 1
IPPORT_RESERVED = 1024
NETDB_INTERNAL = -1
NETDB_SUCCESS = 0
NI_DGRAM = 0x00000010
NI_MAXHOST = 1025
NI_MAXSERV = 32
NI_NAMEREQD = 0x00000004
NI_NOFQDN = 0x00000001
NI_NUMERICHOST = 0x00000002
NI_NUMERICSCOPE = 0x00000020
NI_NUMERICSERV = 0x00000008
NO_ADDRESS = 4
NO_DATA = 4
NO_RECOVERY = 3
SCOPE_DELIMITER = 37
TRY_AGAIN = 2
X_FILE_OFFSET_BITS = 64
X_IN_ADDR_T_DECLARED = 0
X_IN_PORT_T_DECLARED = 0
X_LP64 = 1
X_MACHINE__LIMITS_H_ = 0
X_MACHINE__TYPES_H_ = 0
X_NETDB_H_ = 0
X_Nonnull = 0
X_Null_unspecified = 0
X_Nullable = 0
X_PATH_HEQUIV = "/etc/hosts.equiv"
X_PATH_HOSTS = "/etc/hosts"
X_PATH_NETWORKS = "/etc/networks"
X_PATH_PROTOCOLS = "/etc/protocols"
X_PATH_SERVICES = "/etc/services"
X_PATH_SERVICES_DB = "/var/db/services.db"
X_SIZE_T_DECLARED = 0
X_SOCKLEN_T_DECLARED = 0
X_SYS_CDEFS_H_ = 0
X_SYS__TYPES_H_ = 0
X_UINT32_T_DECLARED = 0
Unix = 1
AI_ADDRCONFIG = 0x00000400 // netdb.h:200:1:
AI_ALL = 0x00000100 // netdb.h:198:1:
AI_CANONNAME = 0x00000002 // netdb.h:190:1:
AI_DEFAULT = 1536 // netdb.h:203:1:
AI_MASK = 3343 // netdb.h:194:1:
AI_NUMERICHOST = 0x00000004 // netdb.h:191:1:
AI_NUMERICSERV = 0x00000008 // netdb.h:192:1:
AI_PASSIVE = 0x00000001 // netdb.h:189:1:
AI_V4MAPPED = 0x00000800 // netdb.h:201:1:
AI_V4MAPPED_CFG = 0x00000200 // netdb.h:199:1:
EAI_AGAIN = 2 // netdb.h:168:1:
EAI_BADFLAGS = 3 // netdb.h:169:1:
EAI_BADHINTS = 12 // netdb.h:181:1:
EAI_FAIL = 4 // netdb.h:170:1:
EAI_FAMILY = 5 // netdb.h:171:1:
EAI_MAX = 15 // netdb.h:184:1:
EAI_MEMORY = 6 // netdb.h:172:1:
EAI_NONAME = 8 // netdb.h:177:1:
EAI_OVERFLOW = 14 // netdb.h:183:1:
EAI_PROTOCOL = 13 // netdb.h:182:1:
EAI_SERVICE = 9 // netdb.h:178:1:
EAI_SOCKTYPE = 10 // netdb.h:179:1:
EAI_SYSTEM = 11 // netdb.h:180:1:
HOST_NOT_FOUND = 1 // netdb.h:155:1:
IPPORT_RESERVED = 1024 // netdb.h:146:1:
NETDB_INTERNAL = -1 // netdb.h:153:1:
NETDB_SUCCESS = 0 // netdb.h:154:1:
NI_DGRAM = 0x00000010 // netdb.h:218:1:
NI_MAXHOST = 1025 // netdb.h:208:1:
NI_MAXSERV = 32 // netdb.h:209:1:
NI_NAMEREQD = 0x00000004 // netdb.h:216:1:
NI_NOFQDN = 0x00000001 // netdb.h:214:1:
NI_NUMERICHOST = 0x00000002 // netdb.h:215:1:
NI_NUMERICSCOPE = 0x00000020 // netdb.h:219:1:
NI_NUMERICSERV = 0x00000008 // netdb.h:217:1:
NO_ADDRESS = 4 // netdb.h:159:1:
NO_DATA = 4 // netdb.h:158:1:
NO_RECOVERY = 3 // netdb.h:157:1:
SCOPE_DELIMITER = 37 // netdb.h:224:1:
TRY_AGAIN = 2 // netdb.h:156:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_IN_ADDR_T_DECLARED = 0 // netdb.h:67:1:
X_IN_PORT_T_DECLARED = 0 // netdb.h:72:1:
X_LP64 = 1 // <predefined>:1:1:
X_MACHINE__LIMITS_H_ = 0 // _limits.h:36:1:
X_MACHINE__TYPES_H_ = 0 // _types.h:42:1:
X_NETDB_H_ = 0 // netdb.h:60:1:
X_Nonnull = 0 // cdefs.h:790:1:
X_Null_unspecified = 0 // cdefs.h:792:1:
X_Nullable = 0 // cdefs.h:791:1:
X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:91:1:
X_PATH_HOSTS = "/etc/hosts" // netdb.h:93:1:
X_PATH_NETWORKS = "/etc/networks" // netdb.h:94:1:
X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:95:1:
X_PATH_SERVICES = "/etc/services" // netdb.h:96:1:
X_PATH_SERVICES_DB = "/var/db/services.db" // netdb.h:97:1:
X_SIZE_T_DECLARED = 0 // netdb.h:77:1:
X_SOCKLEN_T_DECLARED = 0 // netdb.h:82:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_UINT32_T_DECLARED = 0 // netdb.h:87:1:
Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -368,12 +368,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Function should not be analyzed.
// Function or variable should not be sanitized, i.e. by AddressSanitizer.
// Function or variable should not be sanitized, e.g., by AddressSanitizer.
// GCC has the nosanitize attribute, but as a function attribute only, and
// warns on use as a variable attribute.
// Guard variables and structure members by lock.
// Alignment builtins for better type checking and improved code generation.
// Provide fallback versions for other compilers (GCC/Clang < 10):
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//
@ -616,8 +619,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
// Unusual type definitions.
// rune_t is declared to be an ``int'' instead of the more natural
// ``unsigned long'' or ``long''. Two things are happening here. It is not
// rune_t is declared to be an int instead of the more natural
// unsigned long or long. Two things are happening here. It is not
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
// it looks like 10646 will be a 31 bit standard. This means that if your
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
@ -650,8 +653,8 @@ type X__fixpt_t = X__uint32_t /* _types.h:115:20 */ // fixed point number
// mbstate_t is an opaque object to keep conversion state during multibyte
// stream conversions.
type X__mbstate_t = struct {
_ [0]uint64
F__mbstate8 [128]int8
F__ccgo_pad1 [0]uint64
F__mbstate8 [128]int8
} /* _types.h:124:3 */
type X__rman_res_t = X__uintmax_t /* _types.h:126:25 */
@ -692,18 +695,18 @@ type Netent = struct {
} /* netdb.h:115:1 */
type Servent = struct {
Fs_name uintptr
Fs_aliases uintptr
Fs_port int32
_ [4]byte
Fs_proto uintptr
Fs_name uintptr
Fs_aliases uintptr
Fs_port int32
F__ccgo_pad1 [4]byte
Fs_proto uintptr
} /* netdb.h:122:1 */
type Protoent = struct {
Fp_name uintptr
Fp_aliases uintptr
Fp_proto int32
_ [4]byte
Fp_name uintptr
Fp_aliases uintptr
Fp_proto int32
F__ccgo_pad1 [4]byte
} /* netdb.h:129:1 */
type Addrinfo = struct {
@ -712,7 +715,7 @@ type Addrinfo = struct {
Fai_socktype int32
Fai_protocol int32
Fai_addrlen Socklen_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fai_canonname uintptr
Fai_addr uintptr
Fai_next uintptr

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -298,8 +298,8 @@ const (
SCM_WIFI_STATUS = 41
SIOCATMARK = 0x8905
SIOCGPGRP = 0x8904
SIOCGSTAMPNS_OLD = 0x8907
SIOCGSTAMP_OLD = 0x8906
SIOCGSTAMP = 0x8906
SIOCGSTAMPNS = 0x8907
SIOCSPGRP = 0x8902
SOL_AAL = 265
SOL_ALG = 279
@ -487,7 +487,8 @@ const ( /* socket.h:200:1: */
)
// Socket level message types. This must match the definitions in
// <linux/socket.h>.
//
// <linux/socket.h>.
const ( /* socket.h:332:1: */
SCM_RIGHTS = 1
)
@ -623,8 +624,9 @@ const ( /* in.h:40:1: */
)
// If __USE_KERNEL_IPV6_DEFS is 1 then the user has included the kernel
// network headers first and we should use those ABI-identical definitions
// instead of our own, otherwise 0.
//
// network headers first and we should use those ABI-identical definitions
// instead of our own, otherwise 0.
const ( /* in.h:99:1: */
IPPROTO_HOPOPTS = 0 // IPv6 Hop-by-Hop options.
IPPROTO_ROUTING = 43 // IPv6 routing header.
@ -636,7 +638,8 @@ const ( /* in.h:99:1: */
)
// The following constants should be used for the second parameter of
// `shutdown'.
//
// `shutdown'.
const ( /* socket.h:41:1: */
SHUT_RD = 0 // No more receptions.
SHUT_WR = 1 // No more transmissions.
@ -1040,7 +1043,13 @@ type X__float128 = float64 /* <builtin>:47:21 */
// array_name[restrict]
// GCC 3.1 supports this.
// Describes a char array whose address can safely be passed as the first
// argument to strncpy and strncat, as the char array is not necessarily
// a NUL-terminated string.
// Undefine (also defined in libc-symbols.h).
// Copies attributes from the declaration or type referenced by
// the argument.
// Determine the wordsize from the preprocessor defines.
@ -1386,7 +1395,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
// These few don't really vary by system, they always correspond
// to one of the other defined types.
//
// to one of the other defined types.
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
type X__caddr_t = uintptr /* types.h:203:14 */
@ -1397,8 +1407,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
type X__socklen_t = uint32 /* types.h:209:23 */
// C99: An integer type that can be accessed as an atomic entity,
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
//
// even in the presence of asynchronous interrupts.
// It is not currently necessary for this to be machine-specific.
type X__sig_atomic_t = int32 /* types.h:214:13 */
// Seconds since the Epoch, visible to user code when time_t is too
@ -1418,11 +1429,6 @@ type Uint64_t = X__uint64_t /* stdint-uintn.h:27:20 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// Structure for scatter/gather I/O.
@ -1431,7 +1437,7 @@ type Iovec = struct {
Fiov_len Size_t
} /* struct_iovec.h:26:1 */
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@ -1463,15 +1469,6 @@ type Iovec = struct {
// This avoids lossage on SunOS but only if stdtypes.h comes first.
// There's no way to win with the other order! Sun lossage.
// On 4.3bsd-net2, make sure ansi.h is included, so we have
// one less case to deal with in the following.
// On FreeBSD 5, machine/ansi.h does not exist anymore...
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
// defined if the corresponding type is *not* defined.
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
// Just ignore it.
@ -1506,11 +1503,6 @@ type Iovec = struct {
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// This operating system-specific header file defines the SOCK_*, PF_*,
@ -1534,7 +1526,7 @@ type Iovec = struct {
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@ -1566,15 +1558,6 @@ type Iovec = struct {
// This avoids lossage on SunOS but only if stdtypes.h comes first.
// There's no way to win with the other order! Sun lossage.
// On 4.3bsd-net2, make sure ansi.h is included, so we have
// one less case to deal with in the following.
// On FreeBSD 5, machine/ansi.h does not exist anymore...
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
// defined if the corresponding type is *not* defined.
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
// Just ignore it.
@ -1609,11 +1592,6 @@ type Iovec = struct {
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// Copyright (C) 1991-2020 Free Software Foundation, Inc.
@ -1798,7 +1776,7 @@ type Time_t = X__time_t /* time_t.h:7:18 */
// Timer ID returned by `timer_create'.
type Timer_t = X__timer_t /* timer_t.h:7:19 */
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@ -1830,15 +1808,6 @@ type Timer_t = X__timer_t /* timer_t.h:7:19 */
// This avoids lossage on SunOS but only if stdtypes.h comes first.
// There's no way to win with the other order! Sun lossage.
// On 4.3bsd-net2, make sure ansi.h is included, so we have
// one less case to deal with in the following.
// On FreeBSD 5, machine/ansi.h does not exist anymore...
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
// defined if the corresponding type is *not* defined.
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
// Just ignore it.
@ -1873,11 +1842,6 @@ type Timer_t = X__timer_t /* timer_t.h:7:19 */
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
// Old compatibility names for C types.
@ -2048,7 +2012,8 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
// Never include this file directly; use <sys/types.h> instead.
// A time value that is accurate to the nearest
// microsecond but also has a range of years.
//
// microsecond but also has a range of years.
type Timeval = struct {
Ftv_sec X__time_t
Ftv_usec X__suseconds_t
@ -2095,7 +2060,8 @@ type Timeval = struct {
// <http://www.gnu.org/licenses/>.
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
//
// has nanoseconds instead of microseconds.
type Timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
@ -2390,7 +2356,7 @@ type X__pthread_rwlock_arch_t = struct {
F__pad1 uint64
F__pad2 uint64
F__flags uint32
_ [4]byte
F__ccgo_pad1 [4]byte
} /* struct_rwlock.h:23:1 */
// Common definition of pthread_cond_t.
@ -2406,21 +2372,24 @@ type X__pthread_cond_s = struct {
} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
//
// exposed on purpose.
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
// Data structures for mutex handling. The structure of the attribute
// type is not exposed on purpose.
//
// type is not exposed on purpose.
type Pthread_mutexattr_t = struct {
_ [0]uint32
F__size [4]uint8
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:36:3 */
// Data structure for condition variable handling. The structure of
// the attribute type is not exposed on purpose.
//
// the attribute type is not exposed on purpose.
type Pthread_condattr_t = struct {
_ [0]uint32
F__size [4]uint8
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:45:3 */
// Keys for thread-specific data
@ -2430,8 +2399,8 @@ type Pthread_key_t = uint32 /* pthreadtypes.h:49:22 */
type Pthread_once_t = int32 /* pthreadtypes.h:53:30 */
type Pthread_attr_t1 = struct {
_ [0]uint64
F__size [56]uint8
F__ccgo_pad1 [0]uint64
F__size [56]uint8
} /* pthreadtypes.h:56:1 */
type Pthread_attr_t = Pthread_attr_t1 /* pthreadtypes.h:62:30 */
@ -2441,27 +2410,29 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
// Data structure for reader-writer lock variable handling. The
// structure of the attribute type is deliberately not exposed.
//
// structure of the attribute type is deliberately not exposed.
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
type Pthread_rwlockattr_t = struct {
_ [0]uint64
F__size [8]uint8
F__ccgo_pad1 [0]uint64
F__size [8]uint8
} /* pthreadtypes.h:97:3 */
// POSIX spinlock data type.
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
// POSIX barriers data type. The structure of the type is
// deliberately not exposed.
//
// deliberately not exposed.
type Pthread_barrier_t = struct {
_ [0]uint64
F__size [32]uint8
F__ccgo_pad1 [0]uint64
F__size [32]uint8
} /* pthreadtypes.h:112:3 */
type Pthread_barrierattr_t = struct {
_ [0]uint32
F__size [4]uint8
F__ccgo_pad1 [0]uint32
F__size [4]uint8
} /* pthreadtypes.h:118:3 */
// Type for length arguments in socket calls.
@ -2524,25 +2495,26 @@ type Sockaddr_storage = struct {
} /* socket.h:191:1 */
// Structure describing messages sent by
// `sendmsg' and received by `recvmsg'.
//
// `sendmsg' and received by `recvmsg'.
type Msghdr = struct {
Fmsg_name uintptr
Fmsg_namelen Socklen_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fmsg_iov uintptr
Fmsg_iovlen Size_t
Fmsg_control uintptr
Fmsg_controllen Size_t
Fmsg_flags int32
_ [4]byte
F__ccgo_pad2 [4]byte
} /* socket.h:257:1 */
// Structure used for storage of ancillary data object information.
type Cmsghdr = struct {
_ [0]uint64
Fcmsg_len Size_t
Fcmsg_level int32
Fcmsg_type int32
F__ccgo_pad1 [0]uint64
Fcmsg_len Size_t
Fcmsg_level int32
Fcmsg_type int32
} /* socket.h:275:1 */
// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
@ -2632,16 +2604,17 @@ type X__kernel_old_gid_t = X__kernel_gid_t /* posix_types.h:55:24 */
type X__kernel_fsid_t = struct{ Fval [2]int32 } /* posix_types.h:81:3 */
// anything below here should be completely generic
type X__kernel_off_t = X__kernel_long_t /* posix_types.h:87:25 */
type X__kernel_loff_t = int64 /* posix_types.h:88:19 */
type X__kernel_time_t = X__kernel_long_t /* posix_types.h:89:25 */
type X__kernel_time64_t = int64 /* posix_types.h:90:19 */
type X__kernel_clock_t = X__kernel_long_t /* posix_types.h:91:25 */
type X__kernel_timer_t = int32 /* posix_types.h:92:14 */
type X__kernel_clockid_t = int32 /* posix_types.h:93:14 */
type X__kernel_caddr_t = uintptr /* posix_types.h:94:14 */
type X__kernel_uid16_t = uint16 /* posix_types.h:95:24 */
type X__kernel_gid16_t = uint16 /* posix_types.h:96:24 */
type X__kernel_off_t = X__kernel_long_t /* posix_types.h:87:25 */
type X__kernel_loff_t = int64 /* posix_types.h:88:19 */
type X__kernel_old_time_t = X__kernel_long_t /* posix_types.h:89:25 */
type X__kernel_time_t = X__kernel_long_t /* posix_types.h:90:25 */
type X__kernel_time64_t = int64 /* posix_types.h:91:19 */
type X__kernel_clock_t = X__kernel_long_t /* posix_types.h:92:25 */
type X__kernel_timer_t = int32 /* posix_types.h:93:14 */
type X__kernel_clockid_t = int32 /* posix_types.h:94:14 */
type X__kernel_caddr_t = uintptr /* posix_types.h:95:14 */
type X__kernel_uid16_t = uint16 /* posix_types.h:96:24 */
type X__kernel_gid16_t = uint16 /* posix_types.h:97:24 */
// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
@ -2664,7 +2637,8 @@ type Linger = struct {
} /* socket.h:361:1 */
// This is the 4.3 BSD `struct sockaddr' format, which is used as wire
// format in the grotty old 4.3 `talk' protocol.
//
// format in the grotty old 4.3 `talk' protocol.
type Osockaddr = struct {
Fsa_family uint16
Fsa_data [14]uint8
@ -2741,8 +2715,9 @@ type In_addr = struct{ Fs_addr In_addr_t } /* in.h:31:1 */
// To select the IP level.
// Structure used to describe IP options for IP_OPTIONS and IP_RETOPTS.
// The `ip_dst' field is used for the first-hop gateway when using a
// source route (this gets put into the header proper).
//
// The `ip_dst' field is used for the first-hop gateway when using a
// source route (this gets put into the header proper).
type Ip_opts = struct {
Fip_dst struct{ Fs_addr In_addr_t }
Fip_opts [40]uint8
@ -2782,8 +2757,8 @@ type In_port_t = Uint16_t /* in.h:119:18 */
// IPv6 address
type In6_addr = struct {
F__in6_u struct {
_ [0]uint32
F__u6_addr8 [16]Uint8_t
F__ccgo_pad1 [0]uint32
F__u6_addr8 [16]Uint8_t
}
} /* in.h:212:1 */
@ -2804,8 +2779,8 @@ type Sockaddr_in6 = struct {
Fsin6_flowinfo Uint32_t
Fsin6_addr struct {
F__in6_u struct {
_ [0]uint32
F__u6_addr8 [16]Uint8_t
F__ccgo_pad1 [0]uint32
F__u6_addr8 [16]Uint8_t
}
}
Fsin6_scope_id Uint32_t
@ -2827,8 +2802,8 @@ type Ip_mreq_source = struct {
type Ipv6_mreq = struct {
Fipv6mr_multiaddr struct {
F__in6_u struct {
_ [0]uint32
F__u6_addr8 [16]Uint8_t
F__ccgo_pad1 [0]uint32
F__u6_addr8 [16]Uint8_t
}
}
Fipv6mr_interface uint32
@ -2837,7 +2812,7 @@ type Ipv6_mreq = struct {
// Multicast group request.
type Group_req = struct {
Fgr_interface Uint32_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fgr_group struct {
Fss_family Sa_family_t
F__ss_padding [118]uint8
@ -2847,7 +2822,7 @@ type Group_req = struct {
type Group_source_req = struct {
Fgsr_interface Uint32_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fgsr_group struct {
Fss_family Sa_family_t
F__ss_padding [118]uint8
@ -2871,7 +2846,7 @@ type Ip_msfilter = struct {
type Group_filter = struct {
Fgf_interface Uint32_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fgf_group struct {
Fss_family Sa_family_t
F__ss_padding [118]uint8
@ -2956,7 +2931,7 @@ type Group_filter = struct {
// License along with the GNU C Library; if not, see
// <https://www.gnu.org/licenses/>.
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
// Copyright (C) 1989-2020 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@ -2988,15 +2963,6 @@ type Group_filter = struct {
// This avoids lossage on SunOS but only if stdtypes.h comes first.
// There's no way to win with the other order! Sun lossage.
// On 4.3bsd-net2, make sure ansi.h is included, so we have
// one less case to deal with in the following.
// On FreeBSD 5, machine/ansi.h does not exist anymore...
// In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
// defined if the corresponding type is *not* defined.
// FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
// NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_
// Sequent's header files use _PTRDIFF_T_ in some conflicting way.
// Just ignore it.
@ -3031,18 +2997,13 @@ type Group_filter = struct {
// Define this type if we are doing the whole job,
// or if we want this type in particular.
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
// A null pointer constant.
type Rpcent = struct {
Fr_name uintptr
Fr_aliases uintptr
Fr_number int32
_ [4]byte
Fr_name uintptr
Fr_aliases uintptr
Fr_number int32
F__ccgo_pad1 [4]byte
} /* netdb.h:46:1 */
// Copyright (C) 1996-2020 Free Software Foundation, Inc.
@ -3063,8 +3024,9 @@ type Rpcent = struct {
// <https://www.gnu.org/licenses/>.
// Description of data base entry for a single network. NOTE: here a
// poor assumption is made. The network number is expected to fit
// into an unsigned long int variable.
//
// poor assumption is made. The network number is expected to fit
// into an unsigned long int variable.
type Netent = struct {
Fn_name uintptr
Fn_aliases uintptr
@ -3083,19 +3045,19 @@ type Hostent = struct {
// Description of data base entry for a single service.
type Servent = struct {
Fs_name uintptr
Fs_aliases uintptr
Fs_port int32
_ [4]byte
Fs_proto uintptr
Fs_name uintptr
Fs_aliases uintptr
Fs_port int32
F__ccgo_pad1 [4]byte
Fs_proto uintptr
} /* netdb.h:255:1 */
// Description of data base entry for a single service.
type Protoent = struct {
Fp_name uintptr
Fp_aliases uintptr
Fp_proto int32
_ [4]byte
Fp_name uintptr
Fp_aliases uintptr
Fp_proto int32
F__ccgo_pad1 [4]byte
} /* netdb.h:324:1 */
// Extension from POSIX.1:2001.
@ -3106,7 +3068,7 @@ type Addrinfo = struct {
Fai_socktype int32
Fai_protocol int32
Fai_addrlen Socklen_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fai_addr uintptr
Fai_canonname uintptr
Fai_next uintptr

View File

@ -1,4 +1,4 @@
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
// Code generated by 'ccgo netdb/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o netdb/netdb_netbsd_amd64.go -pkgname netdb', DO NOT EDIT.
package netdb
@ -15,288 +15,288 @@ var _ atomic.Value
var _ unsafe.Pointer
const (
AI_ADDRCONFIG = 0x00000400
AI_CANONNAME = 0x00000002
AI_MASK = 3087
AI_NUMERICHOST = 0x00000004
AI_NUMERICSERV = 0x00000008
AI_PASSIVE = 0x00000001
AI_SRV = 0x00000800
EAI_ADDRFAMILY = 1
EAI_AGAIN = 2
EAI_BADFLAGS = 3
EAI_BADHINTS = 12
EAI_FAIL = 4
EAI_FAMILY = 5
EAI_MAX = 15
EAI_MEMORY = 6
EAI_NODATA = 7
EAI_NONAME = 8
EAI_OVERFLOW = 14
EAI_PROTOCOL = 13
EAI_SERVICE = 9
EAI_SOCKTYPE = 10
EAI_SYSTEM = 11
HOST_NOT_FOUND = 1
INT16_MAX = 32767
INT16_MIN = -32768
INT32_MAX = 2147483647
INT32_MIN = -2147483648
INT64_MAX = 9223372036854775807
INT64_MIN = -9223372036854775808
INT8_MAX = 127
INT8_MIN = -128
INTMAX_MAX = 9223372036854775807
INTMAX_MIN = -9223372036854775808
INTPTR_MAX = 9223372036854775807
INTPTR_MIN = -9223372036854775808
INT_FAST16_MAX = 2147483647
INT_FAST16_MIN = -2147483648
INT_FAST32_MAX = 2147483647
INT_FAST32_MIN = -2147483648
INT_FAST64_MAX = 9223372036854775807
INT_FAST64_MIN = -9223372036854775808
INT_FAST8_MAX = 2147483647
INT_FAST8_MIN = -2147483648
INT_LEAST16_MAX = 32767
INT_LEAST16_MIN = -32768
INT_LEAST32_MAX = 2147483647
INT_LEAST32_MIN = -2147483648
INT_LEAST64_MAX = 9223372036854775807
INT_LEAST64_MIN = -9223372036854775808
INT_LEAST8_MAX = 127
INT_LEAST8_MIN = -128
NETDB_INTERNAL = -1
NETDB_SUCCESS = 0
NI_DGRAM = 0x00000010
NI_MAXHOST = 1025
NI_MAXSERV = 32
NI_NAMEREQD = 0x00000004
NI_NOFQDN = 0x00000001
NI_NUMERICHOST = 0x00000002
NI_NUMERICSCOPE = 0x00000040
NI_NUMERICSERV = 0x00000008
NI_WITHSCOPEID = 0x00000020
NO_ADDRESS = 4
NO_DATA = 4
NO_RECOVERY = 3
PRIX16 = "X"
PRIX32 = "X"
PRIX64 = "lX"
PRIX8 = "X"
PRIXFAST16 = "X"
PRIXFAST32 = "X"
PRIXFAST64 = "lX"
PRIXFAST8 = "X"
PRIXLEAST16 = "X"
PRIXLEAST32 = "X"
PRIXLEAST64 = "lX"
PRIXLEAST8 = "X"
PRIXMAX = "lX"
PRIXPTR = "lX"
PRId16 = "d"
PRId32 = "d"
PRId64 = "ld"
PRId8 = "d"
PRIdFAST16 = "d"
PRIdFAST32 = "d"
PRIdFAST64 = "ld"
PRIdFAST8 = "d"
PRIdLEAST16 = "d"
PRIdLEAST32 = "d"
PRIdLEAST64 = "ld"
PRIdLEAST8 = "d"
PRIdMAX = "ld"
PRIdPTR = "ld"
PRIi16 = "i"
PRIi32 = "i"
PRIi64 = "li"
PRIi8 = "i"
PRIiFAST16 = "i"
PRIiFAST32 = "i"
PRIiFAST64 = "li"
PRIiFAST8 = "i"
PRIiLEAST16 = "i"
PRIiLEAST32 = "i"
PRIiLEAST64 = "li"
PRIiLEAST8 = "i"
PRIiMAX = "li"
PRIiPTR = "li"
PRIo16 = "o"
PRIo32 = "o"
PRIo64 = "lo"
PRIo8 = "o"
PRIoFAST16 = "o"
PRIoFAST32 = "o"
PRIoFAST64 = "lo"
PRIoFAST8 = "o"
PRIoLEAST16 = "o"
PRIoLEAST32 = "o"
PRIoLEAST64 = "lo"
PRIoLEAST8 = "o"
PRIoMAX = "lo"
PRIoPTR = "lo"
PRIu16 = "u"
PRIu32 = "u"
PRIu64 = "lu"
PRIu8 = "u"
PRIuFAST16 = "u"
PRIuFAST32 = "u"
PRIuFAST64 = "lu"
PRIuFAST8 = "u"
PRIuLEAST16 = "u"
PRIuLEAST32 = "u"
PRIuLEAST64 = "lu"
PRIuLEAST8 = "u"
PRIuMAX = "lu"
PRIuPTR = "lu"
PRIx16 = "x"
PRIx32 = "x"
PRIx64 = "lx"
PRIx8 = "x"
PRIxFAST16 = "x"
PRIxFAST32 = "x"
PRIxFAST64 = "lx"
PRIxFAST8 = "x"
PRIxLEAST16 = "x"
PRIxLEAST32 = "x"
PRIxLEAST64 = "lx"
PRIxLEAST8 = "x"
PRIxMAX = "lx"
PRIxPTR = "lx"
PTRDIFF_MAX = 9223372036854775807
PTRDIFF_MIN = -9223372036854775808
SCNd16 = "hd"
SCNd32 = "d"
SCNd64 = "ld"
SCNd8 = "hhd"
SCNdFAST16 = "d"
SCNdFAST32 = "d"
SCNdFAST64 = "ld"
SCNdFAST8 = "d"
SCNdLEAST16 = "hd"
SCNdLEAST32 = "d"
SCNdLEAST64 = "ld"
SCNdLEAST8 = "hhd"
SCNdMAX = "ld"
SCNdPTR = "ld"
SCNi16 = "hi"
SCNi32 = "i"
SCNi64 = "li"
SCNi8 = "hhi"
SCNiFAST16 = "i"
SCNiFAST32 = "i"
SCNiFAST64 = "li"
SCNiFAST8 = "i"
SCNiLEAST16 = "hi"
SCNiLEAST32 = "i"
SCNiLEAST64 = "li"
SCNiLEAST8 = "hhi"
SCNiMAX = "li"
SCNiPTR = "li"
SCNo16 = "ho"
SCNo32 = "o"
SCNo64 = "lo"
SCNo8 = "hho"
SCNoFAST16 = "o"
SCNoFAST32 = "o"
SCNoFAST64 = "lo"
SCNoFAST8 = "o"
SCNoLEAST16 = "ho"
SCNoLEAST32 = "o"
SCNoLEAST64 = "lo"
SCNoLEAST8 = "hho"
SCNoMAX = "lo"
SCNoPTR = "lo"
SCNu16 = "hu"
SCNu32 = "u"
SCNu64 = "lu"
SCNu8 = "hhu"
SCNuFAST16 = "u"
SCNuFAST32 = "u"
SCNuFAST64 = "lu"
SCNuFAST8 = "u"
SCNuLEAST16 = "hu"
SCNuLEAST32 = "u"
SCNuLEAST64 = "lu"
SCNuLEAST8 = "hhu"
SCNuMAX = "lu"
SCNuPTR = "lu"
SCNx16 = "hx"
SCNx32 = "x"
SCNx64 = "lx"
SCNx8 = "hhx"
SCNxFAST16 = "x"
SCNxFAST32 = "x"
SCNxFAST64 = "lx"
SCNxFAST8 = "x"
SCNxLEAST16 = "hx"
SCNxLEAST32 = "x"
SCNxLEAST64 = "lx"
SCNxLEAST8 = "hhx"
SCNxMAX = "lx"
SCNxPTR = "lx"
SCOPE_DELIMITER = 37
SIG_ATOMIC_MAX = 2147483647
SIG_ATOMIC_MIN = -2147483648
SIZE_MAX = 18446744073709551615
TRY_AGAIN = 2
UINT16_MAX = 65535
UINT32_MAX = 4294967295
UINT64_MAX = 18446744073709551615
UINT8_MAX = 255
UINTMAX_MAX = 18446744073709551615
UINTPTR_MAX = 18446744073709551615
UINT_FAST16_MAX = 4294967295
UINT_FAST32_MAX = 4294967295
UINT_FAST64_MAX = 18446744073709551615
UINT_FAST8_MAX = 4294967295
UINT_LEAST16_MAX = 65535
UINT_LEAST32_MAX = 4294967295
UINT_LEAST64_MAX = 18446744073709551615
UINT_LEAST8_MAX = 255
WCHAR_MAX = 0x7fffffff
WCHAR_MIN = -2147483648
WINT_MAX = 0x7fffffff
WINT_MIN = -2147483648
X_AMD64_INT_CONST_H_ = 0
X_AMD64_INT_FMTIO_H_ = 0
X_AMD64_INT_LIMITS_H_ = 0
X_AMD64_INT_MWGWTYPES_H_ = 0
X_AMD64_INT_TYPES_H_ = 0
X_AMD64_WCHAR_LIMITS_H_ = 0
X_BSD_INT16_T_ = 0
X_BSD_INT32_T_ = 0
X_BSD_INT64_T_ = 0
X_BSD_INT8_T_ = 0
X_BSD_INTPTR_T_ = 0
X_BSD_UINT16_T_ = 0
X_BSD_UINT32_T_ = 0
X_BSD_UINT64_T_ = 0
X_BSD_UINT8_T_ = 0
X_BSD_UINTPTR_T_ = 0
X_FILE_OFFSET_BITS = 64
X_INTTYPES_H_ = 0
X_LP64 = 1
X_NETBSD_SOURCE = 1
X_NETDB_H_ = 0
X_PATH_HEQUIV = "/etc/hosts.equiv"
X_PATH_HOSTS = "/etc/hosts"
X_PATH_NETWORKS = "/etc/networks"
X_PATH_PROTOCOLS = "/etc/protocols"
X_PATH_SERVICES = "/etc/services"
X_PATH_SERVICES_CDB = "/var/db/services.cdb"
X_PATH_SERVICES_DB = "/var/db/services.db"
X_SYS_ANSI_H_ = 0
X_SYS_CDEFS_ELF_H_ = 0
X_SYS_CDEFS_H_ = 0
X_SYS_COMMON_ANSI_H_ = 0
X_SYS_COMMON_INT_LIMITS_H_ = 0
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0
X_SYS_COMMON_INT_TYPES_H_ = 0
X_SYS_INTTYPES_H_ = 0
X_SYS_STDINT_H_ = 0
X_X86_64_CDEFS_H_ = 0
AI_ADDRCONFIG = 0x00000400 // netdb.h:269:1:
AI_CANONNAME = 0x00000002 // netdb.h:266:1:
AI_MASK = 3087 // netdb.h:273:1:
AI_NUMERICHOST = 0x00000004 // netdb.h:267:1:
AI_NUMERICSERV = 0x00000008 // netdb.h:268:1:
AI_PASSIVE = 0x00000001 // netdb.h:265:1:
AI_SRV = 0x00000800 // netdb.h:272:1:
EAI_ADDRFAMILY = 1 // netdb.h:243:1:
EAI_AGAIN = 2 // netdb.h:244:1:
EAI_BADFLAGS = 3 // netdb.h:245:1:
EAI_BADHINTS = 12 // netdb.h:254:1:
EAI_FAIL = 4 // netdb.h:246:1:
EAI_FAMILY = 5 // netdb.h:247:1:
EAI_MAX = 15 // netdb.h:257:1:
EAI_MEMORY = 6 // netdb.h:248:1:
EAI_NODATA = 7 // netdb.h:249:1:
EAI_NONAME = 8 // netdb.h:250:1:
EAI_OVERFLOW = 14 // netdb.h:256:1:
EAI_PROTOCOL = 13 // netdb.h:255:1:
EAI_SERVICE = 9 // netdb.h:251:1:
EAI_SOCKTYPE = 10 // netdb.h:252:1:
EAI_SYSTEM = 11 // netdb.h:253:1:
HOST_NOT_FOUND = 1 // netdb.h:230:1:
INT16_MAX = 32767 // common_int_limits.h:53:1:
INT16_MIN = -32768 // common_int_limits.h:47:1:
INT32_MAX = 2147483647 // common_int_limits.h:54:1:
INT32_MIN = -2147483648 // common_int_limits.h:48:1:
INT64_MAX = 9223372036854775807 // common_int_limits.h:55:1:
INT64_MIN = -9223372036854775808 // common_int_limits.h:49:1:
INT8_MAX = 127 // common_int_limits.h:52:1:
INT8_MIN = -128 // common_int_limits.h:46:1:
INTMAX_MAX = 9223372036854775807 // common_int_limits.h:111:1:
INTMAX_MIN = -9223372036854775808 // common_int_limits.h:110:1:
INTPTR_MAX = 9223372036854775807 // common_int_limits.h:105:1:
INTPTR_MIN = -9223372036854775808 // common_int_limits.h:104:1:
INT_FAST16_MAX = 2147483647 // common_int_limits.h:93:1:
INT_FAST16_MIN = -2147483648 // common_int_limits.h:87:1:
INT_FAST32_MAX = 2147483647 // common_int_limits.h:94:1:
INT_FAST32_MIN = -2147483648 // common_int_limits.h:88:1:
INT_FAST64_MAX = 9223372036854775807 // common_int_limits.h:95:1:
INT_FAST64_MIN = -9223372036854775808 // common_int_limits.h:89:1:
INT_FAST8_MAX = 2147483647 // common_int_limits.h:92:1:
INT_FAST8_MIN = -2147483648 // common_int_limits.h:86:1:
INT_LEAST16_MAX = 32767 // common_int_limits.h:73:1:
INT_LEAST16_MIN = -32768 // common_int_limits.h:67:1:
INT_LEAST32_MAX = 2147483647 // common_int_limits.h:74:1:
INT_LEAST32_MIN = -2147483648 // common_int_limits.h:68:1:
INT_LEAST64_MAX = 9223372036854775807 // common_int_limits.h:75:1:
INT_LEAST64_MIN = -9223372036854775808 // common_int_limits.h:69:1:
INT_LEAST8_MAX = 127 // common_int_limits.h:72:1:
INT_LEAST8_MIN = -128 // common_int_limits.h:66:1:
NETDB_INTERNAL = -1 // netdb.h:226:1:
NETDB_SUCCESS = 0 // netdb.h:227:1:
NI_DGRAM = 0x00000010 // netdb.h:300:1:
NI_MAXHOST = 1025 // netdb.h:289:1:
NI_MAXSERV = 32 // netdb.h:290:1:
NI_NAMEREQD = 0x00000004 // netdb.h:298:1:
NI_NOFQDN = 0x00000001 // netdb.h:296:1:
NI_NUMERICHOST = 0x00000002 // netdb.h:297:1:
NI_NUMERICSCOPE = 0x00000040 // netdb.h:302:1:
NI_NUMERICSERV = 0x00000008 // netdb.h:299:1:
NI_WITHSCOPEID = 0x00000020 // netdb.h:301:1:
NO_ADDRESS = 4 // netdb.h:235:1:
NO_DATA = 4 // netdb.h:233:1:
NO_RECOVERY = 3 // netdb.h:232:1:
PRIX16 = "X" // int_fmtio.h:125:1:
PRIX32 = "X" // int_fmtio.h:126:1:
PRIX64 = "lX" // int_fmtio.h:127:1:
PRIX8 = "X" // int_fmtio.h:124:1:
PRIXFAST16 = "X" // int_fmtio.h:133:1:
PRIXFAST32 = "X" // int_fmtio.h:134:1:
PRIXFAST64 = "lX" // int_fmtio.h:135:1:
PRIXFAST8 = "X" // int_fmtio.h:132:1:
PRIXLEAST16 = "X" // int_fmtio.h:129:1:
PRIXLEAST32 = "X" // int_fmtio.h:130:1:
PRIXLEAST64 = "lX" // int_fmtio.h:131:1:
PRIXLEAST8 = "X" // int_fmtio.h:128:1:
PRIXMAX = "lX" // int_fmtio.h:136:1:
PRIXPTR = "lX" // int_fmtio.h:137:1:
PRId16 = "d" // int_fmtio.h:48:1:
PRId32 = "d" // int_fmtio.h:49:1:
PRId64 = "ld" // int_fmtio.h:50:1:
PRId8 = "d" // int_fmtio.h:47:1:
PRIdFAST16 = "d" // int_fmtio.h:56:1:
PRIdFAST32 = "d" // int_fmtio.h:57:1:
PRIdFAST64 = "ld" // int_fmtio.h:58:1:
PRIdFAST8 = "d" // int_fmtio.h:55:1:
PRIdLEAST16 = "d" // int_fmtio.h:52:1:
PRIdLEAST32 = "d" // int_fmtio.h:53:1:
PRIdLEAST64 = "ld" // int_fmtio.h:54:1:
PRIdLEAST8 = "d" // int_fmtio.h:51:1:
PRIdMAX = "ld" // int_fmtio.h:59:1:
PRIdPTR = "ld" // int_fmtio.h:60:1:
PRIi16 = "i" // int_fmtio.h:63:1:
PRIi32 = "i" // int_fmtio.h:64:1:
PRIi64 = "li" // int_fmtio.h:65:1:
PRIi8 = "i" // int_fmtio.h:62:1:
PRIiFAST16 = "i" // int_fmtio.h:71:1:
PRIiFAST32 = "i" // int_fmtio.h:72:1:
PRIiFAST64 = "li" // int_fmtio.h:73:1:
PRIiFAST8 = "i" // int_fmtio.h:70:1:
PRIiLEAST16 = "i" // int_fmtio.h:67:1:
PRIiLEAST32 = "i" // int_fmtio.h:68:1:
PRIiLEAST64 = "li" // int_fmtio.h:69:1:
PRIiLEAST8 = "i" // int_fmtio.h:66:1:
PRIiMAX = "li" // int_fmtio.h:74:1:
PRIiPTR = "li" // int_fmtio.h:75:1:
PRIo16 = "o" // int_fmtio.h:80:1:
PRIo32 = "o" // int_fmtio.h:81:1:
PRIo64 = "lo" // int_fmtio.h:82:1:
PRIo8 = "o" // int_fmtio.h:79:1:
PRIoFAST16 = "o" // int_fmtio.h:88:1:
PRIoFAST32 = "o" // int_fmtio.h:89:1:
PRIoFAST64 = "lo" // int_fmtio.h:90:1:
PRIoFAST8 = "o" // int_fmtio.h:87:1:
PRIoLEAST16 = "o" // int_fmtio.h:84:1:
PRIoLEAST32 = "o" // int_fmtio.h:85:1:
PRIoLEAST64 = "lo" // int_fmtio.h:86:1:
PRIoLEAST8 = "o" // int_fmtio.h:83:1:
PRIoMAX = "lo" // int_fmtio.h:91:1:
PRIoPTR = "lo" // int_fmtio.h:92:1:
PRIu16 = "u" // int_fmtio.h:95:1:
PRIu32 = "u" // int_fmtio.h:96:1:
PRIu64 = "lu" // int_fmtio.h:97:1:
PRIu8 = "u" // int_fmtio.h:94:1:
PRIuFAST16 = "u" // int_fmtio.h:103:1:
PRIuFAST32 = "u" // int_fmtio.h:104:1:
PRIuFAST64 = "lu" // int_fmtio.h:105:1:
PRIuFAST8 = "u" // int_fmtio.h:102:1:
PRIuLEAST16 = "u" // int_fmtio.h:99:1:
PRIuLEAST32 = "u" // int_fmtio.h:100:1:
PRIuLEAST64 = "lu" // int_fmtio.h:101:1:
PRIuLEAST8 = "u" // int_fmtio.h:98:1:
PRIuMAX = "lu" // int_fmtio.h:106:1:
PRIuPTR = "lu" // int_fmtio.h:107:1:
PRIx16 = "x" // int_fmtio.h:110:1:
PRIx32 = "x" // int_fmtio.h:111:1:
PRIx64 = "lx" // int_fmtio.h:112:1:
PRIx8 = "x" // int_fmtio.h:109:1:
PRIxFAST16 = "x" // int_fmtio.h:118:1:
PRIxFAST32 = "x" // int_fmtio.h:119:1:
PRIxFAST64 = "lx" // int_fmtio.h:120:1:
PRIxFAST8 = "x" // int_fmtio.h:117:1:
PRIxLEAST16 = "x" // int_fmtio.h:114:1:
PRIxLEAST32 = "x" // int_fmtio.h:115:1:
PRIxLEAST64 = "lx" // int_fmtio.h:116:1:
PRIxLEAST8 = "x" // int_fmtio.h:113:1:
PRIxMAX = "lx" // int_fmtio.h:121:1:
PRIxPTR = "lx" // int_fmtio.h:122:1:
PTRDIFF_MAX = 9223372036854775807 // common_int_limits.h:121:1:
PTRDIFF_MIN = -9223372036854775808 // common_int_limits.h:120:1:
SCNd16 = "hd" // int_fmtio.h:142:1:
SCNd32 = "d" // int_fmtio.h:143:1:
SCNd64 = "ld" // int_fmtio.h:144:1:
SCNd8 = "hhd" // int_fmtio.h:141:1:
SCNdFAST16 = "d" // int_fmtio.h:150:1:
SCNdFAST32 = "d" // int_fmtio.h:151:1:
SCNdFAST64 = "ld" // int_fmtio.h:152:1:
SCNdFAST8 = "d" // int_fmtio.h:149:1:
SCNdLEAST16 = "hd" // int_fmtio.h:146:1:
SCNdLEAST32 = "d" // int_fmtio.h:147:1:
SCNdLEAST64 = "ld" // int_fmtio.h:148:1:
SCNdLEAST8 = "hhd" // int_fmtio.h:145:1:
SCNdMAX = "ld" // int_fmtio.h:153:1:
SCNdPTR = "ld" // int_fmtio.h:154:1:
SCNi16 = "hi" // int_fmtio.h:157:1:
SCNi32 = "i" // int_fmtio.h:158:1:
SCNi64 = "li" // int_fmtio.h:159:1:
SCNi8 = "hhi" // int_fmtio.h:156:1:
SCNiFAST16 = "i" // int_fmtio.h:165:1:
SCNiFAST32 = "i" // int_fmtio.h:166:1:
SCNiFAST64 = "li" // int_fmtio.h:167:1:
SCNiFAST8 = "i" // int_fmtio.h:164:1:
SCNiLEAST16 = "hi" // int_fmtio.h:161:1:
SCNiLEAST32 = "i" // int_fmtio.h:162:1:
SCNiLEAST64 = "li" // int_fmtio.h:163:1:
SCNiLEAST8 = "hhi" // int_fmtio.h:160:1:
SCNiMAX = "li" // int_fmtio.h:168:1:
SCNiPTR = "li" // int_fmtio.h:169:1:
SCNo16 = "ho" // int_fmtio.h:174:1:
SCNo32 = "o" // int_fmtio.h:175:1:
SCNo64 = "lo" // int_fmtio.h:176:1:
SCNo8 = "hho" // int_fmtio.h:173:1:
SCNoFAST16 = "o" // int_fmtio.h:182:1:
SCNoFAST32 = "o" // int_fmtio.h:183:1:
SCNoFAST64 = "lo" // int_fmtio.h:184:1:
SCNoFAST8 = "o" // int_fmtio.h:181:1:
SCNoLEAST16 = "ho" // int_fmtio.h:178:1:
SCNoLEAST32 = "o" // int_fmtio.h:179:1:
SCNoLEAST64 = "lo" // int_fmtio.h:180:1:
SCNoLEAST8 = "hho" // int_fmtio.h:177:1:
SCNoMAX = "lo" // int_fmtio.h:185:1:
SCNoPTR = "lo" // int_fmtio.h:186:1:
SCNu16 = "hu" // int_fmtio.h:189:1:
SCNu32 = "u" // int_fmtio.h:190:1:
SCNu64 = "lu" // int_fmtio.h:191:1:
SCNu8 = "hhu" // int_fmtio.h:188:1:
SCNuFAST16 = "u" // int_fmtio.h:197:1:
SCNuFAST32 = "u" // int_fmtio.h:198:1:
SCNuFAST64 = "lu" // int_fmtio.h:199:1:
SCNuFAST8 = "u" // int_fmtio.h:196:1:
SCNuLEAST16 = "hu" // int_fmtio.h:193:1:
SCNuLEAST32 = "u" // int_fmtio.h:194:1:
SCNuLEAST64 = "lu" // int_fmtio.h:195:1:
SCNuLEAST8 = "hhu" // int_fmtio.h:192:1:
SCNuMAX = "lu" // int_fmtio.h:200:1:
SCNuPTR = "lu" // int_fmtio.h:201:1:
SCNx16 = "hx" // int_fmtio.h:204:1:
SCNx32 = "x" // int_fmtio.h:205:1:
SCNx64 = "lx" // int_fmtio.h:206:1:
SCNx8 = "hhx" // int_fmtio.h:203:1:
SCNxFAST16 = "x" // int_fmtio.h:212:1:
SCNxFAST32 = "x" // int_fmtio.h:213:1:
SCNxFAST64 = "lx" // int_fmtio.h:214:1:
SCNxFAST8 = "x" // int_fmtio.h:211:1:
SCNxLEAST16 = "hx" // int_fmtio.h:208:1:
SCNxLEAST32 = "x" // int_fmtio.h:209:1:
SCNxLEAST64 = "lx" // int_fmtio.h:210:1:
SCNxLEAST8 = "hhx" // int_fmtio.h:207:1:
SCNxMAX = "lx" // int_fmtio.h:215:1:
SCNxPTR = "lx" // int_fmtio.h:216:1:
SCOPE_DELIMITER = 37 // netdb.h:308:1:
SIG_ATOMIC_MAX = 2147483647 // common_int_limits.h:125:1:
SIG_ATOMIC_MIN = -2147483648 // common_int_limits.h:124:1:
SIZE_MAX = 18446744073709551615 // common_int_limits.h:128:1:
TRY_AGAIN = 2 // netdb.h:231:1:
UINT16_MAX = 65535 // common_int_limits.h:59:1:
UINT32_MAX = 4294967295 // common_int_limits.h:60:1:
UINT64_MAX = 18446744073709551615 // common_int_limits.h:61:1:
UINT8_MAX = 255 // common_int_limits.h:58:1:
UINTMAX_MAX = 18446744073709551615 // common_int_limits.h:112:1:
UINTPTR_MAX = 18446744073709551615 // common_int_limits.h:106:1:
UINT_FAST16_MAX = 4294967295 // common_int_limits.h:99:1:
UINT_FAST32_MAX = 4294967295 // common_int_limits.h:100:1:
UINT_FAST64_MAX = 18446744073709551615 // common_int_limits.h:101:1:
UINT_FAST8_MAX = 4294967295 // common_int_limits.h:98:1:
UINT_LEAST16_MAX = 65535 // common_int_limits.h:79:1:
UINT_LEAST32_MAX = 4294967295 // common_int_limits.h:80:1:
UINT_LEAST64_MAX = 18446744073709551615 // common_int_limits.h:81:1:
UINT_LEAST8_MAX = 255 // common_int_limits.h:78:1:
WCHAR_MAX = 0x7fffffff // wchar_limits.h:41:1:
WCHAR_MIN = -2147483648 // wchar_limits.h:40:1:
WINT_MAX = 0x7fffffff // wchar_limits.h:45:1:
WINT_MIN = -2147483648 // wchar_limits.h:44:1:
X_AMD64_INT_CONST_H_ = 0 // int_const.h:33:1:
X_AMD64_INT_FMTIO_H_ = 0 // int_fmtio.h:33:1:
X_AMD64_INT_LIMITS_H_ = 0 // int_limits.h:33:1:
X_AMD64_INT_MWGWTYPES_H_ = 0 // int_mwgwtypes.h:33:1:
X_AMD64_INT_TYPES_H_ = 0 // int_types.h:35:1:
X_AMD64_WCHAR_LIMITS_H_ = 0 // wchar_limits.h:33:1:
X_BSD_INT16_T_ = 0 // stdint.h:50:1:
X_BSD_INT32_T_ = 0 // stdint.h:60:1:
X_BSD_INT64_T_ = 0 // stdint.h:70:1:
X_BSD_INT8_T_ = 0 // stdint.h:40:1:
X_BSD_INTPTR_T_ = 0 // stdint.h:80:1:
X_BSD_UINT16_T_ = 0 // stdint.h:55:1:
X_BSD_UINT32_T_ = 0 // stdint.h:65:1:
X_BSD_UINT64_T_ = 0 // stdint.h:75:1:
X_BSD_UINT8_T_ = 0 // stdint.h:45:1:
X_BSD_UINTPTR_T_ = 0 // stdint.h:85:1:
X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
X_INTTYPES_H_ = 0 // inttypes.h:33:1:
X_LP64 = 1 // <predefined>:268:1:
X_NETBSD_SOURCE = 1 // featuretest.h:70:1:
X_NETDB_H_ = 0 // netdb.h:91:1:
X_PATH_HEQUIV = "/etc/hosts.equiv" // netdb.h:113:1:
X_PATH_HOSTS = "/etc/hosts" // netdb.h:116:1:
X_PATH_NETWORKS = "/etc/networks" // netdb.h:119:1:
X_PATH_PROTOCOLS = "/etc/protocols" // netdb.h:122:1:
X_PATH_SERVICES = "/etc/services" // netdb.h:125:1:
X_PATH_SERVICES_CDB = "/var/db/services.cdb" // netdb.h:128:1:
X_PATH_SERVICES_DB = "/var/db/services.db" // netdb.h:131:1:
X_SYS_ANSI_H_ = 0 // ansi.h:33:1:
X_SYS_CDEFS_ELF_H_ = 0 // cdefs_elf.h:31:1:
X_SYS_CDEFS_H_ = 0 // cdefs.h:37:1:
X_SYS_COMMON_ANSI_H_ = 0 // common_ansi.h:33:1:
X_SYS_COMMON_INT_LIMITS_H_ = 0 // common_int_limits.h:33:1:
X_SYS_COMMON_INT_MWGWTYPES_H_ = 0 // common_int_mwgwtypes.h:33:1:
X_SYS_COMMON_INT_TYPES_H_ = 0 // common_int_types.h:33:1:
X_SYS_INTTYPES_H_ = 0 // inttypes.h:33:1:
X_SYS_STDINT_H_ = 0 // stdint.h:33:1:
X_X86_64_CDEFS_H_ = 0 // cdefs.h:4:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@ -523,8 +523,8 @@ type X__wctype_t = uintptr /* ansi.h:54:31 */
// mbstate_t is an opaque object to keep conversion state, during multibyte
// stream conversions. The content must not be referenced by user programs.
type X__mbstate_t = struct {
F__mbstateL X__int64_t
_ [120]byte
F__mbstateL X__int64_t
F__ccgo_pad1 [120]byte
} /* ansi.h:63:3 */
type X__va_list = X__builtin_va_list /* ansi.h:72:27 */
@ -980,18 +980,18 @@ type Netent = struct {
} /* netdb.h:161:1 */
type Servent = struct {
Fs_name uintptr
Fs_aliases uintptr
Fs_port int32
_ [4]byte
Fs_proto uintptr
Fs_name uintptr
Fs_aliases uintptr
Fs_port int32
F__ccgo_pad1 [4]byte
Fs_proto uintptr
} /* netdb.h:176:1 */
type Protoent = struct {
Fp_name uintptr
Fp_aliases uintptr
Fp_proto int32
_ [4]byte
Fp_name uintptr
Fp_aliases uintptr
Fp_proto int32
F__ccgo_pad1 [4]byte
} /* netdb.h:183:1 */
// Note: ai_addrlen used to be a size_t, per RFC 2553.
@ -1009,7 +1009,7 @@ type Addrinfo = struct {
Fai_socktype int32
Fai_protocol int32
Fai_addrlen X__socklen_t
_ [4]byte
F__ccgo_pad1 [4]byte
Fai_canonname uintptr
Fai_addr uintptr
Fai_next uintptr