Update dependencies (#1929)
This commit is contained in:
56
vendor/modernc.org/libc/netdb/netdb_linux_amd64.go
generated
vendored
56
vendor/modernc.org/libc/netdb/netdb_linux_amd64.go
generated
vendored
@@ -550,8 +550,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.
|
||||
@@ -589,7 +590,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
|
||||
)
|
||||
@@ -637,7 +639,8 @@ const ( /* socket_type.h:24: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.
|
||||
@@ -1394,7 +1397,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 */
|
||||
|
||||
@@ -1405,8 +1409,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
|
||||
@@ -2010,7 +2015,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
|
||||
@@ -2057,7 +2063,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
|
||||
@@ -2369,18 +2376,21 @@ 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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
} /* 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 {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
@@ -2404,7 +2414,8 @@ 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 {
|
||||
@@ -2416,7 +2427,8 @@ type Pthread_rwlockattr_t = struct {
|
||||
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 {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]int8
|
||||
@@ -2487,7 +2499,8 @@ 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
|
||||
@@ -2628,7 +2641,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
|
||||
@@ -2705,8 +2719,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]int8
|
||||
@@ -3013,8 +3028,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
|
||||
|
||||
Reference in New Issue
Block a user