1#![allow(
4 dead_code,
5 non_camel_case_types,
6 non_upper_case_globals,
7 non_snake_case
8)]
9
10#[repr(C)]
11#[derive(Default)]
12pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
13impl<T> __IncompleteArrayField<T> {
14 #[inline]
15 pub const fn new() -> Self {
16 __IncompleteArrayField(::std::marker::PhantomData, [])
17 }
18 #[inline]
19 pub fn as_ptr(&self) -> *const T {
20 self as *const _ as *const T
21 }
22 #[inline]
23 pub fn as_mut_ptr(&mut self) -> *mut T {
24 self as *mut _ as *mut T
25 }
26 #[inline]
27 pub unsafe fn as_slice(&self, len: usize) -> &[T] {
28 ::std::slice::from_raw_parts(self.as_ptr(), len)
29 }
30 #[inline]
31 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
32 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
33 }
34}
35impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
36 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
37 fmt.write_str("__IncompleteArrayField")
38 }
39}
40pub const _SYS_TYPES_H: u32 = 1;
41pub const _FEATURES_H: u32 = 1;
42pub const _DEFAULT_SOURCE: u32 = 1;
43pub const __GLIBC_USE_ISOC23: u32 = 0;
44pub const __USE_ISOC11: u32 = 1;
45pub const __USE_ISOC99: u32 = 1;
46pub const __USE_ISOC95: u32 = 1;
47pub const __USE_POSIX_IMPLICITLY: u32 = 1;
48pub const _POSIX_SOURCE: u32 = 1;
49pub const _POSIX_C_SOURCE: u32 = 200809;
50pub const __USE_POSIX: u32 = 1;
51pub const __USE_POSIX2: u32 = 1;
52pub const __USE_POSIX199309: u32 = 1;
53pub const __USE_POSIX199506: u32 = 1;
54pub const __USE_XOPEN2K: u32 = 1;
55pub const __USE_XOPEN2K8: u32 = 1;
56pub const _ATFILE_SOURCE: u32 = 1;
57pub const __WORDSIZE: u32 = 64;
58pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
59pub const __SYSCALL_WORDSIZE: u32 = 64;
60pub const __TIMESIZE: u32 = 64;
61pub const __USE_TIME_BITS64: u32 = 1;
62pub const __USE_MISC: u32 = 1;
63pub const __USE_ATFILE: u32 = 1;
64pub const __USE_FORTIFY_LEVEL: u32 = 0;
65pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
66pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
67pub const __GLIBC_USE_C23_STRTOL: u32 = 0;
68pub const _STDC_PREDEF_H: u32 = 1;
69pub const __STDC_IEC_559__: u32 = 1;
70pub const __STDC_IEC_60559_BFP__: u32 = 201404;
71pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
72pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
73pub const __STDC_ISO_10646__: u32 = 201706;
74pub const __GNU_LIBRARY__: u32 = 6;
75pub const __GLIBC__: u32 = 2;
76pub const __GLIBC_MINOR__: u32 = 40;
77pub const _SYS_CDEFS_H: u32 = 1;
78pub const __glibc_c99_flexarr_available: u32 = 1;
79pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
80pub const __HAVE_GENERIC_SELECTION: u32 = 1;
81pub const _BITS_TYPES_H: u32 = 1;
82pub const _BITS_TYPESIZES_H: u32 = 1;
83pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
84pub const __INO_T_MATCHES_INO64_T: u32 = 1;
85pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
86pub const __STATFS_MATCHES_STATFS64: u32 = 1;
87pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
88pub const __FD_SETSIZE: u32 = 1024;
89pub const _BITS_TIME64_H: u32 = 1;
90pub const __clock_t_defined: u32 = 1;
91pub const __clockid_t_defined: u32 = 1;
92pub const __time_t_defined: u32 = 1;
93pub const __timer_t_defined: u32 = 1;
94pub const _BITS_STDINT_INTN_H: u32 = 1;
95pub const __BIT_TYPES_DEFINED__: u32 = 1;
96pub const _ENDIAN_H: u32 = 1;
97pub const _BITS_ENDIAN_H: u32 = 1;
98pub const __LITTLE_ENDIAN: u32 = 1234;
99pub const __BIG_ENDIAN: u32 = 4321;
100pub const __PDP_ENDIAN: u32 = 3412;
101pub const _BITS_ENDIANNESS_H: u32 = 1;
102pub const __BYTE_ORDER: u32 = 1234;
103pub const __FLOAT_WORD_ORDER: u32 = 1234;
104pub const LITTLE_ENDIAN: u32 = 1234;
105pub const BIG_ENDIAN: u32 = 4321;
106pub const PDP_ENDIAN: u32 = 3412;
107pub const BYTE_ORDER: u32 = 1234;
108pub const _BITS_BYTESWAP_H: u32 = 1;
109pub const _BITS_UINTN_IDENTITY_H: u32 = 1;
110pub const _SYS_SELECT_H: u32 = 1;
111pub const __sigset_t_defined: u32 = 1;
112pub const __timeval_defined: u32 = 1;
113pub const _STRUCT_TIMESPEC: u32 = 1;
114pub const FD_SETSIZE: u32 = 1024;
115pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1;
116pub const _THREAD_SHARED_TYPES_H: u32 = 1;
117pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1;
118pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40;
119pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56;
120pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56;
121pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32;
122pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4;
123pub const __SIZEOF_PTHREAD_COND_T: u32 = 48;
124pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4;
125pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8;
126pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4;
127pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1;
128pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1;
129pub const __have_pthread_attr_t: u32 = 1;
130pub const _STDINT_H: u32 = 1;
131pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
132pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
133pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23: u32 = 0;
134pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
135pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
136pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23: u32 = 0;
137pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
138pub const _BITS_WCHAR_H: u32 = 1;
139pub const _BITS_STDINT_UINTN_H: u32 = 1;
140pub const _BITS_STDINT_LEAST_H: u32 = 1;
141pub const INT8_MIN: i32 = -128;
142pub const INT16_MIN: i32 = -32768;
143pub const INT32_MIN: i32 = -2147483648;
144pub const INT8_MAX: u32 = 127;
145pub const INT16_MAX: u32 = 32767;
146pub const INT32_MAX: u32 = 2147483647;
147pub const UINT8_MAX: u32 = 255;
148pub const UINT16_MAX: u32 = 65535;
149pub const UINT32_MAX: u32 = 4294967295;
150pub const INT_LEAST8_MIN: i32 = -128;
151pub const INT_LEAST16_MIN: i32 = -32768;
152pub const INT_LEAST32_MIN: i32 = -2147483648;
153pub const INT_LEAST8_MAX: u32 = 127;
154pub const INT_LEAST16_MAX: u32 = 32767;
155pub const INT_LEAST32_MAX: u32 = 2147483647;
156pub const UINT_LEAST8_MAX: u32 = 255;
157pub const UINT_LEAST16_MAX: u32 = 65535;
158pub const UINT_LEAST32_MAX: u32 = 4294967295;
159pub const INT_FAST8_MIN: i32 = -128;
160pub const INT_FAST16_MIN: i64 = -9223372036854775808;
161pub const INT_FAST32_MIN: i64 = -9223372036854775808;
162pub const INT_FAST8_MAX: u32 = 127;
163pub const INT_FAST16_MAX: u64 = 9223372036854775807;
164pub const INT_FAST32_MAX: u64 = 9223372036854775807;
165pub const UINT_FAST8_MAX: u32 = 255;
166pub const UINT_FAST16_MAX: i32 = -1;
167pub const UINT_FAST32_MAX: i32 = -1;
168pub const INTPTR_MIN: i64 = -9223372036854775808;
169pub const INTPTR_MAX: u64 = 9223372036854775807;
170pub const UINTPTR_MAX: i32 = -1;
171pub const PTRDIFF_MIN: i64 = -9223372036854775808;
172pub const PTRDIFF_MAX: u64 = 9223372036854775807;
173pub const SIG_ATOMIC_MIN: i32 = -2147483648;
174pub const SIG_ATOMIC_MAX: u32 = 2147483647;
175pub const SIZE_MAX: i32 = -1;
176pub const WINT_MIN: u32 = 0;
177pub const WINT_MAX: u32 = 4294967295;
178pub const _NETINET_IN_H: u32 = 1;
179pub const _SYS_SOCKET_H: u32 = 1;
180pub const __iovec_defined: u32 = 1;
181pub const PF_UNSPEC: u32 = 0;
182pub const PF_LOCAL: u32 = 1;
183pub const PF_UNIX: u32 = 1;
184pub const PF_FILE: u32 = 1;
185pub const PF_INET: u32 = 2;
186pub const PF_AX25: u32 = 3;
187pub const PF_IPX: u32 = 4;
188pub const PF_APPLETALK: u32 = 5;
189pub const PF_NETROM: u32 = 6;
190pub const PF_BRIDGE: u32 = 7;
191pub const PF_ATMPVC: u32 = 8;
192pub const PF_X25: u32 = 9;
193pub const PF_INET6: u32 = 10;
194pub const PF_ROSE: u32 = 11;
195pub const PF_DECnet: u32 = 12;
196pub const PF_NETBEUI: u32 = 13;
197pub const PF_SECURITY: u32 = 14;
198pub const PF_KEY: u32 = 15;
199pub const PF_NETLINK: u32 = 16;
200pub const PF_ROUTE: u32 = 16;
201pub const PF_PACKET: u32 = 17;
202pub const PF_ASH: u32 = 18;
203pub const PF_ECONET: u32 = 19;
204pub const PF_ATMSVC: u32 = 20;
205pub const PF_RDS: u32 = 21;
206pub const PF_SNA: u32 = 22;
207pub const PF_IRDA: u32 = 23;
208pub const PF_PPPOX: u32 = 24;
209pub const PF_WANPIPE: u32 = 25;
210pub const PF_LLC: u32 = 26;
211pub const PF_IB: u32 = 27;
212pub const PF_MPLS: u32 = 28;
213pub const PF_CAN: u32 = 29;
214pub const PF_TIPC: u32 = 30;
215pub const PF_BLUETOOTH: u32 = 31;
216pub const PF_IUCV: u32 = 32;
217pub const PF_RXRPC: u32 = 33;
218pub const PF_ISDN: u32 = 34;
219pub const PF_PHONET: u32 = 35;
220pub const PF_IEEE802154: u32 = 36;
221pub const PF_CAIF: u32 = 37;
222pub const PF_ALG: u32 = 38;
223pub const PF_NFC: u32 = 39;
224pub const PF_VSOCK: u32 = 40;
225pub const PF_KCM: u32 = 41;
226pub const PF_QIPCRTR: u32 = 42;
227pub const PF_SMC: u32 = 43;
228pub const PF_XDP: u32 = 44;
229pub const PF_MCTP: u32 = 45;
230pub const PF_MAX: u32 = 46;
231pub const AF_UNSPEC: u32 = 0;
232pub const AF_LOCAL: u32 = 1;
233pub const AF_UNIX: u32 = 1;
234pub const AF_FILE: u32 = 1;
235pub const AF_INET: u32 = 2;
236pub const AF_AX25: u32 = 3;
237pub const AF_IPX: u32 = 4;
238pub const AF_APPLETALK: u32 = 5;
239pub const AF_NETROM: u32 = 6;
240pub const AF_BRIDGE: u32 = 7;
241pub const AF_ATMPVC: u32 = 8;
242pub const AF_X25: u32 = 9;
243pub const AF_INET6: u32 = 10;
244pub const AF_ROSE: u32 = 11;
245pub const AF_DECnet: u32 = 12;
246pub const AF_NETBEUI: u32 = 13;
247pub const AF_SECURITY: u32 = 14;
248pub const AF_KEY: u32 = 15;
249pub const AF_NETLINK: u32 = 16;
250pub const AF_ROUTE: u32 = 16;
251pub const AF_PACKET: u32 = 17;
252pub const AF_ASH: u32 = 18;
253pub const AF_ECONET: u32 = 19;
254pub const AF_ATMSVC: u32 = 20;
255pub const AF_RDS: u32 = 21;
256pub const AF_SNA: u32 = 22;
257pub const AF_IRDA: u32 = 23;
258pub const AF_PPPOX: u32 = 24;
259pub const AF_WANPIPE: u32 = 25;
260pub const AF_LLC: u32 = 26;
261pub const AF_IB: u32 = 27;
262pub const AF_MPLS: u32 = 28;
263pub const AF_CAN: u32 = 29;
264pub const AF_TIPC: u32 = 30;
265pub const AF_BLUETOOTH: u32 = 31;
266pub const AF_IUCV: u32 = 32;
267pub const AF_RXRPC: u32 = 33;
268pub const AF_ISDN: u32 = 34;
269pub const AF_PHONET: u32 = 35;
270pub const AF_IEEE802154: u32 = 36;
271pub const AF_CAIF: u32 = 37;
272pub const AF_ALG: u32 = 38;
273pub const AF_NFC: u32 = 39;
274pub const AF_VSOCK: u32 = 40;
275pub const AF_KCM: u32 = 41;
276pub const AF_QIPCRTR: u32 = 42;
277pub const AF_SMC: u32 = 43;
278pub const AF_XDP: u32 = 44;
279pub const AF_MCTP: u32 = 45;
280pub const AF_MAX: u32 = 46;
281pub const SOL_RAW: u32 = 255;
282pub const SOL_DECNET: u32 = 261;
283pub const SOL_X25: u32 = 262;
284pub const SOL_PACKET: u32 = 263;
285pub const SOL_ATM: u32 = 264;
286pub const SOL_AAL: u32 = 265;
287pub const SOL_IRDA: u32 = 266;
288pub const SOL_NETBEUI: u32 = 267;
289pub const SOL_LLC: u32 = 268;
290pub const SOL_DCCP: u32 = 269;
291pub const SOL_NETLINK: u32 = 270;
292pub const SOL_TIPC: u32 = 271;
293pub const SOL_RXRPC: u32 = 272;
294pub const SOL_PPPOL2TP: u32 = 273;
295pub const SOL_BLUETOOTH: u32 = 274;
296pub const SOL_PNPIPE: u32 = 275;
297pub const SOL_RDS: u32 = 276;
298pub const SOL_IUCV: u32 = 277;
299pub const SOL_CAIF: u32 = 278;
300pub const SOL_ALG: u32 = 279;
301pub const SOL_NFC: u32 = 280;
302pub const SOL_KCM: u32 = 281;
303pub const SOL_TLS: u32 = 282;
304pub const SOL_XDP: u32 = 283;
305pub const SOL_MPTCP: u32 = 284;
306pub const SOL_MCTP: u32 = 285;
307pub const SOL_SMC: u32 = 286;
308pub const SOL_VSOCK: u32 = 287;
309pub const SOMAXCONN: u32 = 4096;
310pub const _BITS_SOCKADDR_H: u32 = 1;
311pub const _SS_SIZE: u32 = 128;
312pub const __BITS_PER_LONG: u32 = 64;
313pub const __BITS_PER_LONG_LONG: u32 = 64;
314pub const FIOSETOWN: u32 = 35073;
315pub const SIOCSPGRP: u32 = 35074;
316pub const FIOGETOWN: u32 = 35075;
317pub const SIOCGPGRP: u32 = 35076;
318pub const SIOCATMARK: u32 = 35077;
319pub const SIOCGSTAMP_OLD: u32 = 35078;
320pub const SIOCGSTAMPNS_OLD: u32 = 35079;
321pub const SOL_SOCKET: u32 = 1;
322pub const SO_DEBUG: u32 = 1;
323pub const SO_REUSEADDR: u32 = 2;
324pub const SO_TYPE: u32 = 3;
325pub const SO_ERROR: u32 = 4;
326pub const SO_DONTROUTE: u32 = 5;
327pub const SO_BROADCAST: u32 = 6;
328pub const SO_SNDBUF: u32 = 7;
329pub const SO_RCVBUF: u32 = 8;
330pub const SO_SNDBUFFORCE: u32 = 32;
331pub const SO_RCVBUFFORCE: u32 = 33;
332pub const SO_KEEPALIVE: u32 = 9;
333pub const SO_OOBINLINE: u32 = 10;
334pub const SO_NO_CHECK: u32 = 11;
335pub const SO_PRIORITY: u32 = 12;
336pub const SO_LINGER: u32 = 13;
337pub const SO_BSDCOMPAT: u32 = 14;
338pub const SO_REUSEPORT: u32 = 15;
339pub const SO_PASSCRED: u32 = 16;
340pub const SO_PEERCRED: u32 = 17;
341pub const SO_RCVLOWAT: u32 = 18;
342pub const SO_SNDLOWAT: u32 = 19;
343pub const SO_RCVTIMEO_OLD: u32 = 20;
344pub const SO_SNDTIMEO_OLD: u32 = 21;
345pub const SO_SECURITY_AUTHENTICATION: u32 = 22;
346pub const SO_SECURITY_ENCRYPTION_TRANSPORT: u32 = 23;
347pub const SO_SECURITY_ENCRYPTION_NETWORK: u32 = 24;
348pub const SO_BINDTODEVICE: u32 = 25;
349pub const SO_ATTACH_FILTER: u32 = 26;
350pub const SO_DETACH_FILTER: u32 = 27;
351pub const SO_GET_FILTER: u32 = 26;
352pub const SO_PEERNAME: u32 = 28;
353pub const SO_ACCEPTCONN: u32 = 30;
354pub const SO_PEERSEC: u32 = 31;
355pub const SO_PASSSEC: u32 = 34;
356pub const SO_MARK: u32 = 36;
357pub const SO_PROTOCOL: u32 = 38;
358pub const SO_DOMAIN: u32 = 39;
359pub const SO_RXQ_OVFL: u32 = 40;
360pub const SO_WIFI_STATUS: u32 = 41;
361pub const SCM_WIFI_STATUS: u32 = 41;
362pub const SO_PEEK_OFF: u32 = 42;
363pub const SO_NOFCS: u32 = 43;
364pub const SO_LOCK_FILTER: u32 = 44;
365pub const SO_SELECT_ERR_QUEUE: u32 = 45;
366pub const SO_BUSY_POLL: u32 = 46;
367pub const SO_MAX_PACING_RATE: u32 = 47;
368pub const SO_BPF_EXTENSIONS: u32 = 48;
369pub const SO_INCOMING_CPU: u32 = 49;
370pub const SO_ATTACH_BPF: u32 = 50;
371pub const SO_DETACH_BPF: u32 = 27;
372pub const SO_ATTACH_REUSEPORT_CBPF: u32 = 51;
373pub const SO_ATTACH_REUSEPORT_EBPF: u32 = 52;
374pub const SO_CNX_ADVICE: u32 = 53;
375pub const SCM_TIMESTAMPING_OPT_STATS: u32 = 54;
376pub const SO_MEMINFO: u32 = 55;
377pub const SO_INCOMING_NAPI_ID: u32 = 56;
378pub const SO_COOKIE: u32 = 57;
379pub const SCM_TIMESTAMPING_PKTINFO: u32 = 58;
380pub const SO_PEERGROUPS: u32 = 59;
381pub const SO_ZEROCOPY: u32 = 60;
382pub const SO_TXTIME: u32 = 61;
383pub const SCM_TXTIME: u32 = 61;
384pub const SO_BINDTOIFINDEX: u32 = 62;
385pub const SO_TIMESTAMP_OLD: u32 = 29;
386pub const SO_TIMESTAMPNS_OLD: u32 = 35;
387pub const SO_TIMESTAMPING_OLD: u32 = 37;
388pub const SO_TIMESTAMP_NEW: u32 = 63;
389pub const SO_TIMESTAMPNS_NEW: u32 = 64;
390pub const SO_TIMESTAMPING_NEW: u32 = 65;
391pub const SO_RCVTIMEO_NEW: u32 = 66;
392pub const SO_SNDTIMEO_NEW: u32 = 67;
393pub const SO_DETACH_REUSEPORT_BPF: u32 = 68;
394pub const SO_PREFER_BUSY_POLL: u32 = 69;
395pub const SO_BUSY_POLL_BUDGET: u32 = 70;
396pub const SO_NETNS_COOKIE: u32 = 71;
397pub const SO_BUF_LOCK: u32 = 72;
398pub const SO_RESERVE_MEM: u32 = 73;
399pub const SO_TXREHASH: u32 = 74;
400pub const SO_RCVMARK: u32 = 75;
401pub const SO_PASSPIDFD: u32 = 76;
402pub const SO_PEERPIDFD: u32 = 77;
403pub const SO_DEVMEM_LINEAR: u32 = 78;
404pub const SCM_DEVMEM_LINEAR: u32 = 78;
405pub const SO_DEVMEM_DMABUF: u32 = 79;
406pub const SCM_DEVMEM_DMABUF: u32 = 79;
407pub const SO_DEVMEM_DONTNEED: u32 = 80;
408pub const SO_TIMESTAMP: u32 = 29;
409pub const SO_TIMESTAMPNS: u32 = 35;
410pub const SO_TIMESTAMPING: u32 = 37;
411pub const SO_RCVTIMEO: u32 = 20;
412pub const SO_SNDTIMEO: u32 = 21;
413pub const SCM_TIMESTAMP: u32 = 29;
414pub const SCM_TIMESTAMPNS: u32 = 35;
415pub const SCM_TIMESTAMPING: u32 = 37;
416pub const __osockaddr_defined: u32 = 1;
417pub const __USE_KERNEL_IPV6_DEFS: u32 = 0;
418pub const IP_OPTIONS: u32 = 4;
419pub const IP_HDRINCL: u32 = 3;
420pub const IP_TOS: u32 = 1;
421pub const IP_TTL: u32 = 2;
422pub const IP_RECVOPTS: u32 = 6;
423pub const IP_RETOPTS: u32 = 7;
424pub const IP_MULTICAST_IF: u32 = 32;
425pub const IP_MULTICAST_TTL: u32 = 33;
426pub const IP_MULTICAST_LOOP: u32 = 34;
427pub const IP_ADD_MEMBERSHIP: u32 = 35;
428pub const IP_DROP_MEMBERSHIP: u32 = 36;
429pub const IP_UNBLOCK_SOURCE: u32 = 37;
430pub const IP_BLOCK_SOURCE: u32 = 38;
431pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 39;
432pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 40;
433pub const IP_MSFILTER: u32 = 41;
434pub const MCAST_JOIN_GROUP: u32 = 42;
435pub const MCAST_BLOCK_SOURCE: u32 = 43;
436pub const MCAST_UNBLOCK_SOURCE: u32 = 44;
437pub const MCAST_LEAVE_GROUP: u32 = 45;
438pub const MCAST_JOIN_SOURCE_GROUP: u32 = 46;
439pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 47;
440pub const MCAST_MSFILTER: u32 = 48;
441pub const IP_MULTICAST_ALL: u32 = 49;
442pub const IP_UNICAST_IF: u32 = 50;
443pub const MCAST_EXCLUDE: u32 = 0;
444pub const MCAST_INCLUDE: u32 = 1;
445pub const IP_ROUTER_ALERT: u32 = 5;
446pub const IP_PKTINFO: u32 = 8;
447pub const IP_PKTOPTIONS: u32 = 9;
448pub const IP_PMTUDISC: u32 = 10;
449pub const IP_MTU_DISCOVER: u32 = 10;
450pub const IP_RECVERR: u32 = 11;
451pub const IP_RECVTTL: u32 = 12;
452pub const IP_RECVTOS: u32 = 13;
453pub const IP_MTU: u32 = 14;
454pub const IP_FREEBIND: u32 = 15;
455pub const IP_IPSEC_POLICY: u32 = 16;
456pub const IP_XFRM_POLICY: u32 = 17;
457pub const IP_PASSSEC: u32 = 18;
458pub const IP_TRANSPARENT: u32 = 19;
459pub const IP_ORIGDSTADDR: u32 = 20;
460pub const IP_RECVORIGDSTADDR: u32 = 20;
461pub const IP_MINTTL: u32 = 21;
462pub const IP_NODEFRAG: u32 = 22;
463pub const IP_CHECKSUM: u32 = 23;
464pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24;
465pub const IP_RECVFRAGSIZE: u32 = 25;
466pub const IP_RECVERR_RFC4884: u32 = 26;
467pub const IP_PMTUDISC_DONT: u32 = 0;
468pub const IP_PMTUDISC_WANT: u32 = 1;
469pub const IP_PMTUDISC_DO: u32 = 2;
470pub const IP_PMTUDISC_PROBE: u32 = 3;
471pub const IP_PMTUDISC_INTERFACE: u32 = 4;
472pub const IP_PMTUDISC_OMIT: u32 = 5;
473pub const IP_LOCAL_PORT_RANGE: u32 = 51;
474pub const IP_PROTOCOL: u32 = 52;
475pub const SOL_IP: u32 = 0;
476pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1;
477pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1;
478pub const IP_MAX_MEMBERSHIPS: u32 = 20;
479pub const IPV6_ADDRFORM: u32 = 1;
480pub const IPV6_2292PKTINFO: u32 = 2;
481pub const IPV6_2292HOPOPTS: u32 = 3;
482pub const IPV6_2292DSTOPTS: u32 = 4;
483pub const IPV6_2292RTHDR: u32 = 5;
484pub const IPV6_2292PKTOPTIONS: u32 = 6;
485pub const IPV6_CHECKSUM: u32 = 7;
486pub const IPV6_2292HOPLIMIT: u32 = 8;
487pub const IPV6_NEXTHOP: u32 = 9;
488pub const IPV6_AUTHHDR: u32 = 10;
489pub const IPV6_UNICAST_HOPS: u32 = 16;
490pub const IPV6_MULTICAST_IF: u32 = 17;
491pub const IPV6_MULTICAST_HOPS: u32 = 18;
492pub const IPV6_MULTICAST_LOOP: u32 = 19;
493pub const IPV6_JOIN_GROUP: u32 = 20;
494pub const IPV6_LEAVE_GROUP: u32 = 21;
495pub const IPV6_ROUTER_ALERT: u32 = 22;
496pub const IPV6_MTU_DISCOVER: u32 = 23;
497pub const IPV6_MTU: u32 = 24;
498pub const IPV6_RECVERR: u32 = 25;
499pub const IPV6_V6ONLY: u32 = 26;
500pub const IPV6_JOIN_ANYCAST: u32 = 27;
501pub const IPV6_LEAVE_ANYCAST: u32 = 28;
502pub const IPV6_MULTICAST_ALL: u32 = 29;
503pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30;
504pub const IPV6_RECVERR_RFC4884: u32 = 31;
505pub const IPV6_IPSEC_POLICY: u32 = 34;
506pub const IPV6_XFRM_POLICY: u32 = 35;
507pub const IPV6_HDRINCL: u32 = 36;
508pub const IPV6_RECVPKTINFO: u32 = 49;
509pub const IPV6_PKTINFO: u32 = 50;
510pub const IPV6_RECVHOPLIMIT: u32 = 51;
511pub const IPV6_HOPLIMIT: u32 = 52;
512pub const IPV6_RECVHOPOPTS: u32 = 53;
513pub const IPV6_HOPOPTS: u32 = 54;
514pub const IPV6_RTHDRDSTOPTS: u32 = 55;
515pub const IPV6_RECVRTHDR: u32 = 56;
516pub const IPV6_RTHDR: u32 = 57;
517pub const IPV6_RECVDSTOPTS: u32 = 58;
518pub const IPV6_DSTOPTS: u32 = 59;
519pub const IPV6_RECVPATHMTU: u32 = 60;
520pub const IPV6_PATHMTU: u32 = 61;
521pub const IPV6_DONTFRAG: u32 = 62;
522pub const IPV6_RECVTCLASS: u32 = 66;
523pub const IPV6_TCLASS: u32 = 67;
524pub const IPV6_AUTOFLOWLABEL: u32 = 70;
525pub const IPV6_ADDR_PREFERENCES: u32 = 72;
526pub const IPV6_MINHOPCOUNT: u32 = 73;
527pub const IPV6_ORIGDSTADDR: u32 = 74;
528pub const IPV6_RECVORIGDSTADDR: u32 = 74;
529pub const IPV6_TRANSPARENT: u32 = 75;
530pub const IPV6_UNICAST_IF: u32 = 76;
531pub const IPV6_RECVFRAGSIZE: u32 = 77;
532pub const IPV6_FREEBIND: u32 = 78;
533pub const IPV6_ADD_MEMBERSHIP: u32 = 20;
534pub const IPV6_DROP_MEMBERSHIP: u32 = 21;
535pub const IPV6_RXHOPOPTS: u32 = 54;
536pub const IPV6_RXDSTOPTS: u32 = 59;
537pub const IPV6_PMTUDISC_DONT: u32 = 0;
538pub const IPV6_PMTUDISC_WANT: u32 = 1;
539pub const IPV6_PMTUDISC_DO: u32 = 2;
540pub const IPV6_PMTUDISC_PROBE: u32 = 3;
541pub const IPV6_PMTUDISC_INTERFACE: u32 = 4;
542pub const IPV6_PMTUDISC_OMIT: u32 = 5;
543pub const SOL_IPV6: u32 = 41;
544pub const SOL_ICMPV6: u32 = 58;
545pub const IPV6_RTHDR_LOOSE: u32 = 0;
546pub const IPV6_RTHDR_STRICT: u32 = 1;
547pub const IPV6_RTHDR_TYPE_0: u32 = 0;
548pub const IN_CLASSA_NET: u32 = 4278190080;
549pub const IN_CLASSA_NSHIFT: u32 = 24;
550pub const IN_CLASSA_HOST: u32 = 16777215;
551pub const IN_CLASSA_MAX: u32 = 128;
552pub const IN_CLASSB_NET: u32 = 4294901760;
553pub const IN_CLASSB_NSHIFT: u32 = 16;
554pub const IN_CLASSB_HOST: u32 = 65535;
555pub const IN_CLASSB_MAX: u32 = 65536;
556pub const IN_CLASSC_NET: u32 = 4294967040;
557pub const IN_CLASSC_NSHIFT: u32 = 8;
558pub const IN_CLASSC_HOST: u32 = 255;
559pub const IN_LOOPBACKNET: u32 = 127;
560pub const INET_ADDRSTRLEN: u32 = 16;
561pub const INET6_ADDRSTRLEN: u32 = 46;
562pub const LO_BIGENDIAN: u32 = 0;
563pub const _NETDB_H: u32 = 1;
564pub const _RPC_NETDB_H: u32 = 1;
565pub const _PATH_HEQUIV: &[u8; 17] = b"/etc/hosts.equiv\0";
566pub const _PATH_HOSTS: &[u8; 11] = b"/etc/hosts\0";
567pub const _PATH_NETWORKS: &[u8; 14] = b"/etc/networks\0";
568pub const _PATH_NSSWITCH_CONF: &[u8; 19] = b"/etc/nsswitch.conf\0";
569pub const _PATH_PROTOCOLS: &[u8; 15] = b"/etc/protocols\0";
570pub const _PATH_SERVICES: &[u8; 14] = b"/etc/services\0";
571pub const HOST_NOT_FOUND: u32 = 1;
572pub const TRY_AGAIN: u32 = 2;
573pub const NO_RECOVERY: u32 = 3;
574pub const NO_DATA: u32 = 4;
575pub const NETDB_INTERNAL: i32 = -1;
576pub const NETDB_SUCCESS: u32 = 0;
577pub const NO_ADDRESS: u32 = 4;
578pub const AI_PASSIVE: u32 = 1;
579pub const AI_CANONNAME: u32 = 2;
580pub const AI_NUMERICHOST: u32 = 4;
581pub const AI_V4MAPPED: u32 = 8;
582pub const AI_ALL: u32 = 16;
583pub const AI_ADDRCONFIG: u32 = 32;
584pub const AI_NUMERICSERV: u32 = 1024;
585pub const EAI_BADFLAGS: i32 = -1;
586pub const EAI_NONAME: i32 = -2;
587pub const EAI_AGAIN: i32 = -3;
588pub const EAI_FAIL: i32 = -4;
589pub const EAI_FAMILY: i32 = -6;
590pub const EAI_SOCKTYPE: i32 = -7;
591pub const EAI_SERVICE: i32 = -8;
592pub const EAI_MEMORY: i32 = -10;
593pub const EAI_SYSTEM: i32 = -11;
594pub const EAI_OVERFLOW: i32 = -12;
595pub const NI_MAXHOST: u32 = 1025;
596pub const NI_MAXSERV: u32 = 32;
597pub const NI_NUMERICHOST: u32 = 1;
598pub const NI_NUMERICSERV: u32 = 2;
599pub const NI_NOFQDN: u32 = 4;
600pub const NI_NAMEREQD: u32 = 8;
601pub const NI_DGRAM: u32 = 16;
602pub const LO_DISABLE: u32 = 0;
603pub const LO_ENABLE: u32 = 1;
604pub const LO_ENOPATH: u32 = 9901;
605pub const LO_ENOTYPE: u32 = 9902;
606pub const LO_UNKNOWNPROTO: u32 = 9903;
607pub const LO_NOPORT: u32 = 9904;
608pub const LO_TOOBIG: u32 = 9905;
609pub const LO_INT_ERR: u32 = 9906;
610pub const LO_EALLOC: u32 = 9907;
611pub const LO_EINVALIDPATH: u32 = 9908;
612pub const LO_EINVALIDTYPE: u32 = 9909;
613pub const LO_EBADTYPE: u32 = 9910;
614pub const LO_ESIZE: u32 = 9911;
615pub const LO_EINVALIDARG: u32 = 9912;
616pub const LO_ETERM: u32 = 9913;
617pub const LO_EPAD: u32 = 9914;
618pub const LO_EINVALIDBUND: u32 = 9915;
619pub const LO_EINVALIDTIME: u32 = 9916;
620pub const LO_MAX_MSG_SIZE: u32 = 32768;
621pub const LO_MAX_UDP_MSG_SIZE: u32 = 65535;
622pub const LO_DEFAULT_MAX_MSG_SIZE: u32 = 65535;
623pub const LO_DEFAULT: u32 = 0;
624pub const LO_UDP: u32 = 1;
625pub const LO_UNIX: u32 = 2;
626pub const LO_TCP: u32 = 4;
627pub type __u_char = ::std::os::raw::c_uchar;
628pub type __u_short = ::std::os::raw::c_ushort;
629pub type __u_int = ::std::os::raw::c_uint;
630pub type __u_long = ::std::os::raw::c_ulong;
631pub type __int8_t = ::std::os::raw::c_schar;
632pub type __uint8_t = ::std::os::raw::c_uchar;
633pub type __int16_t = ::std::os::raw::c_short;
634pub type __uint16_t = ::std::os::raw::c_ushort;
635pub type __int32_t = ::std::os::raw::c_int;
636pub type __uint32_t = ::std::os::raw::c_uint;
637pub type __int64_t = ::std::os::raw::c_long;
638pub type __uint64_t = ::std::os::raw::c_ulong;
639pub type __int_least8_t = __int8_t;
640pub type __uint_least8_t = __uint8_t;
641pub type __int_least16_t = __int16_t;
642pub type __uint_least16_t = __uint16_t;
643pub type __int_least32_t = __int32_t;
644pub type __uint_least32_t = __uint32_t;
645pub type __int_least64_t = __int64_t;
646pub type __uint_least64_t = __uint64_t;
647pub type __quad_t = ::std::os::raw::c_long;
648pub type __u_quad_t = ::std::os::raw::c_ulong;
649pub type __intmax_t = ::std::os::raw::c_long;
650pub type __uintmax_t = ::std::os::raw::c_ulong;
651pub type __dev_t = ::std::os::raw::c_ulong;
652pub type __uid_t = ::std::os::raw::c_uint;
653pub type __gid_t = ::std::os::raw::c_uint;
654pub type __ino_t = ::std::os::raw::c_ulong;
655pub type __ino64_t = ::std::os::raw::c_ulong;
656pub type __mode_t = ::std::os::raw::c_uint;
657pub type __nlink_t = ::std::os::raw::c_ulong;
658pub type __off_t = ::std::os::raw::c_long;
659pub type __off64_t = ::std::os::raw::c_long;
660pub type __pid_t = ::std::os::raw::c_int;
661#[repr(C)]
662#[derive(Debug, Copy, Clone)]
663pub struct __fsid_t {
664 pub __val: [::std::os::raw::c_int; 2usize],
665}
666#[allow(clippy::unnecessary_operation, clippy::identity_op)]
667const _: () = {
668 ["Size of __fsid_t"][::std::mem::size_of::<__fsid_t>() - 8usize];
669 ["Alignment of __fsid_t"][::std::mem::align_of::<__fsid_t>() - 4usize];
670 ["Offset of field: __fsid_t::__val"][::std::mem::offset_of!(__fsid_t, __val) - 0usize];
671};
672pub type __clock_t = ::std::os::raw::c_long;
673pub type __rlim_t = ::std::os::raw::c_ulong;
674pub type __rlim64_t = ::std::os::raw::c_ulong;
675pub type __id_t = ::std::os::raw::c_uint;
676pub type __time_t = ::std::os::raw::c_long;
677pub type __useconds_t = ::std::os::raw::c_uint;
678pub type __suseconds_t = ::std::os::raw::c_long;
679pub type __suseconds64_t = ::std::os::raw::c_long;
680pub type __daddr_t = ::std::os::raw::c_int;
681pub type __key_t = ::std::os::raw::c_int;
682pub type __clockid_t = ::std::os::raw::c_int;
683pub type __timer_t = *mut ::std::os::raw::c_void;
684pub type __blksize_t = ::std::os::raw::c_long;
685pub type __blkcnt_t = ::std::os::raw::c_long;
686pub type __blkcnt64_t = ::std::os::raw::c_long;
687pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
688pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
689pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
690pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
691pub type __fsword_t = ::std::os::raw::c_long;
692pub type __ssize_t = ::std::os::raw::c_long;
693pub type __syscall_slong_t = ::std::os::raw::c_long;
694pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
695pub type __loff_t = __off64_t;
696pub type __caddr_t = *mut ::std::os::raw::c_char;
697pub type __intptr_t = ::std::os::raw::c_long;
698pub type __socklen_t = ::std::os::raw::c_uint;
699pub type __sig_atomic_t = ::std::os::raw::c_int;
700pub type u_char = __u_char;
701pub type u_short = __u_short;
702pub type u_int = __u_int;
703pub type u_long = __u_long;
704pub type quad_t = __quad_t;
705pub type u_quad_t = __u_quad_t;
706pub type fsid_t = __fsid_t;
707pub type loff_t = __loff_t;
708pub type ino_t = __ino_t;
709pub type dev_t = __dev_t;
710pub type gid_t = __gid_t;
711pub type mode_t = __mode_t;
712pub type nlink_t = __nlink_t;
713pub type uid_t = __uid_t;
714pub type off_t = __off_t;
715pub type pid_t = __pid_t;
716pub type id_t = __id_t;
717pub type daddr_t = __daddr_t;
718pub type caddr_t = __caddr_t;
719pub type key_t = __key_t;
720pub type clock_t = __clock_t;
721pub type clockid_t = __clockid_t;
722pub type time_t = __time_t;
723pub type timer_t = __timer_t;
724pub type ulong = ::std::os::raw::c_ulong;
725pub type ushort = ::std::os::raw::c_ushort;
726pub type uint = ::std::os::raw::c_uint;
727pub type u_int8_t = __uint8_t;
728pub type u_int16_t = __uint16_t;
729pub type u_int32_t = __uint32_t;
730pub type u_int64_t = __uint64_t;
731pub type register_t = ::std::os::raw::c_long;
732#[repr(C)]
733#[derive(Debug, Copy, Clone)]
734pub struct __sigset_t {
735 pub __val: [::std::os::raw::c_ulong; 16usize],
736}
737#[allow(clippy::unnecessary_operation, clippy::identity_op)]
738const _: () = {
739 ["Size of __sigset_t"][::std::mem::size_of::<__sigset_t>() - 128usize];
740 ["Alignment of __sigset_t"][::std::mem::align_of::<__sigset_t>() - 8usize];
741 ["Offset of field: __sigset_t::__val"][::std::mem::offset_of!(__sigset_t, __val) - 0usize];
742};
743pub type sigset_t = __sigset_t;
744#[repr(C)]
745#[derive(Debug, Copy, Clone)]
746pub struct timeval {
747 pub tv_sec: __time_t,
748 pub tv_usec: __suseconds_t,
749}
750#[allow(clippy::unnecessary_operation, clippy::identity_op)]
751const _: () = {
752 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
753 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
754 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
755 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
756};
757#[repr(C)]
758#[derive(Debug, Copy, Clone)]
759pub struct timespec {
760 pub tv_sec: __time_t,
761 pub tv_nsec: __syscall_slong_t,
762}
763#[allow(clippy::unnecessary_operation, clippy::identity_op)]
764const _: () = {
765 ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
766 ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
767 ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
768 ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
769};
770pub type suseconds_t = __suseconds_t;
771pub type __fd_mask = ::std::os::raw::c_long;
772#[repr(C)]
773#[derive(Debug, Copy, Clone)]
774pub struct fd_set {
775 pub __fds_bits: [__fd_mask; 16usize],
776}
777#[allow(clippy::unnecessary_operation, clippy::identity_op)]
778const _: () = {
779 ["Size of fd_set"][::std::mem::size_of::<fd_set>() - 128usize];
780 ["Alignment of fd_set"][::std::mem::align_of::<fd_set>() - 8usize];
781 ["Offset of field: fd_set::__fds_bits"][::std::mem::offset_of!(fd_set, __fds_bits) - 0usize];
782};
783pub type fd_mask = __fd_mask;
784unsafe extern "C" {
785 pub fn select(
786 __nfds: ::std::os::raw::c_int,
787 __readfds: *mut fd_set,
788 __writefds: *mut fd_set,
789 __exceptfds: *mut fd_set,
790 __timeout: *mut timeval,
791 ) -> ::std::os::raw::c_int;
792}
793unsafe extern "C" {
794 pub fn pselect(
795 __nfds: ::std::os::raw::c_int,
796 __readfds: *mut fd_set,
797 __writefds: *mut fd_set,
798 __exceptfds: *mut fd_set,
799 __timeout: *const timespec,
800 __sigmask: *const __sigset_t,
801 ) -> ::std::os::raw::c_int;
802}
803pub type blksize_t = __blksize_t;
804pub type blkcnt_t = __blkcnt_t;
805pub type fsblkcnt_t = __fsblkcnt_t;
806pub type fsfilcnt_t = __fsfilcnt_t;
807#[repr(C)]
808#[derive(Copy, Clone)]
809pub union __atomic_wide_counter {
810 pub __value64: ::std::os::raw::c_ulonglong,
811 pub __value32: __atomic_wide_counter__bindgen_ty_1,
812}
813#[repr(C)]
814#[derive(Debug, Copy, Clone)]
815pub struct __atomic_wide_counter__bindgen_ty_1 {
816 pub __low: ::std::os::raw::c_uint,
817 pub __high: ::std::os::raw::c_uint,
818}
819#[allow(clippy::unnecessary_operation, clippy::identity_op)]
820const _: () = {
821 ["Size of __atomic_wide_counter__bindgen_ty_1"]
822 [::std::mem::size_of::<__atomic_wide_counter__bindgen_ty_1>() - 8usize];
823 ["Alignment of __atomic_wide_counter__bindgen_ty_1"]
824 [::std::mem::align_of::<__atomic_wide_counter__bindgen_ty_1>() - 4usize];
825 ["Offset of field: __atomic_wide_counter__bindgen_ty_1::__low"]
826 [::std::mem::offset_of!(__atomic_wide_counter__bindgen_ty_1, __low) - 0usize];
827 ["Offset of field: __atomic_wide_counter__bindgen_ty_1::__high"]
828 [::std::mem::offset_of!(__atomic_wide_counter__bindgen_ty_1, __high) - 4usize];
829};
830#[allow(clippy::unnecessary_operation, clippy::identity_op)]
831const _: () = {
832 ["Size of __atomic_wide_counter"][::std::mem::size_of::<__atomic_wide_counter>() - 8usize];
833 ["Alignment of __atomic_wide_counter"]
834 [::std::mem::align_of::<__atomic_wide_counter>() - 8usize];
835 ["Offset of field: __atomic_wide_counter::__value64"]
836 [::std::mem::offset_of!(__atomic_wide_counter, __value64) - 0usize];
837 ["Offset of field: __atomic_wide_counter::__value32"]
838 [::std::mem::offset_of!(__atomic_wide_counter, __value32) - 0usize];
839};
840#[repr(C)]
841#[derive(Debug, Copy, Clone)]
842pub struct __pthread_internal_list {
843 pub __prev: *mut __pthread_internal_list,
844 pub __next: *mut __pthread_internal_list,
845}
846#[allow(clippy::unnecessary_operation, clippy::identity_op)]
847const _: () = {
848 ["Size of __pthread_internal_list"][::std::mem::size_of::<__pthread_internal_list>() - 16usize];
849 ["Alignment of __pthread_internal_list"]
850 [::std::mem::align_of::<__pthread_internal_list>() - 8usize];
851 ["Offset of field: __pthread_internal_list::__prev"]
852 [::std::mem::offset_of!(__pthread_internal_list, __prev) - 0usize];
853 ["Offset of field: __pthread_internal_list::__next"]
854 [::std::mem::offset_of!(__pthread_internal_list, __next) - 8usize];
855};
856pub type __pthread_list_t = __pthread_internal_list;
857#[repr(C)]
858#[derive(Debug, Copy, Clone)]
859pub struct __pthread_internal_slist {
860 pub __next: *mut __pthread_internal_slist,
861}
862#[allow(clippy::unnecessary_operation, clippy::identity_op)]
863const _: () = {
864 ["Size of __pthread_internal_slist"]
865 [::std::mem::size_of::<__pthread_internal_slist>() - 8usize];
866 ["Alignment of __pthread_internal_slist"]
867 [::std::mem::align_of::<__pthread_internal_slist>() - 8usize];
868 ["Offset of field: __pthread_internal_slist::__next"]
869 [::std::mem::offset_of!(__pthread_internal_slist, __next) - 0usize];
870};
871pub type __pthread_slist_t = __pthread_internal_slist;
872#[repr(C)]
873#[derive(Debug, Copy, Clone)]
874pub struct __pthread_mutex_s {
875 pub __lock: ::std::os::raw::c_int,
876 pub __count: ::std::os::raw::c_uint,
877 pub __owner: ::std::os::raw::c_int,
878 pub __nusers: ::std::os::raw::c_uint,
879 pub __kind: ::std::os::raw::c_int,
880 pub __spins: ::std::os::raw::c_short,
881 pub __elision: ::std::os::raw::c_short,
882 pub __list: __pthread_list_t,
883}
884#[allow(clippy::unnecessary_operation, clippy::identity_op)]
885const _: () = {
886 ["Size of __pthread_mutex_s"][::std::mem::size_of::<__pthread_mutex_s>() - 40usize];
887 ["Alignment of __pthread_mutex_s"][::std::mem::align_of::<__pthread_mutex_s>() - 8usize];
888 ["Offset of field: __pthread_mutex_s::__lock"]
889 [::std::mem::offset_of!(__pthread_mutex_s, __lock) - 0usize];
890 ["Offset of field: __pthread_mutex_s::__count"]
891 [::std::mem::offset_of!(__pthread_mutex_s, __count) - 4usize];
892 ["Offset of field: __pthread_mutex_s::__owner"]
893 [::std::mem::offset_of!(__pthread_mutex_s, __owner) - 8usize];
894 ["Offset of field: __pthread_mutex_s::__nusers"]
895 [::std::mem::offset_of!(__pthread_mutex_s, __nusers) - 12usize];
896 ["Offset of field: __pthread_mutex_s::__kind"]
897 [::std::mem::offset_of!(__pthread_mutex_s, __kind) - 16usize];
898 ["Offset of field: __pthread_mutex_s::__spins"]
899 [::std::mem::offset_of!(__pthread_mutex_s, __spins) - 20usize];
900 ["Offset of field: __pthread_mutex_s::__elision"]
901 [::std::mem::offset_of!(__pthread_mutex_s, __elision) - 22usize];
902 ["Offset of field: __pthread_mutex_s::__list"]
903 [::std::mem::offset_of!(__pthread_mutex_s, __list) - 24usize];
904};
905#[repr(C)]
906#[derive(Debug, Copy, Clone)]
907pub struct __pthread_rwlock_arch_t {
908 pub __readers: ::std::os::raw::c_uint,
909 pub __writers: ::std::os::raw::c_uint,
910 pub __wrphase_futex: ::std::os::raw::c_uint,
911 pub __writers_futex: ::std::os::raw::c_uint,
912 pub __pad3: ::std::os::raw::c_uint,
913 pub __pad4: ::std::os::raw::c_uint,
914 pub __cur_writer: ::std::os::raw::c_int,
915 pub __shared: ::std::os::raw::c_int,
916 pub __rwelision: ::std::os::raw::c_schar,
917 pub __pad1: [::std::os::raw::c_uchar; 7usize],
918 pub __pad2: ::std::os::raw::c_ulong,
919 pub __flags: ::std::os::raw::c_uint,
920}
921#[allow(clippy::unnecessary_operation, clippy::identity_op)]
922const _: () = {
923 ["Size of __pthread_rwlock_arch_t"][::std::mem::size_of::<__pthread_rwlock_arch_t>() - 56usize];
924 ["Alignment of __pthread_rwlock_arch_t"]
925 [::std::mem::align_of::<__pthread_rwlock_arch_t>() - 8usize];
926 ["Offset of field: __pthread_rwlock_arch_t::__readers"]
927 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __readers) - 0usize];
928 ["Offset of field: __pthread_rwlock_arch_t::__writers"]
929 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __writers) - 4usize];
930 ["Offset of field: __pthread_rwlock_arch_t::__wrphase_futex"]
931 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __wrphase_futex) - 8usize];
932 ["Offset of field: __pthread_rwlock_arch_t::__writers_futex"]
933 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __writers_futex) - 12usize];
934 ["Offset of field: __pthread_rwlock_arch_t::__pad3"]
935 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __pad3) - 16usize];
936 ["Offset of field: __pthread_rwlock_arch_t::__pad4"]
937 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __pad4) - 20usize];
938 ["Offset of field: __pthread_rwlock_arch_t::__cur_writer"]
939 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __cur_writer) - 24usize];
940 ["Offset of field: __pthread_rwlock_arch_t::__shared"]
941 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __shared) - 28usize];
942 ["Offset of field: __pthread_rwlock_arch_t::__rwelision"]
943 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __rwelision) - 32usize];
944 ["Offset of field: __pthread_rwlock_arch_t::__pad1"]
945 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __pad1) - 33usize];
946 ["Offset of field: __pthread_rwlock_arch_t::__pad2"]
947 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __pad2) - 40usize];
948 ["Offset of field: __pthread_rwlock_arch_t::__flags"]
949 [::std::mem::offset_of!(__pthread_rwlock_arch_t, __flags) - 48usize];
950};
951#[repr(C)]
952#[derive(Copy, Clone)]
953pub struct __pthread_cond_s {
954 pub __wseq: __atomic_wide_counter,
955 pub __g1_start: __atomic_wide_counter,
956 pub __g_refs: [::std::os::raw::c_uint; 2usize],
957 pub __g_size: [::std::os::raw::c_uint; 2usize],
958 pub __g1_orig_size: ::std::os::raw::c_uint,
959 pub __wrefs: ::std::os::raw::c_uint,
960 pub __g_signals: [::std::os::raw::c_uint; 2usize],
961}
962#[allow(clippy::unnecessary_operation, clippy::identity_op)]
963const _: () = {
964 ["Size of __pthread_cond_s"][::std::mem::size_of::<__pthread_cond_s>() - 48usize];
965 ["Alignment of __pthread_cond_s"][::std::mem::align_of::<__pthread_cond_s>() - 8usize];
966 ["Offset of field: __pthread_cond_s::__wseq"]
967 [::std::mem::offset_of!(__pthread_cond_s, __wseq) - 0usize];
968 ["Offset of field: __pthread_cond_s::__g1_start"]
969 [::std::mem::offset_of!(__pthread_cond_s, __g1_start) - 8usize];
970 ["Offset of field: __pthread_cond_s::__g_refs"]
971 [::std::mem::offset_of!(__pthread_cond_s, __g_refs) - 16usize];
972 ["Offset of field: __pthread_cond_s::__g_size"]
973 [::std::mem::offset_of!(__pthread_cond_s, __g_size) - 24usize];
974 ["Offset of field: __pthread_cond_s::__g1_orig_size"]
975 [::std::mem::offset_of!(__pthread_cond_s, __g1_orig_size) - 32usize];
976 ["Offset of field: __pthread_cond_s::__wrefs"]
977 [::std::mem::offset_of!(__pthread_cond_s, __wrefs) - 36usize];
978 ["Offset of field: __pthread_cond_s::__g_signals"]
979 [::std::mem::offset_of!(__pthread_cond_s, __g_signals) - 40usize];
980};
981pub type __tss_t = ::std::os::raw::c_uint;
982pub type __thrd_t = ::std::os::raw::c_ulong;
983#[repr(C)]
984#[derive(Debug, Copy, Clone)]
985pub struct __once_flag {
986 pub __data: ::std::os::raw::c_int,
987}
988#[allow(clippy::unnecessary_operation, clippy::identity_op)]
989const _: () = {
990 ["Size of __once_flag"][::std::mem::size_of::<__once_flag>() - 4usize];
991 ["Alignment of __once_flag"][::std::mem::align_of::<__once_flag>() - 4usize];
992 ["Offset of field: __once_flag::__data"][::std::mem::offset_of!(__once_flag, __data) - 0usize];
993};
994pub type pthread_t = ::std::os::raw::c_ulong;
995#[repr(C)]
996#[derive(Copy, Clone)]
997pub union pthread_mutexattr_t {
998 pub __size: [::std::os::raw::c_char; 4usize],
999 pub __align: ::std::os::raw::c_int,
1000}
1001#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1002const _: () = {
1003 ["Size of pthread_mutexattr_t"][::std::mem::size_of::<pthread_mutexattr_t>() - 4usize];
1004 ["Alignment of pthread_mutexattr_t"][::std::mem::align_of::<pthread_mutexattr_t>() - 4usize];
1005 ["Offset of field: pthread_mutexattr_t::__size"]
1006 [::std::mem::offset_of!(pthread_mutexattr_t, __size) - 0usize];
1007 ["Offset of field: pthread_mutexattr_t::__align"]
1008 [::std::mem::offset_of!(pthread_mutexattr_t, __align) - 0usize];
1009};
1010#[repr(C)]
1011#[derive(Copy, Clone)]
1012pub union pthread_condattr_t {
1013 pub __size: [::std::os::raw::c_char; 4usize],
1014 pub __align: ::std::os::raw::c_int,
1015}
1016#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1017const _: () = {
1018 ["Size of pthread_condattr_t"][::std::mem::size_of::<pthread_condattr_t>() - 4usize];
1019 ["Alignment of pthread_condattr_t"][::std::mem::align_of::<pthread_condattr_t>() - 4usize];
1020 ["Offset of field: pthread_condattr_t::__size"]
1021 [::std::mem::offset_of!(pthread_condattr_t, __size) - 0usize];
1022 ["Offset of field: pthread_condattr_t::__align"]
1023 [::std::mem::offset_of!(pthread_condattr_t, __align) - 0usize];
1024};
1025pub type pthread_key_t = ::std::os::raw::c_uint;
1026pub type pthread_once_t = ::std::os::raw::c_int;
1027#[repr(C)]
1028#[derive(Copy, Clone)]
1029pub union pthread_attr_t {
1030 pub __size: [::std::os::raw::c_char; 56usize],
1031 pub __align: ::std::os::raw::c_long,
1032}
1033#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1034const _: () = {
1035 ["Size of pthread_attr_t"][::std::mem::size_of::<pthread_attr_t>() - 56usize];
1036 ["Alignment of pthread_attr_t"][::std::mem::align_of::<pthread_attr_t>() - 8usize];
1037 ["Offset of field: pthread_attr_t::__size"]
1038 [::std::mem::offset_of!(pthread_attr_t, __size) - 0usize];
1039 ["Offset of field: pthread_attr_t::__align"]
1040 [::std::mem::offset_of!(pthread_attr_t, __align) - 0usize];
1041};
1042#[repr(C)]
1043#[derive(Copy, Clone)]
1044pub union pthread_mutex_t {
1045 pub __data: __pthread_mutex_s,
1046 pub __size: [::std::os::raw::c_char; 40usize],
1047 pub __align: ::std::os::raw::c_long,
1048}
1049#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1050const _: () = {
1051 ["Size of pthread_mutex_t"][::std::mem::size_of::<pthread_mutex_t>() - 40usize];
1052 ["Alignment of pthread_mutex_t"][::std::mem::align_of::<pthread_mutex_t>() - 8usize];
1053 ["Offset of field: pthread_mutex_t::__data"]
1054 [::std::mem::offset_of!(pthread_mutex_t, __data) - 0usize];
1055 ["Offset of field: pthread_mutex_t::__size"]
1056 [::std::mem::offset_of!(pthread_mutex_t, __size) - 0usize];
1057 ["Offset of field: pthread_mutex_t::__align"]
1058 [::std::mem::offset_of!(pthread_mutex_t, __align) - 0usize];
1059};
1060#[repr(C)]
1061#[derive(Copy, Clone)]
1062pub union pthread_cond_t {
1063 pub __data: __pthread_cond_s,
1064 pub __size: [::std::os::raw::c_char; 48usize],
1065 pub __align: ::std::os::raw::c_longlong,
1066}
1067#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1068const _: () = {
1069 ["Size of pthread_cond_t"][::std::mem::size_of::<pthread_cond_t>() - 48usize];
1070 ["Alignment of pthread_cond_t"][::std::mem::align_of::<pthread_cond_t>() - 8usize];
1071 ["Offset of field: pthread_cond_t::__data"]
1072 [::std::mem::offset_of!(pthread_cond_t, __data) - 0usize];
1073 ["Offset of field: pthread_cond_t::__size"]
1074 [::std::mem::offset_of!(pthread_cond_t, __size) - 0usize];
1075 ["Offset of field: pthread_cond_t::__align"]
1076 [::std::mem::offset_of!(pthread_cond_t, __align) - 0usize];
1077};
1078#[repr(C)]
1079#[derive(Copy, Clone)]
1080pub union pthread_rwlock_t {
1081 pub __data: __pthread_rwlock_arch_t,
1082 pub __size: [::std::os::raw::c_char; 56usize],
1083 pub __align: ::std::os::raw::c_long,
1084}
1085#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1086const _: () = {
1087 ["Size of pthread_rwlock_t"][::std::mem::size_of::<pthread_rwlock_t>() - 56usize];
1088 ["Alignment of pthread_rwlock_t"][::std::mem::align_of::<pthread_rwlock_t>() - 8usize];
1089 ["Offset of field: pthread_rwlock_t::__data"]
1090 [::std::mem::offset_of!(pthread_rwlock_t, __data) - 0usize];
1091 ["Offset of field: pthread_rwlock_t::__size"]
1092 [::std::mem::offset_of!(pthread_rwlock_t, __size) - 0usize];
1093 ["Offset of field: pthread_rwlock_t::__align"]
1094 [::std::mem::offset_of!(pthread_rwlock_t, __align) - 0usize];
1095};
1096#[repr(C)]
1097#[derive(Copy, Clone)]
1098pub union pthread_rwlockattr_t {
1099 pub __size: [::std::os::raw::c_char; 8usize],
1100 pub __align: ::std::os::raw::c_long,
1101}
1102#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1103const _: () = {
1104 ["Size of pthread_rwlockattr_t"][::std::mem::size_of::<pthread_rwlockattr_t>() - 8usize];
1105 ["Alignment of pthread_rwlockattr_t"][::std::mem::align_of::<pthread_rwlockattr_t>() - 8usize];
1106 ["Offset of field: pthread_rwlockattr_t::__size"]
1107 [::std::mem::offset_of!(pthread_rwlockattr_t, __size) - 0usize];
1108 ["Offset of field: pthread_rwlockattr_t::__align"]
1109 [::std::mem::offset_of!(pthread_rwlockattr_t, __align) - 0usize];
1110};
1111pub type pthread_spinlock_t = ::std::os::raw::c_int;
1112#[repr(C)]
1113#[derive(Copy, Clone)]
1114pub union pthread_barrier_t {
1115 pub __size: [::std::os::raw::c_char; 32usize],
1116 pub __align: ::std::os::raw::c_long,
1117}
1118#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1119const _: () = {
1120 ["Size of pthread_barrier_t"][::std::mem::size_of::<pthread_barrier_t>() - 32usize];
1121 ["Alignment of pthread_barrier_t"][::std::mem::align_of::<pthread_barrier_t>() - 8usize];
1122 ["Offset of field: pthread_barrier_t::__size"]
1123 [::std::mem::offset_of!(pthread_barrier_t, __size) - 0usize];
1124 ["Offset of field: pthread_barrier_t::__align"]
1125 [::std::mem::offset_of!(pthread_barrier_t, __align) - 0usize];
1126};
1127#[repr(C)]
1128#[derive(Copy, Clone)]
1129pub union pthread_barrierattr_t {
1130 pub __size: [::std::os::raw::c_char; 4usize],
1131 pub __align: ::std::os::raw::c_int,
1132}
1133#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1134const _: () = {
1135 ["Size of pthread_barrierattr_t"][::std::mem::size_of::<pthread_barrierattr_t>() - 4usize];
1136 ["Alignment of pthread_barrierattr_t"]
1137 [::std::mem::align_of::<pthread_barrierattr_t>() - 4usize];
1138 ["Offset of field: pthread_barrierattr_t::__size"]
1139 [::std::mem::offset_of!(pthread_barrierattr_t, __size) - 0usize];
1140 ["Offset of field: pthread_barrierattr_t::__align"]
1141 [::std::mem::offset_of!(pthread_barrierattr_t, __align) - 0usize];
1142};
1143pub type int_least8_t = __int_least8_t;
1144pub type int_least16_t = __int_least16_t;
1145pub type int_least32_t = __int_least32_t;
1146pub type int_least64_t = __int_least64_t;
1147pub type uint_least8_t = __uint_least8_t;
1148pub type uint_least16_t = __uint_least16_t;
1149pub type uint_least32_t = __uint_least32_t;
1150pub type uint_least64_t = __uint_least64_t;
1151pub type int_fast8_t = ::std::os::raw::c_schar;
1152pub type int_fast16_t = ::std::os::raw::c_long;
1153pub type int_fast32_t = ::std::os::raw::c_long;
1154pub type int_fast64_t = ::std::os::raw::c_long;
1155pub type uint_fast8_t = ::std::os::raw::c_uchar;
1156pub type uint_fast16_t = ::std::os::raw::c_ulong;
1157pub type uint_fast32_t = ::std::os::raw::c_ulong;
1158pub type uint_fast64_t = ::std::os::raw::c_ulong;
1159pub type intmax_t = __intmax_t;
1160pub type uintmax_t = __uintmax_t;
1161#[repr(C)]
1162#[derive(Debug, Copy, Clone)]
1163pub struct iovec {
1164 pub iov_base: *mut ::std::os::raw::c_void,
1165 pub iov_len: usize,
1166}
1167#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1168const _: () = {
1169 ["Size of iovec"][::std::mem::size_of::<iovec>() - 16usize];
1170 ["Alignment of iovec"][::std::mem::align_of::<iovec>() - 8usize];
1171 ["Offset of field: iovec::iov_base"][::std::mem::offset_of!(iovec, iov_base) - 0usize];
1172 ["Offset of field: iovec::iov_len"][::std::mem::offset_of!(iovec, iov_len) - 8usize];
1173};
1174pub type socklen_t = __socklen_t;
1175pub const __socket_type_SOCK_STREAM: __socket_type = 1;
1176pub const __socket_type_SOCK_DGRAM: __socket_type = 2;
1177pub const __socket_type_SOCK_RAW: __socket_type = 3;
1178pub const __socket_type_SOCK_RDM: __socket_type = 4;
1179pub const __socket_type_SOCK_SEQPACKET: __socket_type = 5;
1180pub const __socket_type_SOCK_DCCP: __socket_type = 6;
1181pub const __socket_type_SOCK_PACKET: __socket_type = 10;
1182pub const __socket_type_SOCK_CLOEXEC: __socket_type = 524288;
1183pub const __socket_type_SOCK_NONBLOCK: __socket_type = 2048;
1184pub type __socket_type = ::std::os::raw::c_uint;
1185pub type sa_family_t = ::std::os::raw::c_ushort;
1186#[repr(C)]
1187#[derive(Debug, Copy, Clone)]
1188pub struct sockaddr {
1189 pub sa_family: sa_family_t,
1190 pub sa_data: [::std::os::raw::c_char; 14usize],
1191}
1192#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1193const _: () = {
1194 ["Size of sockaddr"][::std::mem::size_of::<sockaddr>() - 16usize];
1195 ["Alignment of sockaddr"][::std::mem::align_of::<sockaddr>() - 2usize];
1196 ["Offset of field: sockaddr::sa_family"][::std::mem::offset_of!(sockaddr, sa_family) - 0usize];
1197 ["Offset of field: sockaddr::sa_data"][::std::mem::offset_of!(sockaddr, sa_data) - 2usize];
1198};
1199#[repr(C)]
1200#[derive(Debug, Copy, Clone)]
1201pub struct sockaddr_storage {
1202 pub ss_family: sa_family_t,
1203 pub __ss_padding: [::std::os::raw::c_char; 118usize],
1204 pub __ss_align: ::std::os::raw::c_ulong,
1205}
1206#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1207const _: () = {
1208 ["Size of sockaddr_storage"][::std::mem::size_of::<sockaddr_storage>() - 128usize];
1209 ["Alignment of sockaddr_storage"][::std::mem::align_of::<sockaddr_storage>() - 8usize];
1210 ["Offset of field: sockaddr_storage::ss_family"]
1211 [::std::mem::offset_of!(sockaddr_storage, ss_family) - 0usize];
1212 ["Offset of field: sockaddr_storage::__ss_padding"]
1213 [::std::mem::offset_of!(sockaddr_storage, __ss_padding) - 2usize];
1214 ["Offset of field: sockaddr_storage::__ss_align"]
1215 [::std::mem::offset_of!(sockaddr_storage, __ss_align) - 120usize];
1216};
1217pub const MSG_OOB: _bindgen_ty_1 = 1;
1218pub const MSG_PEEK: _bindgen_ty_1 = 2;
1219pub const MSG_DONTROUTE: _bindgen_ty_1 = 4;
1220pub const MSG_CTRUNC: _bindgen_ty_1 = 8;
1221pub const MSG_PROXY: _bindgen_ty_1 = 16;
1222pub const MSG_TRUNC: _bindgen_ty_1 = 32;
1223pub const MSG_DONTWAIT: _bindgen_ty_1 = 64;
1224pub const MSG_EOR: _bindgen_ty_1 = 128;
1225pub const MSG_WAITALL: _bindgen_ty_1 = 256;
1226pub const MSG_FIN: _bindgen_ty_1 = 512;
1227pub const MSG_SYN: _bindgen_ty_1 = 1024;
1228pub const MSG_CONFIRM: _bindgen_ty_1 = 2048;
1229pub const MSG_RST: _bindgen_ty_1 = 4096;
1230pub const MSG_ERRQUEUE: _bindgen_ty_1 = 8192;
1231pub const MSG_NOSIGNAL: _bindgen_ty_1 = 16384;
1232pub const MSG_MORE: _bindgen_ty_1 = 32768;
1233pub const MSG_WAITFORONE: _bindgen_ty_1 = 65536;
1234pub const MSG_BATCH: _bindgen_ty_1 = 262144;
1235pub const MSG_ZEROCOPY: _bindgen_ty_1 = 67108864;
1236pub const MSG_FASTOPEN: _bindgen_ty_1 = 536870912;
1237pub const MSG_CMSG_CLOEXEC: _bindgen_ty_1 = 1073741824;
1238pub type _bindgen_ty_1 = ::std::os::raw::c_uint;
1239#[repr(C)]
1240#[derive(Debug, Copy, Clone)]
1241pub struct msghdr {
1242 pub msg_name: *mut ::std::os::raw::c_void,
1243 pub msg_namelen: socklen_t,
1244 pub msg_iov: *mut iovec,
1245 pub msg_iovlen: usize,
1246 pub msg_control: *mut ::std::os::raw::c_void,
1247 pub msg_controllen: usize,
1248 pub msg_flags: ::std::os::raw::c_int,
1249}
1250#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1251const _: () = {
1252 ["Size of msghdr"][::std::mem::size_of::<msghdr>() - 56usize];
1253 ["Alignment of msghdr"][::std::mem::align_of::<msghdr>() - 8usize];
1254 ["Offset of field: msghdr::msg_name"][::std::mem::offset_of!(msghdr, msg_name) - 0usize];
1255 ["Offset of field: msghdr::msg_namelen"][::std::mem::offset_of!(msghdr, msg_namelen) - 8usize];
1256 ["Offset of field: msghdr::msg_iov"][::std::mem::offset_of!(msghdr, msg_iov) - 16usize];
1257 ["Offset of field: msghdr::msg_iovlen"][::std::mem::offset_of!(msghdr, msg_iovlen) - 24usize];
1258 ["Offset of field: msghdr::msg_control"][::std::mem::offset_of!(msghdr, msg_control) - 32usize];
1259 ["Offset of field: msghdr::msg_controllen"]
1260 [::std::mem::offset_of!(msghdr, msg_controllen) - 40usize];
1261 ["Offset of field: msghdr::msg_flags"][::std::mem::offset_of!(msghdr, msg_flags) - 48usize];
1262};
1263#[repr(C)]
1264#[derive(Debug)]
1265pub struct cmsghdr {
1266 pub cmsg_len: usize,
1267 pub cmsg_level: ::std::os::raw::c_int,
1268 pub cmsg_type: ::std::os::raw::c_int,
1269 pub __cmsg_data: __IncompleteArrayField<::std::os::raw::c_uchar>,
1270}
1271#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1272const _: () = {
1273 ["Size of cmsghdr"][::std::mem::size_of::<cmsghdr>() - 16usize];
1274 ["Alignment of cmsghdr"][::std::mem::align_of::<cmsghdr>() - 8usize];
1275 ["Offset of field: cmsghdr::cmsg_len"][::std::mem::offset_of!(cmsghdr, cmsg_len) - 0usize];
1276 ["Offset of field: cmsghdr::cmsg_level"][::std::mem::offset_of!(cmsghdr, cmsg_level) - 8usize];
1277 ["Offset of field: cmsghdr::cmsg_type"][::std::mem::offset_of!(cmsghdr, cmsg_type) - 12usize];
1278 ["Offset of field: cmsghdr::__cmsg_data"]
1279 [::std::mem::offset_of!(cmsghdr, __cmsg_data) - 16usize];
1280};
1281unsafe extern "C" {
1282 pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr) -> *mut cmsghdr;
1283}
1284pub const SCM_RIGHTS: _bindgen_ty_2 = 1;
1285pub type _bindgen_ty_2 = ::std::os::raw::c_uint;
1286#[repr(C)]
1287#[derive(Debug, Copy, Clone)]
1288pub struct __kernel_fd_set {
1289 pub fds_bits: [::std::os::raw::c_ulong; 16usize],
1290}
1291#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1292const _: () = {
1293 ["Size of __kernel_fd_set"][::std::mem::size_of::<__kernel_fd_set>() - 128usize];
1294 ["Alignment of __kernel_fd_set"][::std::mem::align_of::<__kernel_fd_set>() - 8usize];
1295 ["Offset of field: __kernel_fd_set::fds_bits"]
1296 [::std::mem::offset_of!(__kernel_fd_set, fds_bits) - 0usize];
1297};
1298pub type __kernel_sighandler_t =
1299 ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
1300pub type __kernel_key_t = ::std::os::raw::c_int;
1301pub type __kernel_mqd_t = ::std::os::raw::c_int;
1302pub type __kernel_old_uid_t = ::std::os::raw::c_ushort;
1303pub type __kernel_old_gid_t = ::std::os::raw::c_ushort;
1304pub type __kernel_old_dev_t = ::std::os::raw::c_ulong;
1305pub type __kernel_long_t = ::std::os::raw::c_long;
1306pub type __kernel_ulong_t = ::std::os::raw::c_ulong;
1307pub type __kernel_ino_t = __kernel_ulong_t;
1308pub type __kernel_mode_t = ::std::os::raw::c_uint;
1309pub type __kernel_pid_t = ::std::os::raw::c_int;
1310pub type __kernel_ipc_pid_t = ::std::os::raw::c_int;
1311pub type __kernel_uid_t = ::std::os::raw::c_uint;
1312pub type __kernel_gid_t = ::std::os::raw::c_uint;
1313pub type __kernel_suseconds_t = __kernel_long_t;
1314pub type __kernel_daddr_t = ::std::os::raw::c_int;
1315pub type __kernel_uid32_t = ::std::os::raw::c_uint;
1316pub type __kernel_gid32_t = ::std::os::raw::c_uint;
1317pub type __kernel_size_t = __kernel_ulong_t;
1318pub type __kernel_ssize_t = __kernel_long_t;
1319pub type __kernel_ptrdiff_t = __kernel_long_t;
1320#[repr(C)]
1321#[derive(Debug, Copy, Clone)]
1322pub struct __kernel_fsid_t {
1323 pub val: [::std::os::raw::c_int; 2usize],
1324}
1325#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1326const _: () = {
1327 ["Size of __kernel_fsid_t"][::std::mem::size_of::<__kernel_fsid_t>() - 8usize];
1328 ["Alignment of __kernel_fsid_t"][::std::mem::align_of::<__kernel_fsid_t>() - 4usize];
1329 ["Offset of field: __kernel_fsid_t::val"]
1330 [::std::mem::offset_of!(__kernel_fsid_t, val) - 0usize];
1331};
1332pub type __kernel_off_t = __kernel_long_t;
1333pub type __kernel_loff_t = ::std::os::raw::c_longlong;
1334pub type __kernel_old_time_t = __kernel_long_t;
1335pub type __kernel_time_t = __kernel_long_t;
1336pub type __kernel_time64_t = ::std::os::raw::c_longlong;
1337pub type __kernel_clock_t = __kernel_long_t;
1338pub type __kernel_timer_t = ::std::os::raw::c_int;
1339pub type __kernel_clockid_t = ::std::os::raw::c_int;
1340pub type __kernel_caddr_t = *mut ::std::os::raw::c_char;
1341pub type __kernel_uid16_t = ::std::os::raw::c_ushort;
1342pub type __kernel_gid16_t = ::std::os::raw::c_ushort;
1343#[repr(C)]
1344#[derive(Debug, Copy, Clone)]
1345pub struct linger {
1346 pub l_onoff: ::std::os::raw::c_int,
1347 pub l_linger: ::std::os::raw::c_int,
1348}
1349#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1350const _: () = {
1351 ["Size of linger"][::std::mem::size_of::<linger>() - 8usize];
1352 ["Alignment of linger"][::std::mem::align_of::<linger>() - 4usize];
1353 ["Offset of field: linger::l_onoff"][::std::mem::offset_of!(linger, l_onoff) - 0usize];
1354 ["Offset of field: linger::l_linger"][::std::mem::offset_of!(linger, l_linger) - 4usize];
1355};
1356#[repr(C)]
1357#[derive(Debug, Copy, Clone)]
1358pub struct osockaddr {
1359 pub sa_family: ::std::os::raw::c_ushort,
1360 pub sa_data: [::std::os::raw::c_uchar; 14usize],
1361}
1362#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1363const _: () = {
1364 ["Size of osockaddr"][::std::mem::size_of::<osockaddr>() - 16usize];
1365 ["Alignment of osockaddr"][::std::mem::align_of::<osockaddr>() - 2usize];
1366 ["Offset of field: osockaddr::sa_family"]
1367 [::std::mem::offset_of!(osockaddr, sa_family) - 0usize];
1368 ["Offset of field: osockaddr::sa_data"][::std::mem::offset_of!(osockaddr, sa_data) - 2usize];
1369};
1370pub const SHUT_RD: _bindgen_ty_3 = 0;
1371pub const SHUT_WR: _bindgen_ty_3 = 1;
1372pub const SHUT_RDWR: _bindgen_ty_3 = 2;
1373pub type _bindgen_ty_3 = ::std::os::raw::c_uint;
1374unsafe extern "C" {
1375 pub fn socket(
1376 __domain: ::std::os::raw::c_int,
1377 __type: ::std::os::raw::c_int,
1378 __protocol: ::std::os::raw::c_int,
1379 ) -> ::std::os::raw::c_int;
1380}
1381unsafe extern "C" {
1382 pub fn socketpair(
1383 __domain: ::std::os::raw::c_int,
1384 __type: ::std::os::raw::c_int,
1385 __protocol: ::std::os::raw::c_int,
1386 __fds: *mut ::std::os::raw::c_int,
1387 ) -> ::std::os::raw::c_int;
1388}
1389unsafe extern "C" {
1390 pub fn bind(
1391 __fd: ::std::os::raw::c_int,
1392 __addr: *const sockaddr,
1393 __len: socklen_t,
1394 ) -> ::std::os::raw::c_int;
1395}
1396unsafe extern "C" {
1397 pub fn getsockname(
1398 __fd: ::std::os::raw::c_int,
1399 __addr: *mut sockaddr,
1400 __len: *mut socklen_t,
1401 ) -> ::std::os::raw::c_int;
1402}
1403unsafe extern "C" {
1404 pub fn connect(
1405 __fd: ::std::os::raw::c_int,
1406 __addr: *const sockaddr,
1407 __len: socklen_t,
1408 ) -> ::std::os::raw::c_int;
1409}
1410unsafe extern "C" {
1411 pub fn getpeername(
1412 __fd: ::std::os::raw::c_int,
1413 __addr: *mut sockaddr,
1414 __len: *mut socklen_t,
1415 ) -> ::std::os::raw::c_int;
1416}
1417unsafe extern "C" {
1418 pub fn send(
1419 __fd: ::std::os::raw::c_int,
1420 __buf: *const ::std::os::raw::c_void,
1421 __n: usize,
1422 __flags: ::std::os::raw::c_int,
1423 ) -> isize;
1424}
1425unsafe extern "C" {
1426 pub fn recv(
1427 __fd: ::std::os::raw::c_int,
1428 __buf: *mut ::std::os::raw::c_void,
1429 __n: usize,
1430 __flags: ::std::os::raw::c_int,
1431 ) -> isize;
1432}
1433unsafe extern "C" {
1434 pub fn sendto(
1435 __fd: ::std::os::raw::c_int,
1436 __buf: *const ::std::os::raw::c_void,
1437 __n: usize,
1438 __flags: ::std::os::raw::c_int,
1439 __addr: *const sockaddr,
1440 __addr_len: socklen_t,
1441 ) -> isize;
1442}
1443unsafe extern "C" {
1444 pub fn recvfrom(
1445 __fd: ::std::os::raw::c_int,
1446 __buf: *mut ::std::os::raw::c_void,
1447 __n: usize,
1448 __flags: ::std::os::raw::c_int,
1449 __addr: *mut sockaddr,
1450 __addr_len: *mut socklen_t,
1451 ) -> isize;
1452}
1453unsafe extern "C" {
1454 pub fn sendmsg(
1455 __fd: ::std::os::raw::c_int,
1456 __message: *const msghdr,
1457 __flags: ::std::os::raw::c_int,
1458 ) -> isize;
1459}
1460unsafe extern "C" {
1461 pub fn recvmsg(
1462 __fd: ::std::os::raw::c_int,
1463 __message: *mut msghdr,
1464 __flags: ::std::os::raw::c_int,
1465 ) -> isize;
1466}
1467unsafe extern "C" {
1468 pub fn getsockopt(
1469 __fd: ::std::os::raw::c_int,
1470 __level: ::std::os::raw::c_int,
1471 __optname: ::std::os::raw::c_int,
1472 __optval: *mut ::std::os::raw::c_void,
1473 __optlen: *mut socklen_t,
1474 ) -> ::std::os::raw::c_int;
1475}
1476unsafe extern "C" {
1477 pub fn setsockopt(
1478 __fd: ::std::os::raw::c_int,
1479 __level: ::std::os::raw::c_int,
1480 __optname: ::std::os::raw::c_int,
1481 __optval: *const ::std::os::raw::c_void,
1482 __optlen: socklen_t,
1483 ) -> ::std::os::raw::c_int;
1484}
1485unsafe extern "C" {
1486 pub fn listen(__fd: ::std::os::raw::c_int, __n: ::std::os::raw::c_int)
1487 -> ::std::os::raw::c_int;
1488}
1489unsafe extern "C" {
1490 pub fn accept(
1491 __fd: ::std::os::raw::c_int,
1492 __addr: *mut sockaddr,
1493 __addr_len: *mut socklen_t,
1494 ) -> ::std::os::raw::c_int;
1495}
1496unsafe extern "C" {
1497 pub fn shutdown(
1498 __fd: ::std::os::raw::c_int,
1499 __how: ::std::os::raw::c_int,
1500 ) -> ::std::os::raw::c_int;
1501}
1502unsafe extern "C" {
1503 pub fn sockatmark(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1504}
1505unsafe extern "C" {
1506 pub fn isfdtype(
1507 __fd: ::std::os::raw::c_int,
1508 __fdtype: ::std::os::raw::c_int,
1509 ) -> ::std::os::raw::c_int;
1510}
1511pub type in_addr_t = u32;
1512#[repr(C)]
1513#[derive(Debug, Copy, Clone)]
1514pub struct in_addr {
1515 pub s_addr: in_addr_t,
1516}
1517#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1518const _: () = {
1519 ["Size of in_addr"][::std::mem::size_of::<in_addr>() - 4usize];
1520 ["Alignment of in_addr"][::std::mem::align_of::<in_addr>() - 4usize];
1521 ["Offset of field: in_addr::s_addr"][::std::mem::offset_of!(in_addr, s_addr) - 0usize];
1522};
1523#[repr(C)]
1524#[derive(Debug, Copy, Clone)]
1525pub struct ip_opts {
1526 pub ip_dst: in_addr,
1527 pub ip_opts: [::std::os::raw::c_char; 40usize],
1528}
1529#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1530const _: () = {
1531 ["Size of ip_opts"][::std::mem::size_of::<ip_opts>() - 44usize];
1532 ["Alignment of ip_opts"][::std::mem::align_of::<ip_opts>() - 4usize];
1533 ["Offset of field: ip_opts::ip_dst"][::std::mem::offset_of!(ip_opts, ip_dst) - 0usize];
1534 ["Offset of field: ip_opts::ip_opts"][::std::mem::offset_of!(ip_opts, ip_opts) - 4usize];
1535};
1536#[repr(C)]
1537#[derive(Debug, Copy, Clone)]
1538pub struct in_pktinfo {
1539 pub ipi_ifindex: ::std::os::raw::c_int,
1540 pub ipi_spec_dst: in_addr,
1541 pub ipi_addr: in_addr,
1542}
1543#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1544const _: () = {
1545 ["Size of in_pktinfo"][::std::mem::size_of::<in_pktinfo>() - 12usize];
1546 ["Alignment of in_pktinfo"][::std::mem::align_of::<in_pktinfo>() - 4usize];
1547 ["Offset of field: in_pktinfo::ipi_ifindex"]
1548 [::std::mem::offset_of!(in_pktinfo, ipi_ifindex) - 0usize];
1549 ["Offset of field: in_pktinfo::ipi_spec_dst"]
1550 [::std::mem::offset_of!(in_pktinfo, ipi_spec_dst) - 4usize];
1551 ["Offset of field: in_pktinfo::ipi_addr"]
1552 [::std::mem::offset_of!(in_pktinfo, ipi_addr) - 8usize];
1553};
1554pub const IPPROTO_IP: _bindgen_ty_4 = 0;
1555pub const IPPROTO_ICMP: _bindgen_ty_4 = 1;
1556pub const IPPROTO_IGMP: _bindgen_ty_4 = 2;
1557pub const IPPROTO_IPIP: _bindgen_ty_4 = 4;
1558pub const IPPROTO_TCP: _bindgen_ty_4 = 6;
1559pub const IPPROTO_EGP: _bindgen_ty_4 = 8;
1560pub const IPPROTO_PUP: _bindgen_ty_4 = 12;
1561pub const IPPROTO_UDP: _bindgen_ty_4 = 17;
1562pub const IPPROTO_IDP: _bindgen_ty_4 = 22;
1563pub const IPPROTO_TP: _bindgen_ty_4 = 29;
1564pub const IPPROTO_DCCP: _bindgen_ty_4 = 33;
1565pub const IPPROTO_IPV6: _bindgen_ty_4 = 41;
1566pub const IPPROTO_RSVP: _bindgen_ty_4 = 46;
1567pub const IPPROTO_GRE: _bindgen_ty_4 = 47;
1568pub const IPPROTO_ESP: _bindgen_ty_4 = 50;
1569pub const IPPROTO_AH: _bindgen_ty_4 = 51;
1570pub const IPPROTO_MTP: _bindgen_ty_4 = 92;
1571pub const IPPROTO_BEETPH: _bindgen_ty_4 = 94;
1572pub const IPPROTO_ENCAP: _bindgen_ty_4 = 98;
1573pub const IPPROTO_PIM: _bindgen_ty_4 = 103;
1574pub const IPPROTO_COMP: _bindgen_ty_4 = 108;
1575pub const IPPROTO_L2TP: _bindgen_ty_4 = 115;
1576pub const IPPROTO_SCTP: _bindgen_ty_4 = 132;
1577pub const IPPROTO_UDPLITE: _bindgen_ty_4 = 136;
1578pub const IPPROTO_MPLS: _bindgen_ty_4 = 137;
1579pub const IPPROTO_ETHERNET: _bindgen_ty_4 = 143;
1580pub const IPPROTO_RAW: _bindgen_ty_4 = 255;
1581pub const IPPROTO_MPTCP: _bindgen_ty_4 = 262;
1582pub const IPPROTO_MAX: _bindgen_ty_4 = 263;
1583pub type _bindgen_ty_4 = ::std::os::raw::c_uint;
1584pub const IPPROTO_HOPOPTS: _bindgen_ty_5 = 0;
1585pub const IPPROTO_ROUTING: _bindgen_ty_5 = 43;
1586pub const IPPROTO_FRAGMENT: _bindgen_ty_5 = 44;
1587pub const IPPROTO_ICMPV6: _bindgen_ty_5 = 58;
1588pub const IPPROTO_NONE: _bindgen_ty_5 = 59;
1589pub const IPPROTO_DSTOPTS: _bindgen_ty_5 = 60;
1590pub const IPPROTO_MH: _bindgen_ty_5 = 135;
1591pub type _bindgen_ty_5 = ::std::os::raw::c_uint;
1592pub type in_port_t = u16;
1593pub const IPPORT_ECHO: _bindgen_ty_6 = 7;
1594pub const IPPORT_DISCARD: _bindgen_ty_6 = 9;
1595pub const IPPORT_SYSTAT: _bindgen_ty_6 = 11;
1596pub const IPPORT_DAYTIME: _bindgen_ty_6 = 13;
1597pub const IPPORT_NETSTAT: _bindgen_ty_6 = 15;
1598pub const IPPORT_FTP: _bindgen_ty_6 = 21;
1599pub const IPPORT_TELNET: _bindgen_ty_6 = 23;
1600pub const IPPORT_SMTP: _bindgen_ty_6 = 25;
1601pub const IPPORT_TIMESERVER: _bindgen_ty_6 = 37;
1602pub const IPPORT_NAMESERVER: _bindgen_ty_6 = 42;
1603pub const IPPORT_WHOIS: _bindgen_ty_6 = 43;
1604pub const IPPORT_MTP: _bindgen_ty_6 = 57;
1605pub const IPPORT_TFTP: _bindgen_ty_6 = 69;
1606pub const IPPORT_RJE: _bindgen_ty_6 = 77;
1607pub const IPPORT_FINGER: _bindgen_ty_6 = 79;
1608pub const IPPORT_TTYLINK: _bindgen_ty_6 = 87;
1609pub const IPPORT_SUPDUP: _bindgen_ty_6 = 95;
1610pub const IPPORT_EXECSERVER: _bindgen_ty_6 = 512;
1611pub const IPPORT_LOGINSERVER: _bindgen_ty_6 = 513;
1612pub const IPPORT_CMDSERVER: _bindgen_ty_6 = 514;
1613pub const IPPORT_EFSSERVER: _bindgen_ty_6 = 520;
1614pub const IPPORT_BIFFUDP: _bindgen_ty_6 = 512;
1615pub const IPPORT_WHOSERVER: _bindgen_ty_6 = 513;
1616pub const IPPORT_ROUTESERVER: _bindgen_ty_6 = 520;
1617pub const IPPORT_RESERVED: _bindgen_ty_6 = 1024;
1618pub const IPPORT_USERRESERVED: _bindgen_ty_6 = 5000;
1619pub type _bindgen_ty_6 = ::std::os::raw::c_uint;
1620#[repr(C)]
1621#[derive(Copy, Clone)]
1622pub struct in6_addr {
1623 pub __in6_u: in6_addr__bindgen_ty_1,
1624}
1625#[repr(C)]
1626#[derive(Copy, Clone)]
1627pub union in6_addr__bindgen_ty_1 {
1628 pub __u6_addr8: [u8; 16usize],
1629 pub __u6_addr16: [u16; 8usize],
1630 pub __u6_addr32: [u32; 4usize],
1631}
1632#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1633const _: () = {
1634 ["Size of in6_addr__bindgen_ty_1"][::std::mem::size_of::<in6_addr__bindgen_ty_1>() - 16usize];
1635 ["Alignment of in6_addr__bindgen_ty_1"]
1636 [::std::mem::align_of::<in6_addr__bindgen_ty_1>() - 4usize];
1637 ["Offset of field: in6_addr__bindgen_ty_1::__u6_addr8"]
1638 [::std::mem::offset_of!(in6_addr__bindgen_ty_1, __u6_addr8) - 0usize];
1639 ["Offset of field: in6_addr__bindgen_ty_1::__u6_addr16"]
1640 [::std::mem::offset_of!(in6_addr__bindgen_ty_1, __u6_addr16) - 0usize];
1641 ["Offset of field: in6_addr__bindgen_ty_1::__u6_addr32"]
1642 [::std::mem::offset_of!(in6_addr__bindgen_ty_1, __u6_addr32) - 0usize];
1643};
1644#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1645const _: () = {
1646 ["Size of in6_addr"][::std::mem::size_of::<in6_addr>() - 16usize];
1647 ["Alignment of in6_addr"][::std::mem::align_of::<in6_addr>() - 4usize];
1648 ["Offset of field: in6_addr::__in6_u"][::std::mem::offset_of!(in6_addr, __in6_u) - 0usize];
1649};
1650unsafe extern "C" {
1651 pub static in6addr_any: in6_addr;
1652}
1653unsafe extern "C" {
1654 pub static in6addr_loopback: in6_addr;
1655}
1656#[repr(C)]
1657#[derive(Debug, Copy, Clone)]
1658pub struct sockaddr_in {
1659 pub sin_family: sa_family_t,
1660 pub sin_port: in_port_t,
1661 pub sin_addr: in_addr,
1662 pub sin_zero: [::std::os::raw::c_uchar; 8usize],
1663}
1664#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1665const _: () = {
1666 ["Size of sockaddr_in"][::std::mem::size_of::<sockaddr_in>() - 16usize];
1667 ["Alignment of sockaddr_in"][::std::mem::align_of::<sockaddr_in>() - 4usize];
1668 ["Offset of field: sockaddr_in::sin_family"]
1669 [::std::mem::offset_of!(sockaddr_in, sin_family) - 0usize];
1670 ["Offset of field: sockaddr_in::sin_port"]
1671 [::std::mem::offset_of!(sockaddr_in, sin_port) - 2usize];
1672 ["Offset of field: sockaddr_in::sin_addr"]
1673 [::std::mem::offset_of!(sockaddr_in, sin_addr) - 4usize];
1674 ["Offset of field: sockaddr_in::sin_zero"]
1675 [::std::mem::offset_of!(sockaddr_in, sin_zero) - 8usize];
1676};
1677#[repr(C)]
1678#[derive(Copy, Clone)]
1679pub struct sockaddr_in6 {
1680 pub sin6_family: sa_family_t,
1681 pub sin6_port: in_port_t,
1682 pub sin6_flowinfo: u32,
1683 pub sin6_addr: in6_addr,
1684 pub sin6_scope_id: u32,
1685}
1686#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1687const _: () = {
1688 ["Size of sockaddr_in6"][::std::mem::size_of::<sockaddr_in6>() - 28usize];
1689 ["Alignment of sockaddr_in6"][::std::mem::align_of::<sockaddr_in6>() - 4usize];
1690 ["Offset of field: sockaddr_in6::sin6_family"]
1691 [::std::mem::offset_of!(sockaddr_in6, sin6_family) - 0usize];
1692 ["Offset of field: sockaddr_in6::sin6_port"]
1693 [::std::mem::offset_of!(sockaddr_in6, sin6_port) - 2usize];
1694 ["Offset of field: sockaddr_in6::sin6_flowinfo"]
1695 [::std::mem::offset_of!(sockaddr_in6, sin6_flowinfo) - 4usize];
1696 ["Offset of field: sockaddr_in6::sin6_addr"]
1697 [::std::mem::offset_of!(sockaddr_in6, sin6_addr) - 8usize];
1698 ["Offset of field: sockaddr_in6::sin6_scope_id"]
1699 [::std::mem::offset_of!(sockaddr_in6, sin6_scope_id) - 24usize];
1700};
1701#[repr(C)]
1702#[derive(Debug, Copy, Clone)]
1703pub struct ip_mreq {
1704 pub imr_multiaddr: in_addr,
1705 pub imr_interface: in_addr,
1706}
1707#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1708const _: () = {
1709 ["Size of ip_mreq"][::std::mem::size_of::<ip_mreq>() - 8usize];
1710 ["Alignment of ip_mreq"][::std::mem::align_of::<ip_mreq>() - 4usize];
1711 ["Offset of field: ip_mreq::imr_multiaddr"]
1712 [::std::mem::offset_of!(ip_mreq, imr_multiaddr) - 0usize];
1713 ["Offset of field: ip_mreq::imr_interface"]
1714 [::std::mem::offset_of!(ip_mreq, imr_interface) - 4usize];
1715};
1716#[repr(C)]
1717#[derive(Debug, Copy, Clone)]
1718pub struct ip_mreqn {
1719 pub imr_multiaddr: in_addr,
1720 pub imr_address: in_addr,
1721 pub imr_ifindex: ::std::os::raw::c_int,
1722}
1723#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1724const _: () = {
1725 ["Size of ip_mreqn"][::std::mem::size_of::<ip_mreqn>() - 12usize];
1726 ["Alignment of ip_mreqn"][::std::mem::align_of::<ip_mreqn>() - 4usize];
1727 ["Offset of field: ip_mreqn::imr_multiaddr"]
1728 [::std::mem::offset_of!(ip_mreqn, imr_multiaddr) - 0usize];
1729 ["Offset of field: ip_mreqn::imr_address"]
1730 [::std::mem::offset_of!(ip_mreqn, imr_address) - 4usize];
1731 ["Offset of field: ip_mreqn::imr_ifindex"]
1732 [::std::mem::offset_of!(ip_mreqn, imr_ifindex) - 8usize];
1733};
1734#[repr(C)]
1735#[derive(Debug, Copy, Clone)]
1736pub struct ip_mreq_source {
1737 pub imr_multiaddr: in_addr,
1738 pub imr_interface: in_addr,
1739 pub imr_sourceaddr: in_addr,
1740}
1741#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1742const _: () = {
1743 ["Size of ip_mreq_source"][::std::mem::size_of::<ip_mreq_source>() - 12usize];
1744 ["Alignment of ip_mreq_source"][::std::mem::align_of::<ip_mreq_source>() - 4usize];
1745 ["Offset of field: ip_mreq_source::imr_multiaddr"]
1746 [::std::mem::offset_of!(ip_mreq_source, imr_multiaddr) - 0usize];
1747 ["Offset of field: ip_mreq_source::imr_interface"]
1748 [::std::mem::offset_of!(ip_mreq_source, imr_interface) - 4usize];
1749 ["Offset of field: ip_mreq_source::imr_sourceaddr"]
1750 [::std::mem::offset_of!(ip_mreq_source, imr_sourceaddr) - 8usize];
1751};
1752#[repr(C)]
1753#[derive(Copy, Clone)]
1754pub struct ipv6_mreq {
1755 pub ipv6mr_multiaddr: in6_addr,
1756 pub ipv6mr_interface: ::std::os::raw::c_uint,
1757}
1758#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1759const _: () = {
1760 ["Size of ipv6_mreq"][::std::mem::size_of::<ipv6_mreq>() - 20usize];
1761 ["Alignment of ipv6_mreq"][::std::mem::align_of::<ipv6_mreq>() - 4usize];
1762 ["Offset of field: ipv6_mreq::ipv6mr_multiaddr"]
1763 [::std::mem::offset_of!(ipv6_mreq, ipv6mr_multiaddr) - 0usize];
1764 ["Offset of field: ipv6_mreq::ipv6mr_interface"]
1765 [::std::mem::offset_of!(ipv6_mreq, ipv6mr_interface) - 16usize];
1766};
1767#[repr(C)]
1768#[derive(Debug, Copy, Clone)]
1769pub struct group_req {
1770 pub gr_interface: u32,
1771 pub gr_group: sockaddr_storage,
1772}
1773#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1774const _: () = {
1775 ["Size of group_req"][::std::mem::size_of::<group_req>() - 136usize];
1776 ["Alignment of group_req"][::std::mem::align_of::<group_req>() - 8usize];
1777 ["Offset of field: group_req::gr_interface"]
1778 [::std::mem::offset_of!(group_req, gr_interface) - 0usize];
1779 ["Offset of field: group_req::gr_group"][::std::mem::offset_of!(group_req, gr_group) - 8usize];
1780};
1781#[repr(C)]
1782#[derive(Debug, Copy, Clone)]
1783pub struct group_source_req {
1784 pub gsr_interface: u32,
1785 pub gsr_group: sockaddr_storage,
1786 pub gsr_source: sockaddr_storage,
1787}
1788#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1789const _: () = {
1790 ["Size of group_source_req"][::std::mem::size_of::<group_source_req>() - 264usize];
1791 ["Alignment of group_source_req"][::std::mem::align_of::<group_source_req>() - 8usize];
1792 ["Offset of field: group_source_req::gsr_interface"]
1793 [::std::mem::offset_of!(group_source_req, gsr_interface) - 0usize];
1794 ["Offset of field: group_source_req::gsr_group"]
1795 [::std::mem::offset_of!(group_source_req, gsr_group) - 8usize];
1796 ["Offset of field: group_source_req::gsr_source"]
1797 [::std::mem::offset_of!(group_source_req, gsr_source) - 136usize];
1798};
1799#[repr(C)]
1800#[derive(Debug, Copy, Clone)]
1801pub struct ip_msfilter {
1802 pub imsf_multiaddr: in_addr,
1803 pub imsf_interface: in_addr,
1804 pub imsf_fmode: u32,
1805 pub imsf_numsrc: u32,
1806 pub imsf_slist: [in_addr; 1usize],
1807}
1808#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1809const _: () = {
1810 ["Size of ip_msfilter"][::std::mem::size_of::<ip_msfilter>() - 20usize];
1811 ["Alignment of ip_msfilter"][::std::mem::align_of::<ip_msfilter>() - 4usize];
1812 ["Offset of field: ip_msfilter::imsf_multiaddr"]
1813 [::std::mem::offset_of!(ip_msfilter, imsf_multiaddr) - 0usize];
1814 ["Offset of field: ip_msfilter::imsf_interface"]
1815 [::std::mem::offset_of!(ip_msfilter, imsf_interface) - 4usize];
1816 ["Offset of field: ip_msfilter::imsf_fmode"]
1817 [::std::mem::offset_of!(ip_msfilter, imsf_fmode) - 8usize];
1818 ["Offset of field: ip_msfilter::imsf_numsrc"]
1819 [::std::mem::offset_of!(ip_msfilter, imsf_numsrc) - 12usize];
1820 ["Offset of field: ip_msfilter::imsf_slist"]
1821 [::std::mem::offset_of!(ip_msfilter, imsf_slist) - 16usize];
1822};
1823#[repr(C)]
1824#[derive(Debug, Copy, Clone)]
1825pub struct group_filter {
1826 pub gf_interface: u32,
1827 pub gf_group: sockaddr_storage,
1828 pub gf_fmode: u32,
1829 pub gf_numsrc: u32,
1830 pub gf_slist: [sockaddr_storage; 1usize],
1831}
1832#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1833const _: () = {
1834 ["Size of group_filter"][::std::mem::size_of::<group_filter>() - 272usize];
1835 ["Alignment of group_filter"][::std::mem::align_of::<group_filter>() - 8usize];
1836 ["Offset of field: group_filter::gf_interface"]
1837 [::std::mem::offset_of!(group_filter, gf_interface) - 0usize];
1838 ["Offset of field: group_filter::gf_group"]
1839 [::std::mem::offset_of!(group_filter, gf_group) - 8usize];
1840 ["Offset of field: group_filter::gf_fmode"]
1841 [::std::mem::offset_of!(group_filter, gf_fmode) - 136usize];
1842 ["Offset of field: group_filter::gf_numsrc"]
1843 [::std::mem::offset_of!(group_filter, gf_numsrc) - 140usize];
1844 ["Offset of field: group_filter::gf_slist"]
1845 [::std::mem::offset_of!(group_filter, gf_slist) - 144usize];
1846};
1847unsafe extern "C" {
1848 pub fn ntohl(__netlong: u32) -> u32;
1849}
1850unsafe extern "C" {
1851 pub fn ntohs(__netshort: u16) -> u16;
1852}
1853unsafe extern "C" {
1854 pub fn htonl(__hostlong: u32) -> u32;
1855}
1856unsafe extern "C" {
1857 pub fn htons(__hostshort: u16) -> u16;
1858}
1859unsafe extern "C" {
1860 pub fn bindresvport(
1861 __sockfd: ::std::os::raw::c_int,
1862 __sock_in: *mut sockaddr_in,
1863 ) -> ::std::os::raw::c_int;
1864}
1865unsafe extern "C" {
1866 pub fn bindresvport6(
1867 __sockfd: ::std::os::raw::c_int,
1868 __sock_in: *mut sockaddr_in6,
1869 ) -> ::std::os::raw::c_int;
1870}
1871#[repr(C)]
1872#[derive(Copy, Clone)]
1873pub union lo_split64 {
1874 pub all: u64,
1875 pub part: lo_split64__bindgen_ty_1,
1876}
1877#[repr(C)]
1878#[derive(Debug, Copy, Clone)]
1879pub struct lo_split64__bindgen_ty_1 {
1880 pub a: u32,
1881 pub b: u32,
1882}
1883#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1884const _: () = {
1885 ["Size of lo_split64__bindgen_ty_1"]
1886 [::std::mem::size_of::<lo_split64__bindgen_ty_1>() - 8usize];
1887 ["Alignment of lo_split64__bindgen_ty_1"]
1888 [::std::mem::align_of::<lo_split64__bindgen_ty_1>() - 4usize];
1889 ["Offset of field: lo_split64__bindgen_ty_1::a"]
1890 [::std::mem::offset_of!(lo_split64__bindgen_ty_1, a) - 0usize];
1891 ["Offset of field: lo_split64__bindgen_ty_1::b"]
1892 [::std::mem::offset_of!(lo_split64__bindgen_ty_1, b) - 4usize];
1893};
1894#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1895const _: () = {
1896 ["Size of lo_split64"][::std::mem::size_of::<lo_split64>() - 8usize];
1897 ["Alignment of lo_split64"][::std::mem::align_of::<lo_split64>() - 8usize];
1898 ["Offset of field: lo_split64::all"][::std::mem::offset_of!(lo_split64, all) - 0usize];
1899 ["Offset of field: lo_split64::part"][::std::mem::offset_of!(lo_split64, part) - 0usize];
1900};
1901#[repr(C)]
1902#[derive(Debug, Copy, Clone)]
1903pub struct rpcent {
1904 pub r_name: *mut ::std::os::raw::c_char,
1905 pub r_aliases: *mut *mut ::std::os::raw::c_char,
1906 pub r_number: ::std::os::raw::c_int,
1907}
1908#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1909const _: () = {
1910 ["Size of rpcent"][::std::mem::size_of::<rpcent>() - 24usize];
1911 ["Alignment of rpcent"][::std::mem::align_of::<rpcent>() - 8usize];
1912 ["Offset of field: rpcent::r_name"][::std::mem::offset_of!(rpcent, r_name) - 0usize];
1913 ["Offset of field: rpcent::r_aliases"][::std::mem::offset_of!(rpcent, r_aliases) - 8usize];
1914 ["Offset of field: rpcent::r_number"][::std::mem::offset_of!(rpcent, r_number) - 16usize];
1915};
1916unsafe extern "C" {
1917 pub fn setrpcent(__stayopen: ::std::os::raw::c_int);
1918}
1919unsafe extern "C" {
1920 pub fn endrpcent();
1921}
1922unsafe extern "C" {
1923 pub fn getrpcbyname(__name: *const ::std::os::raw::c_char) -> *mut rpcent;
1924}
1925unsafe extern "C" {
1926 pub fn getrpcbynumber(__number: ::std::os::raw::c_int) -> *mut rpcent;
1927}
1928unsafe extern "C" {
1929 pub fn getrpcent() -> *mut rpcent;
1930}
1931unsafe extern "C" {
1932 pub fn getrpcbyname_r(
1933 __name: *const ::std::os::raw::c_char,
1934 __result_buf: *mut rpcent,
1935 __buffer: *mut ::std::os::raw::c_char,
1936 __buflen: usize,
1937 __result: *mut *mut rpcent,
1938 ) -> ::std::os::raw::c_int;
1939}
1940unsafe extern "C" {
1941 pub fn getrpcbynumber_r(
1942 __number: ::std::os::raw::c_int,
1943 __result_buf: *mut rpcent,
1944 __buffer: *mut ::std::os::raw::c_char,
1945 __buflen: usize,
1946 __result: *mut *mut rpcent,
1947 ) -> ::std::os::raw::c_int;
1948}
1949unsafe extern "C" {
1950 pub fn getrpcent_r(
1951 __result_buf: *mut rpcent,
1952 __buffer: *mut ::std::os::raw::c_char,
1953 __buflen: usize,
1954 __result: *mut *mut rpcent,
1955 ) -> ::std::os::raw::c_int;
1956}
1957#[repr(C)]
1958#[derive(Debug, Copy, Clone)]
1959pub struct netent {
1960 pub n_name: *mut ::std::os::raw::c_char,
1961 pub n_aliases: *mut *mut ::std::os::raw::c_char,
1962 pub n_addrtype: ::std::os::raw::c_int,
1963 pub n_net: u32,
1964}
1965#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1966const _: () = {
1967 ["Size of netent"][::std::mem::size_of::<netent>() - 24usize];
1968 ["Alignment of netent"][::std::mem::align_of::<netent>() - 8usize];
1969 ["Offset of field: netent::n_name"][::std::mem::offset_of!(netent, n_name) - 0usize];
1970 ["Offset of field: netent::n_aliases"][::std::mem::offset_of!(netent, n_aliases) - 8usize];
1971 ["Offset of field: netent::n_addrtype"][::std::mem::offset_of!(netent, n_addrtype) - 16usize];
1972 ["Offset of field: netent::n_net"][::std::mem::offset_of!(netent, n_net) - 20usize];
1973};
1974unsafe extern "C" {
1975 pub fn __h_errno_location() -> *mut ::std::os::raw::c_int;
1976}
1977unsafe extern "C" {
1978 pub fn herror(__str: *const ::std::os::raw::c_char);
1979}
1980unsafe extern "C" {
1981 pub fn hstrerror(__err_num: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
1982}
1983#[repr(C)]
1984#[derive(Debug, Copy, Clone)]
1985pub struct hostent {
1986 pub h_name: *mut ::std::os::raw::c_char,
1987 pub h_aliases: *mut *mut ::std::os::raw::c_char,
1988 pub h_addrtype: ::std::os::raw::c_int,
1989 pub h_length: ::std::os::raw::c_int,
1990 pub h_addr_list: *mut *mut ::std::os::raw::c_char,
1991}
1992#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1993const _: () = {
1994 ["Size of hostent"][::std::mem::size_of::<hostent>() - 32usize];
1995 ["Alignment of hostent"][::std::mem::align_of::<hostent>() - 8usize];
1996 ["Offset of field: hostent::h_name"][::std::mem::offset_of!(hostent, h_name) - 0usize];
1997 ["Offset of field: hostent::h_aliases"][::std::mem::offset_of!(hostent, h_aliases) - 8usize];
1998 ["Offset of field: hostent::h_addrtype"][::std::mem::offset_of!(hostent, h_addrtype) - 16usize];
1999 ["Offset of field: hostent::h_length"][::std::mem::offset_of!(hostent, h_length) - 20usize];
2000 ["Offset of field: hostent::h_addr_list"]
2001 [::std::mem::offset_of!(hostent, h_addr_list) - 24usize];
2002};
2003unsafe extern "C" {
2004 pub fn sethostent(__stay_open: ::std::os::raw::c_int);
2005}
2006unsafe extern "C" {
2007 pub fn endhostent();
2008}
2009unsafe extern "C" {
2010 pub fn gethostent() -> *mut hostent;
2011}
2012unsafe extern "C" {
2013 pub fn gethostbyaddr(
2014 __addr: *const ::std::os::raw::c_void,
2015 __len: __socklen_t,
2016 __type: ::std::os::raw::c_int,
2017 ) -> *mut hostent;
2018}
2019unsafe extern "C" {
2020 pub fn gethostbyname(__name: *const ::std::os::raw::c_char) -> *mut hostent;
2021}
2022unsafe extern "C" {
2023 pub fn gethostbyname2(
2024 __name: *const ::std::os::raw::c_char,
2025 __af: ::std::os::raw::c_int,
2026 ) -> *mut hostent;
2027}
2028unsafe extern "C" {
2029 pub fn gethostent_r(
2030 __result_buf: *mut hostent,
2031 __buf: *mut ::std::os::raw::c_char,
2032 __buflen: usize,
2033 __result: *mut *mut hostent,
2034 __h_errnop: *mut ::std::os::raw::c_int,
2035 ) -> ::std::os::raw::c_int;
2036}
2037unsafe extern "C" {
2038 pub fn gethostbyaddr_r(
2039 __addr: *const ::std::os::raw::c_void,
2040 __len: __socklen_t,
2041 __type: ::std::os::raw::c_int,
2042 __result_buf: *mut hostent,
2043 __buf: *mut ::std::os::raw::c_char,
2044 __buflen: usize,
2045 __result: *mut *mut hostent,
2046 __h_errnop: *mut ::std::os::raw::c_int,
2047 ) -> ::std::os::raw::c_int;
2048}
2049unsafe extern "C" {
2050 pub fn gethostbyname_r(
2051 __name: *const ::std::os::raw::c_char,
2052 __result_buf: *mut hostent,
2053 __buf: *mut ::std::os::raw::c_char,
2054 __buflen: usize,
2055 __result: *mut *mut hostent,
2056 __h_errnop: *mut ::std::os::raw::c_int,
2057 ) -> ::std::os::raw::c_int;
2058}
2059unsafe extern "C" {
2060 pub fn gethostbyname2_r(
2061 __name: *const ::std::os::raw::c_char,
2062 __af: ::std::os::raw::c_int,
2063 __result_buf: *mut hostent,
2064 __buf: *mut ::std::os::raw::c_char,
2065 __buflen: usize,
2066 __result: *mut *mut hostent,
2067 __h_errnop: *mut ::std::os::raw::c_int,
2068 ) -> ::std::os::raw::c_int;
2069}
2070unsafe extern "C" {
2071 pub fn setnetent(__stay_open: ::std::os::raw::c_int);
2072}
2073unsafe extern "C" {
2074 pub fn endnetent();
2075}
2076unsafe extern "C" {
2077 pub fn getnetent() -> *mut netent;
2078}
2079unsafe extern "C" {
2080 pub fn getnetbyaddr(__net: u32, __type: ::std::os::raw::c_int) -> *mut netent;
2081}
2082unsafe extern "C" {
2083 pub fn getnetbyname(__name: *const ::std::os::raw::c_char) -> *mut netent;
2084}
2085unsafe extern "C" {
2086 pub fn getnetent_r(
2087 __result_buf: *mut netent,
2088 __buf: *mut ::std::os::raw::c_char,
2089 __buflen: usize,
2090 __result: *mut *mut netent,
2091 __h_errnop: *mut ::std::os::raw::c_int,
2092 ) -> ::std::os::raw::c_int;
2093}
2094unsafe extern "C" {
2095 pub fn getnetbyaddr_r(
2096 __net: u32,
2097 __type: ::std::os::raw::c_int,
2098 __result_buf: *mut netent,
2099 __buf: *mut ::std::os::raw::c_char,
2100 __buflen: usize,
2101 __result: *mut *mut netent,
2102 __h_errnop: *mut ::std::os::raw::c_int,
2103 ) -> ::std::os::raw::c_int;
2104}
2105unsafe extern "C" {
2106 pub fn getnetbyname_r(
2107 __name: *const ::std::os::raw::c_char,
2108 __result_buf: *mut netent,
2109 __buf: *mut ::std::os::raw::c_char,
2110 __buflen: usize,
2111 __result: *mut *mut netent,
2112 __h_errnop: *mut ::std::os::raw::c_int,
2113 ) -> ::std::os::raw::c_int;
2114}
2115#[repr(C)]
2116#[derive(Debug, Copy, Clone)]
2117pub struct servent {
2118 pub s_name: *mut ::std::os::raw::c_char,
2119 pub s_aliases: *mut *mut ::std::os::raw::c_char,
2120 pub s_port: ::std::os::raw::c_int,
2121 pub s_proto: *mut ::std::os::raw::c_char,
2122}
2123#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2124const _: () = {
2125 ["Size of servent"][::std::mem::size_of::<servent>() - 32usize];
2126 ["Alignment of servent"][::std::mem::align_of::<servent>() - 8usize];
2127 ["Offset of field: servent::s_name"][::std::mem::offset_of!(servent, s_name) - 0usize];
2128 ["Offset of field: servent::s_aliases"][::std::mem::offset_of!(servent, s_aliases) - 8usize];
2129 ["Offset of field: servent::s_port"][::std::mem::offset_of!(servent, s_port) - 16usize];
2130 ["Offset of field: servent::s_proto"][::std::mem::offset_of!(servent, s_proto) - 24usize];
2131};
2132unsafe extern "C" {
2133 pub fn setservent(__stay_open: ::std::os::raw::c_int);
2134}
2135unsafe extern "C" {
2136 pub fn endservent();
2137}
2138unsafe extern "C" {
2139 pub fn getservent() -> *mut servent;
2140}
2141unsafe extern "C" {
2142 pub fn getservbyname(
2143 __name: *const ::std::os::raw::c_char,
2144 __proto: *const ::std::os::raw::c_char,
2145 ) -> *mut servent;
2146}
2147unsafe extern "C" {
2148 pub fn getservbyport(
2149 __port: ::std::os::raw::c_int,
2150 __proto: *const ::std::os::raw::c_char,
2151 ) -> *mut servent;
2152}
2153unsafe extern "C" {
2154 pub fn getservent_r(
2155 __result_buf: *mut servent,
2156 __buf: *mut ::std::os::raw::c_char,
2157 __buflen: usize,
2158 __result: *mut *mut servent,
2159 ) -> ::std::os::raw::c_int;
2160}
2161unsafe extern "C" {
2162 pub fn getservbyname_r(
2163 __name: *const ::std::os::raw::c_char,
2164 __proto: *const ::std::os::raw::c_char,
2165 __result_buf: *mut servent,
2166 __buf: *mut ::std::os::raw::c_char,
2167 __buflen: usize,
2168 __result: *mut *mut servent,
2169 ) -> ::std::os::raw::c_int;
2170}
2171unsafe extern "C" {
2172 pub fn getservbyport_r(
2173 __port: ::std::os::raw::c_int,
2174 __proto: *const ::std::os::raw::c_char,
2175 __result_buf: *mut servent,
2176 __buf: *mut ::std::os::raw::c_char,
2177 __buflen: usize,
2178 __result: *mut *mut servent,
2179 ) -> ::std::os::raw::c_int;
2180}
2181#[repr(C)]
2182#[derive(Debug, Copy, Clone)]
2183pub struct protoent {
2184 pub p_name: *mut ::std::os::raw::c_char,
2185 pub p_aliases: *mut *mut ::std::os::raw::c_char,
2186 pub p_proto: ::std::os::raw::c_int,
2187}
2188#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2189const _: () = {
2190 ["Size of protoent"][::std::mem::size_of::<protoent>() - 24usize];
2191 ["Alignment of protoent"][::std::mem::align_of::<protoent>() - 8usize];
2192 ["Offset of field: protoent::p_name"][::std::mem::offset_of!(protoent, p_name) - 0usize];
2193 ["Offset of field: protoent::p_aliases"][::std::mem::offset_of!(protoent, p_aliases) - 8usize];
2194 ["Offset of field: protoent::p_proto"][::std::mem::offset_of!(protoent, p_proto) - 16usize];
2195};
2196unsafe extern "C" {
2197 pub fn setprotoent(__stay_open: ::std::os::raw::c_int);
2198}
2199unsafe extern "C" {
2200 pub fn endprotoent();
2201}
2202unsafe extern "C" {
2203 pub fn getprotoent() -> *mut protoent;
2204}
2205unsafe extern "C" {
2206 pub fn getprotobyname(__name: *const ::std::os::raw::c_char) -> *mut protoent;
2207}
2208unsafe extern "C" {
2209 pub fn getprotobynumber(__proto: ::std::os::raw::c_int) -> *mut protoent;
2210}
2211unsafe extern "C" {
2212 pub fn getprotoent_r(
2213 __result_buf: *mut protoent,
2214 __buf: *mut ::std::os::raw::c_char,
2215 __buflen: usize,
2216 __result: *mut *mut protoent,
2217 ) -> ::std::os::raw::c_int;
2218}
2219unsafe extern "C" {
2220 pub fn getprotobyname_r(
2221 __name: *const ::std::os::raw::c_char,
2222 __result_buf: *mut protoent,
2223 __buf: *mut ::std::os::raw::c_char,
2224 __buflen: usize,
2225 __result: *mut *mut protoent,
2226 ) -> ::std::os::raw::c_int;
2227}
2228unsafe extern "C" {
2229 pub fn getprotobynumber_r(
2230 __proto: ::std::os::raw::c_int,
2231 __result_buf: *mut protoent,
2232 __buf: *mut ::std::os::raw::c_char,
2233 __buflen: usize,
2234 __result: *mut *mut protoent,
2235 ) -> ::std::os::raw::c_int;
2236}
2237unsafe extern "C" {
2238 pub fn setnetgrent(__netgroup: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2239}
2240unsafe extern "C" {
2241 pub fn endnetgrent();
2242}
2243unsafe extern "C" {
2244 pub fn getnetgrent(
2245 __hostp: *mut *mut ::std::os::raw::c_char,
2246 __userp: *mut *mut ::std::os::raw::c_char,
2247 __domainp: *mut *mut ::std::os::raw::c_char,
2248 ) -> ::std::os::raw::c_int;
2249}
2250unsafe extern "C" {
2251 pub fn innetgr(
2252 __netgroup: *const ::std::os::raw::c_char,
2253 __host: *const ::std::os::raw::c_char,
2254 __user: *const ::std::os::raw::c_char,
2255 __domain: *const ::std::os::raw::c_char,
2256 ) -> ::std::os::raw::c_int;
2257}
2258unsafe extern "C" {
2259 pub fn getnetgrent_r(
2260 __hostp: *mut *mut ::std::os::raw::c_char,
2261 __userp: *mut *mut ::std::os::raw::c_char,
2262 __domainp: *mut *mut ::std::os::raw::c_char,
2263 __buffer: *mut ::std::os::raw::c_char,
2264 __buflen: usize,
2265 ) -> ::std::os::raw::c_int;
2266}
2267unsafe extern "C" {
2268 pub fn rcmd(
2269 __ahost: *mut *mut ::std::os::raw::c_char,
2270 __rport: ::std::os::raw::c_ushort,
2271 __locuser: *const ::std::os::raw::c_char,
2272 __remuser: *const ::std::os::raw::c_char,
2273 __cmd: *const ::std::os::raw::c_char,
2274 __fd2p: *mut ::std::os::raw::c_int,
2275 ) -> ::std::os::raw::c_int;
2276}
2277unsafe extern "C" {
2278 pub fn rcmd_af(
2279 __ahost: *mut *mut ::std::os::raw::c_char,
2280 __rport: ::std::os::raw::c_ushort,
2281 __locuser: *const ::std::os::raw::c_char,
2282 __remuser: *const ::std::os::raw::c_char,
2283 __cmd: *const ::std::os::raw::c_char,
2284 __fd2p: *mut ::std::os::raw::c_int,
2285 __af: sa_family_t,
2286 ) -> ::std::os::raw::c_int;
2287}
2288unsafe extern "C" {
2289 pub fn rexec(
2290 __ahost: *mut *mut ::std::os::raw::c_char,
2291 __rport: ::std::os::raw::c_int,
2292 __name: *const ::std::os::raw::c_char,
2293 __pass: *const ::std::os::raw::c_char,
2294 __cmd: *const ::std::os::raw::c_char,
2295 __fd2p: *mut ::std::os::raw::c_int,
2296 ) -> ::std::os::raw::c_int;
2297}
2298unsafe extern "C" {
2299 pub fn rexec_af(
2300 __ahost: *mut *mut ::std::os::raw::c_char,
2301 __rport: ::std::os::raw::c_int,
2302 __name: *const ::std::os::raw::c_char,
2303 __pass: *const ::std::os::raw::c_char,
2304 __cmd: *const ::std::os::raw::c_char,
2305 __fd2p: *mut ::std::os::raw::c_int,
2306 __af: sa_family_t,
2307 ) -> ::std::os::raw::c_int;
2308}
2309unsafe extern "C" {
2310 pub fn ruserok(
2311 __rhost: *const ::std::os::raw::c_char,
2312 __suser: ::std::os::raw::c_int,
2313 __remuser: *const ::std::os::raw::c_char,
2314 __locuser: *const ::std::os::raw::c_char,
2315 ) -> ::std::os::raw::c_int;
2316}
2317unsafe extern "C" {
2318 pub fn ruserok_af(
2319 __rhost: *const ::std::os::raw::c_char,
2320 __suser: ::std::os::raw::c_int,
2321 __remuser: *const ::std::os::raw::c_char,
2322 __locuser: *const ::std::os::raw::c_char,
2323 __af: sa_family_t,
2324 ) -> ::std::os::raw::c_int;
2325}
2326unsafe extern "C" {
2327 pub fn iruserok(
2328 __raddr: u32,
2329 __suser: ::std::os::raw::c_int,
2330 __remuser: *const ::std::os::raw::c_char,
2331 __locuser: *const ::std::os::raw::c_char,
2332 ) -> ::std::os::raw::c_int;
2333}
2334unsafe extern "C" {
2335 pub fn iruserok_af(
2336 __raddr: *const ::std::os::raw::c_void,
2337 __suser: ::std::os::raw::c_int,
2338 __remuser: *const ::std::os::raw::c_char,
2339 __locuser: *const ::std::os::raw::c_char,
2340 __af: sa_family_t,
2341 ) -> ::std::os::raw::c_int;
2342}
2343unsafe extern "C" {
2344 pub fn rresvport(__alport: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2345}
2346unsafe extern "C" {
2347 pub fn rresvport_af(
2348 __alport: *mut ::std::os::raw::c_int,
2349 __af: sa_family_t,
2350 ) -> ::std::os::raw::c_int;
2351}
2352#[repr(C)]
2353#[derive(Debug, Copy, Clone)]
2354pub struct addrinfo {
2355 pub ai_flags: ::std::os::raw::c_int,
2356 pub ai_family: ::std::os::raw::c_int,
2357 pub ai_socktype: ::std::os::raw::c_int,
2358 pub ai_protocol: ::std::os::raw::c_int,
2359 pub ai_addrlen: socklen_t,
2360 pub ai_addr: *mut sockaddr,
2361 pub ai_canonname: *mut ::std::os::raw::c_char,
2362 pub ai_next: *mut addrinfo,
2363}
2364#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2365const _: () = {
2366 ["Size of addrinfo"][::std::mem::size_of::<addrinfo>() - 48usize];
2367 ["Alignment of addrinfo"][::std::mem::align_of::<addrinfo>() - 8usize];
2368 ["Offset of field: addrinfo::ai_flags"][::std::mem::offset_of!(addrinfo, ai_flags) - 0usize];
2369 ["Offset of field: addrinfo::ai_family"][::std::mem::offset_of!(addrinfo, ai_family) - 4usize];
2370 ["Offset of field: addrinfo::ai_socktype"]
2371 [::std::mem::offset_of!(addrinfo, ai_socktype) - 8usize];
2372 ["Offset of field: addrinfo::ai_protocol"]
2373 [::std::mem::offset_of!(addrinfo, ai_protocol) - 12usize];
2374 ["Offset of field: addrinfo::ai_addrlen"]
2375 [::std::mem::offset_of!(addrinfo, ai_addrlen) - 16usize];
2376 ["Offset of field: addrinfo::ai_addr"][::std::mem::offset_of!(addrinfo, ai_addr) - 24usize];
2377 ["Offset of field: addrinfo::ai_canonname"]
2378 [::std::mem::offset_of!(addrinfo, ai_canonname) - 32usize];
2379 ["Offset of field: addrinfo::ai_next"][::std::mem::offset_of!(addrinfo, ai_next) - 40usize];
2380};
2381unsafe extern "C" {
2382 pub fn getaddrinfo(
2383 __name: *const ::std::os::raw::c_char,
2384 __service: *const ::std::os::raw::c_char,
2385 __req: *const addrinfo,
2386 __pai: *mut *mut addrinfo,
2387 ) -> ::std::os::raw::c_int;
2388}
2389unsafe extern "C" {
2390 pub fn freeaddrinfo(__ai: *mut addrinfo);
2391}
2392unsafe extern "C" {
2393 pub fn gai_strerror(__ecode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
2394}
2395unsafe extern "C" {
2396 pub fn getnameinfo(
2397 __sa: *const sockaddr,
2398 __salen: socklen_t,
2399 __host: *mut ::std::os::raw::c_char,
2400 __hostlen: socklen_t,
2401 __serv: *mut ::std::os::raw::c_char,
2402 __servlen: socklen_t,
2403 __flags: ::std::os::raw::c_int,
2404 ) -> ::std::os::raw::c_int;
2405}
2406#[repr(C)]
2407#[derive(Debug, Copy, Clone)]
2408pub struct lo_timetag {
2409 pub sec: u32,
2410 pub frac: u32,
2411}
2412#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2413const _: () = {
2414 ["Size of lo_timetag"][::std::mem::size_of::<lo_timetag>() - 8usize];
2415 ["Alignment of lo_timetag"][::std::mem::align_of::<lo_timetag>() - 4usize];
2416 ["Offset of field: lo_timetag::sec"][::std::mem::offset_of!(lo_timetag, sec) - 0usize];
2417 ["Offset of field: lo_timetag::frac"][::std::mem::offset_of!(lo_timetag, frac) - 4usize];
2418};
2419pub const lo_element_type_LO_ELEMENT_MESSAGE: lo_element_type = 1;
2420pub const lo_element_type_LO_ELEMENT_BUNDLE: lo_element_type = 2;
2421pub type lo_element_type = ::std::os::raw::c_uint;
2422pub const lo_type_LO_INT32: lo_type = 105;
2423pub const lo_type_LO_FLOAT: lo_type = 102;
2424pub const lo_type_LO_STRING: lo_type = 115;
2425pub const lo_type_LO_BLOB: lo_type = 98;
2426pub const lo_type_LO_INT64: lo_type = 104;
2427pub const lo_type_LO_TIMETAG: lo_type = 116;
2428pub const lo_type_LO_DOUBLE: lo_type = 100;
2429pub const lo_type_LO_SYMBOL: lo_type = 83;
2430pub const lo_type_LO_CHAR: lo_type = 99;
2431pub const lo_type_LO_MIDI: lo_type = 109;
2432pub const lo_type_LO_TRUE: lo_type = 84;
2433pub const lo_type_LO_FALSE: lo_type = 70;
2434pub const lo_type_LO_NIL: lo_type = 78;
2435pub const lo_type_LO_INFINITUM: lo_type = 73;
2436pub type lo_type = ::std::os::raw::c_uint;
2437#[repr(C)]
2438#[derive(Copy, Clone)]
2439pub union lo_arg {
2440 pub i: i32,
2441 pub i32_: i32,
2442 pub h: i64,
2443 pub i64_: i64,
2444 pub f: f32,
2445 pub f32_: f32,
2446 pub d: f64,
2447 pub f64_: f64,
2448 pub s: ::std::os::raw::c_char,
2449 pub S: ::std::os::raw::c_char,
2450 pub c: ::std::os::raw::c_uchar,
2451 pub m: [u8; 4usize],
2452 pub t: lo_timetag,
2453 pub blob: lo_arg__bindgen_ty_1,
2454}
2455#[repr(C)]
2456#[derive(Debug, Copy, Clone)]
2457pub struct lo_arg__bindgen_ty_1 {
2458 pub size: i32,
2459 pub data: ::std::os::raw::c_char,
2460}
2461#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2462const _: () = {
2463 ["Size of lo_arg__bindgen_ty_1"][::std::mem::size_of::<lo_arg__bindgen_ty_1>() - 8usize];
2464 ["Alignment of lo_arg__bindgen_ty_1"][::std::mem::align_of::<lo_arg__bindgen_ty_1>() - 4usize];
2465 ["Offset of field: lo_arg__bindgen_ty_1::size"]
2466 [::std::mem::offset_of!(lo_arg__bindgen_ty_1, size) - 0usize];
2467 ["Offset of field: lo_arg__bindgen_ty_1::data"]
2468 [::std::mem::offset_of!(lo_arg__bindgen_ty_1, data) - 4usize];
2469};
2470#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2471const _: () = {
2472 ["Size of lo_arg"][::std::mem::size_of::<lo_arg>() - 8usize];
2473 ["Alignment of lo_arg"][::std::mem::align_of::<lo_arg>() - 8usize];
2474 ["Offset of field: lo_arg::i"][::std::mem::offset_of!(lo_arg, i) - 0usize];
2475 ["Offset of field: lo_arg::i32_"][::std::mem::offset_of!(lo_arg, i32_) - 0usize];
2476 ["Offset of field: lo_arg::h"][::std::mem::offset_of!(lo_arg, h) - 0usize];
2477 ["Offset of field: lo_arg::i64_"][::std::mem::offset_of!(lo_arg, i64_) - 0usize];
2478 ["Offset of field: lo_arg::f"][::std::mem::offset_of!(lo_arg, f) - 0usize];
2479 ["Offset of field: lo_arg::f32_"][::std::mem::offset_of!(lo_arg, f32_) - 0usize];
2480 ["Offset of field: lo_arg::d"][::std::mem::offset_of!(lo_arg, d) - 0usize];
2481 ["Offset of field: lo_arg::f64_"][::std::mem::offset_of!(lo_arg, f64_) - 0usize];
2482 ["Offset of field: lo_arg::s"][::std::mem::offset_of!(lo_arg, s) - 0usize];
2483 ["Offset of field: lo_arg::S"][::std::mem::offset_of!(lo_arg, S) - 0usize];
2484 ["Offset of field: lo_arg::c"][::std::mem::offset_of!(lo_arg, c) - 0usize];
2485 ["Offset of field: lo_arg::m"][::std::mem::offset_of!(lo_arg, m) - 0usize];
2486 ["Offset of field: lo_arg::t"][::std::mem::offset_of!(lo_arg, t) - 0usize];
2487 ["Offset of field: lo_arg::blob"][::std::mem::offset_of!(lo_arg, blob) - 0usize];
2488};
2489#[repr(C)]
2490#[derive(Debug, Copy, Clone)]
2491pub struct lo_address_ {
2492 _unused: [u8; 0],
2493}
2494pub type lo_address = *mut lo_address_;
2495#[repr(C)]
2496#[derive(Debug, Copy, Clone)]
2497pub struct lo_blob_ {
2498 _unused: [u8; 0],
2499}
2500pub type lo_blob = *mut lo_blob_;
2501#[repr(C)]
2502#[derive(Debug, Copy, Clone)]
2503pub struct lo_message_ {
2504 _unused: [u8; 0],
2505}
2506pub type lo_message = *mut lo_message_;
2507#[repr(C)]
2508#[derive(Debug, Copy, Clone)]
2509pub struct lo_bundle_ {
2510 _unused: [u8; 0],
2511}
2512pub type lo_bundle = *mut lo_bundle_;
2513#[repr(C)]
2514#[derive(Debug, Copy, Clone)]
2515pub struct lo_method_ {
2516 _unused: [u8; 0],
2517}
2518pub type lo_method = *mut lo_method_;
2519#[repr(C)]
2520#[derive(Debug, Copy, Clone)]
2521pub struct lo_server_ {
2522 _unused: [u8; 0],
2523}
2524pub type lo_server = *mut lo_server_;
2525#[repr(C)]
2526#[derive(Debug, Copy, Clone)]
2527pub struct lo_server_thread_ {
2528 _unused: [u8; 0],
2529}
2530pub type lo_server_thread = *mut lo_server_thread_;
2531pub type lo_err_handler = ::std::option::Option<
2532 unsafe extern "C" fn(
2533 num: ::std::os::raw::c_int,
2534 msg: *const ::std::os::raw::c_char,
2535 where_: *const ::std::os::raw::c_char,
2536 ),
2537>;
2538pub type lo_method_handler = ::std::option::Option<
2539 unsafe extern "C" fn(
2540 path: *const ::std::os::raw::c_char,
2541 types: *const ::std::os::raw::c_char,
2542 argv: *mut *mut lo_arg,
2543 argc: ::std::os::raw::c_int,
2544 msg: lo_message,
2545 user_data: *mut ::std::os::raw::c_void,
2546 ) -> ::std::os::raw::c_int,
2547>;
2548pub type lo_bundle_start_handler = ::std::option::Option<
2549 unsafe extern "C" fn(
2550 time: lo_timetag,
2551 user_data: *mut ::std::os::raw::c_void,
2552 ) -> ::std::os::raw::c_int,
2553>;
2554pub type lo_bundle_end_handler = ::std::option::Option<
2555 unsafe extern "C" fn(user_data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
2556>;
2557pub type lo_server_thread_init_callback = ::std::option::Option<
2558 unsafe extern "C" fn(
2559 s: lo_server_thread,
2560 user_data: *mut ::std::os::raw::c_void,
2561 ) -> ::std::os::raw::c_int,
2562>;
2563pub type lo_server_thread_cleanup_callback = ::std::option::Option<
2564 unsafe extern "C" fn(s: lo_server_thread, user_data: *mut ::std::os::raw::c_void),
2565>;
2566pub type __gnuc_va_list = __builtin_va_list;
2567pub type va_list = __builtin_va_list;
2568pub type lo_hires = u128;
2569#[repr(C)]
2570#[derive(Debug, Copy, Clone)]
2571pub struct lo_server_config {
2572 pub size: usize,
2573 pub group: *const ::std::os::raw::c_char,
2574 pub port: *const ::std::os::raw::c_char,
2575 pub iface: *const ::std::os::raw::c_char,
2576 pub ip: *const ::std::os::raw::c_char,
2577 pub proto: ::std::os::raw::c_int,
2578 pub err_handler: lo_err_handler,
2579 pub err_handler_context: *mut ::std::os::raw::c_void,
2580}
2581#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2582const _: () = {
2583 ["Size of lo_server_config"][::std::mem::size_of::<lo_server_config>() - 64usize];
2584 ["Alignment of lo_server_config"][::std::mem::align_of::<lo_server_config>() - 8usize];
2585 ["Offset of field: lo_server_config::size"]
2586 [::std::mem::offset_of!(lo_server_config, size) - 0usize];
2587 ["Offset of field: lo_server_config::group"]
2588 [::std::mem::offset_of!(lo_server_config, group) - 8usize];
2589 ["Offset of field: lo_server_config::port"]
2590 [::std::mem::offset_of!(lo_server_config, port) - 16usize];
2591 ["Offset of field: lo_server_config::iface"]
2592 [::std::mem::offset_of!(lo_server_config, iface) - 24usize];
2593 ["Offset of field: lo_server_config::ip"]
2594 [::std::mem::offset_of!(lo_server_config, ip) - 32usize];
2595 ["Offset of field: lo_server_config::proto"]
2596 [::std::mem::offset_of!(lo_server_config, proto) - 40usize];
2597 ["Offset of field: lo_server_config::err_handler"]
2598 [::std::mem::offset_of!(lo_server_config, err_handler) - 48usize];
2599 ["Offset of field: lo_server_config::err_handler_context"]
2600 [::std::mem::offset_of!(lo_server_config, err_handler_context) - 56usize];
2601};
2602pub const lo_slip_encoding_LO_SLIP_NONE: lo_slip_encoding = 0;
2603pub const lo_slip_encoding_LO_SLIP_SINGLE: lo_slip_encoding = 1;
2604pub const lo_slip_encoding_LO_SLIP_DOUBLE: lo_slip_encoding = 2;
2605pub type lo_slip_encoding = ::std::os::raw::c_uint;
2606unsafe extern "C" {
2607 pub fn lo_send_message(
2608 targ: lo_address,
2609 path: *const ::std::os::raw::c_char,
2610 msg: lo_message,
2611 ) -> ::std::os::raw::c_int;
2612}
2613unsafe extern "C" {
2614 pub fn lo_send_message_from(
2615 targ: lo_address,
2616 serv: lo_server,
2617 path: *const ::std::os::raw::c_char,
2618 msg: lo_message,
2619 ) -> ::std::os::raw::c_int;
2620}
2621unsafe extern "C" {
2622 pub fn lo_send_bundle(targ: lo_address, b: lo_bundle) -> ::std::os::raw::c_int;
2623}
2624unsafe extern "C" {
2625 pub fn lo_send_bundle_from(
2626 targ: lo_address,
2627 serv: lo_server,
2628 b: lo_bundle,
2629 ) -> ::std::os::raw::c_int;
2630}
2631unsafe extern "C" {
2632 pub fn lo_message_new() -> lo_message;
2633}
2634unsafe extern "C" {
2635 pub fn lo_message_incref(m: lo_message);
2636}
2637unsafe extern "C" {
2638 pub fn lo_message_clone(m: lo_message) -> lo_message;
2639}
2640unsafe extern "C" {
2641 pub fn lo_message_free(m: lo_message);
2642}
2643unsafe extern "C" {
2644 pub fn lo_message_add(
2645 m: lo_message,
2646 types: *const ::std::os::raw::c_char,
2647 ...
2648 ) -> ::std::os::raw::c_int;
2649}
2650unsafe extern "C" {
2651 pub fn lo_message_add_internal(
2652 m: lo_message,
2653 file: *const ::std::os::raw::c_char,
2654 line: ::std::os::raw::c_int,
2655 types: *const ::std::os::raw::c_char,
2656 ...
2657 ) -> ::std::os::raw::c_int;
2658}
2659unsafe extern "C" {
2660 pub fn lo_message_add_varargs(
2661 m: lo_message,
2662 types: *const ::std::os::raw::c_char,
2663 ap: *mut __va_list_tag,
2664 ) -> ::std::os::raw::c_int;
2665}
2666unsafe extern "C" {
2667 pub fn lo_message_add_varargs_internal(
2668 m: lo_message,
2669 types: *const ::std::os::raw::c_char,
2670 ap: *mut __va_list_tag,
2671 file: *const ::std::os::raw::c_char,
2672 line: ::std::os::raw::c_int,
2673 ) -> ::std::os::raw::c_int;
2674}
2675unsafe extern "C" {
2676 pub fn lo_message_add_int32(m: lo_message, a: i32) -> ::std::os::raw::c_int;
2677}
2678unsafe extern "C" {
2679 pub fn lo_message_add_float(m: lo_message, a: f32) -> ::std::os::raw::c_int;
2680}
2681unsafe extern "C" {
2682 pub fn lo_message_add_string(
2683 m: lo_message,
2684 a: *const ::std::os::raw::c_char,
2685 ) -> ::std::os::raw::c_int;
2686}
2687unsafe extern "C" {
2688 pub fn lo_message_add_blob(m: lo_message, a: lo_blob) -> ::std::os::raw::c_int;
2689}
2690unsafe extern "C" {
2691 pub fn lo_message_add_int64(m: lo_message, a: i64) -> ::std::os::raw::c_int;
2692}
2693unsafe extern "C" {
2694 pub fn lo_message_add_timetag(m: lo_message, a: lo_timetag) -> ::std::os::raw::c_int;
2695}
2696unsafe extern "C" {
2697 pub fn lo_message_add_double(m: lo_message, a: f64) -> ::std::os::raw::c_int;
2698}
2699unsafe extern "C" {
2700 pub fn lo_message_add_symbol(
2701 m: lo_message,
2702 a: *const ::std::os::raw::c_char,
2703 ) -> ::std::os::raw::c_int;
2704}
2705unsafe extern "C" {
2706 pub fn lo_message_add_char(m: lo_message, a: ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2707}
2708unsafe extern "C" {
2709 pub fn lo_message_add_midi(m: lo_message, a: *mut u8) -> ::std::os::raw::c_int;
2710}
2711unsafe extern "C" {
2712 pub fn lo_message_add_true(m: lo_message) -> ::std::os::raw::c_int;
2713}
2714unsafe extern "C" {
2715 pub fn lo_message_add_false(m: lo_message) -> ::std::os::raw::c_int;
2716}
2717unsafe extern "C" {
2718 pub fn lo_message_add_nil(m: lo_message) -> ::std::os::raw::c_int;
2719}
2720unsafe extern "C" {
2721 pub fn lo_message_add_infinitum(m: lo_message) -> ::std::os::raw::c_int;
2722}
2723unsafe extern "C" {
2724 pub fn lo_message_get_source(m: lo_message) -> lo_address;
2725}
2726unsafe extern "C" {
2727 pub fn lo_message_get_timestamp(m: lo_message) -> lo_timetag;
2728}
2729unsafe extern "C" {
2730 pub fn lo_message_get_types(m: lo_message) -> *mut ::std::os::raw::c_char;
2731}
2732unsafe extern "C" {
2733 pub fn lo_message_get_argc(m: lo_message) -> ::std::os::raw::c_int;
2734}
2735unsafe extern "C" {
2736 pub fn lo_message_get_argv(m: lo_message) -> *mut *mut lo_arg;
2737}
2738unsafe extern "C" {
2739 pub fn lo_message_length(m: lo_message, path: *const ::std::os::raw::c_char) -> usize;
2740}
2741unsafe extern "C" {
2742 pub fn lo_message_serialise(
2743 m: lo_message,
2744 path: *const ::std::os::raw::c_char,
2745 to: *mut ::std::os::raw::c_void,
2746 size: *mut usize,
2747 ) -> *mut ::std::os::raw::c_void;
2748}
2749unsafe extern "C" {
2750 pub fn lo_message_deserialise(
2751 data: *mut ::std::os::raw::c_void,
2752 size: usize,
2753 result: *mut ::std::os::raw::c_int,
2754 ) -> lo_message;
2755}
2756unsafe extern "C" {
2757 pub fn lo_server_dispatch_data(
2758 s: lo_server,
2759 data: *mut ::std::os::raw::c_void,
2760 size: usize,
2761 ) -> ::std::os::raw::c_int;
2762}
2763unsafe extern "C" {
2764 pub fn lo_address_get_hostname(a: lo_address) -> *const ::std::os::raw::c_char;
2765}
2766unsafe extern "C" {
2767 pub fn lo_address_get_port(a: lo_address) -> *const ::std::os::raw::c_char;
2768}
2769unsafe extern "C" {
2770 pub fn lo_address_get_protocol(a: lo_address) -> ::std::os::raw::c_int;
2771}
2772unsafe extern "C" {
2773 pub fn lo_address_get_url(a: lo_address) -> *mut ::std::os::raw::c_char;
2774}
2775unsafe extern "C" {
2776 pub fn lo_address_set_ttl(t: lo_address, ttl: ::std::os::raw::c_int);
2777}
2778unsafe extern "C" {
2779 pub fn lo_address_get_ttl(t: lo_address) -> ::std::os::raw::c_int;
2780}
2781unsafe extern "C" {
2782 pub fn lo_address_set_iface(
2783 t: lo_address,
2784 iface: *const ::std::os::raw::c_char,
2785 ip: *const ::std::os::raw::c_char,
2786 ) -> ::std::os::raw::c_int;
2787}
2788unsafe extern "C" {
2789 pub fn lo_address_get_iface(t: lo_address) -> *const ::std::os::raw::c_char;
2790}
2791unsafe extern "C" {
2792 pub fn lo_address_set_tcp_nodelay(
2793 t: lo_address,
2794 enable: ::std::os::raw::c_int,
2795 ) -> ::std::os::raw::c_int;
2796}
2797unsafe extern "C" {
2798 pub fn lo_address_set_stream_slip(
2799 t: lo_address,
2800 encoding: lo_slip_encoding,
2801 ) -> ::std::os::raw::c_int;
2802}
2803unsafe extern "C" {
2804 pub fn lo_bundle_new(tt: lo_timetag) -> lo_bundle;
2805}
2806unsafe extern "C" {
2807 pub fn lo_bundle_incref(b: lo_bundle);
2808}
2809unsafe extern "C" {
2810 pub fn lo_bundle_add_message(
2811 b: lo_bundle,
2812 path: *const ::std::os::raw::c_char,
2813 m: lo_message,
2814 ) -> ::std::os::raw::c_int;
2815}
2816unsafe extern "C" {
2817 pub fn lo_bundle_add_bundle(b: lo_bundle, n: lo_bundle) -> ::std::os::raw::c_int;
2818}
2819unsafe extern "C" {
2820 pub fn lo_bundle_length(b: lo_bundle) -> usize;
2821}
2822unsafe extern "C" {
2823 pub fn lo_bundle_count(b: lo_bundle) -> ::std::os::raw::c_uint;
2824}
2825unsafe extern "C" {
2826 pub fn lo_bundle_get_type(b: lo_bundle, index: ::std::os::raw::c_int) -> lo_element_type;
2827}
2828unsafe extern "C" {
2829 pub fn lo_bundle_get_bundle(b: lo_bundle, index: ::std::os::raw::c_int) -> lo_bundle;
2830}
2831unsafe extern "C" {
2832 pub fn lo_bundle_get_message(
2833 b: lo_bundle,
2834 index: ::std::os::raw::c_int,
2835 path: *mut *const ::std::os::raw::c_char,
2836 ) -> lo_message;
2837}
2838unsafe extern "C" {
2839 pub fn lo_bundle_get_timestamp(b: lo_bundle) -> lo_timetag;
2840}
2841unsafe extern "C" {
2842 pub fn lo_bundle_serialise(
2843 b: lo_bundle,
2844 to: *mut ::std::os::raw::c_void,
2845 size: *mut usize,
2846 ) -> *mut ::std::os::raw::c_void;
2847}
2848unsafe extern "C" {
2849 pub fn lo_bundle_free(b: lo_bundle);
2850}
2851unsafe extern "C" {
2852 pub fn lo_bundle_free_recursive(b: lo_bundle);
2853}
2854unsafe extern "C" {
2855 pub fn lo_bundle_free_messages(b: lo_bundle);
2856}
2857unsafe extern "C" {
2858 pub fn lo_is_numerical_type(a: lo_type) -> ::std::os::raw::c_int;
2859}
2860unsafe extern "C" {
2861 pub fn lo_is_string_type(a: lo_type) -> ::std::os::raw::c_int;
2862}
2863unsafe extern "C" {
2864 pub fn lo_coerce(
2865 type_to: lo_type,
2866 to: *mut lo_arg,
2867 type_from: lo_type,
2868 from: *mut lo_arg,
2869 ) -> ::std::os::raw::c_int;
2870}
2871unsafe extern "C" {
2872 pub fn lo_hires_val(type_: lo_type, p: *mut lo_arg) -> lo_hires;
2873}
2874unsafe extern "C" {
2875 pub fn lo_server_new(port: *const ::std::os::raw::c_char, err_h: lo_err_handler) -> lo_server;
2876}
2877unsafe extern "C" {
2878 pub fn lo_server_new_with_proto(
2879 port: *const ::std::os::raw::c_char,
2880 proto: ::std::os::raw::c_int,
2881 err_h: lo_err_handler,
2882 ) -> lo_server;
2883}
2884unsafe extern "C" {
2885 pub fn lo_server_new_multicast(
2886 group: *const ::std::os::raw::c_char,
2887 port: *const ::std::os::raw::c_char,
2888 err_h: lo_err_handler,
2889 ) -> lo_server;
2890}
2891unsafe extern "C" {
2892 pub fn lo_server_new_multicast_iface(
2893 group: *const ::std::os::raw::c_char,
2894 port: *const ::std::os::raw::c_char,
2895 iface: *const ::std::os::raw::c_char,
2896 ip: *const ::std::os::raw::c_char,
2897 err_h: lo_err_handler,
2898 ) -> lo_server;
2899}
2900unsafe extern "C" {
2901 pub fn lo_server_new_from_url(
2902 url: *const ::std::os::raw::c_char,
2903 err_h: lo_err_handler,
2904 ) -> lo_server;
2905}
2906unsafe extern "C" {
2907 pub fn lo_server_new_from_config(config: *mut lo_server_config) -> lo_server;
2908}
2909unsafe extern "C" {
2910 pub fn lo_server_enable_coercion(
2911 server: lo_server,
2912 enable: ::std::os::raw::c_int,
2913 ) -> ::std::os::raw::c_int;
2914}
2915unsafe extern "C" {
2916 pub fn lo_server_free(s: lo_server);
2917}
2918unsafe extern "C" {
2919 pub fn lo_server_wait(s: lo_server, timeout: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2920}
2921unsafe extern "C" {
2922 pub fn lo_servers_wait(
2923 s: *mut lo_server,
2924 status: *mut ::std::os::raw::c_int,
2925 num_servers: ::std::os::raw::c_int,
2926 timeout: ::std::os::raw::c_int,
2927 ) -> ::std::os::raw::c_int;
2928}
2929unsafe extern "C" {
2930 pub fn lo_server_recv_noblock(
2931 s: lo_server,
2932 timeout: ::std::os::raw::c_int,
2933 ) -> ::std::os::raw::c_int;
2934}
2935unsafe extern "C" {
2936 pub fn lo_servers_recv_noblock(
2937 s: *mut lo_server,
2938 recvd: *mut ::std::os::raw::c_int,
2939 num_servers: ::std::os::raw::c_int,
2940 timeout: ::std::os::raw::c_int,
2941 ) -> ::std::os::raw::c_int;
2942}
2943unsafe extern "C" {
2944 pub fn lo_server_recv(s: lo_server) -> ::std::os::raw::c_int;
2945}
2946unsafe extern "C" {
2947 pub fn lo_server_add_method(
2948 s: lo_server,
2949 path: *const ::std::os::raw::c_char,
2950 typespec: *const ::std::os::raw::c_char,
2951 h: lo_method_handler,
2952 user_data: *const ::std::os::raw::c_void,
2953 ) -> lo_method;
2954}
2955unsafe extern "C" {
2956 pub fn lo_server_del_method(
2957 s: lo_server,
2958 path: *const ::std::os::raw::c_char,
2959 typespec: *const ::std::os::raw::c_char,
2960 );
2961}
2962unsafe extern "C" {
2963 pub fn lo_server_del_lo_method(s: lo_server, m: lo_method) -> ::std::os::raw::c_int;
2964}
2965unsafe extern "C" {
2966 pub fn lo_server_add_bundle_handlers(
2967 s: lo_server,
2968 sh: lo_bundle_start_handler,
2969 eh: lo_bundle_end_handler,
2970 user_data: *mut ::std::os::raw::c_void,
2971 ) -> ::std::os::raw::c_int;
2972}
2973unsafe extern "C" {
2974 pub fn lo_server_get_socket_fd(s: lo_server) -> ::std::os::raw::c_int;
2975}
2976unsafe extern "C" {
2977 pub fn lo_server_get_port(s: lo_server) -> ::std::os::raw::c_int;
2978}
2979unsafe extern "C" {
2980 pub fn lo_server_get_protocol(s: lo_server) -> ::std::os::raw::c_int;
2981}
2982unsafe extern "C" {
2983 pub fn lo_server_get_url(s: lo_server) -> *mut ::std::os::raw::c_char;
2984}
2985unsafe extern "C" {
2986 pub fn lo_server_enable_queue(
2987 s: lo_server,
2988 queue_enabled: ::std::os::raw::c_int,
2989 dispatch_remaining: ::std::os::raw::c_int,
2990 ) -> ::std::os::raw::c_int;
2991}
2992unsafe extern "C" {
2993 pub fn lo_server_events_pending(s: lo_server) -> ::std::os::raw::c_int;
2994}
2995unsafe extern "C" {
2996 pub fn lo_server_next_event_delay(s: lo_server) -> f64;
2997}
2998unsafe extern "C" {
2999 pub fn lo_server_max_msg_size(
3000 s: lo_server,
3001 req_size: ::std::os::raw::c_int,
3002 ) -> ::std::os::raw::c_int;
3003}
3004unsafe extern "C" {
3005 pub fn lo_url_get_protocol(url: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3006}
3007unsafe extern "C" {
3008 pub fn lo_url_get_protocol_id(url: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3009}
3010unsafe extern "C" {
3011 pub fn lo_url_get_hostname(url: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3012}
3013unsafe extern "C" {
3014 pub fn lo_url_get_port(url: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3015}
3016unsafe extern "C" {
3017 pub fn lo_url_get_path(url: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3018}
3019unsafe extern "C" {
3020 pub fn lo_strsize(s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3021}
3022unsafe extern "C" {
3023 pub fn lo_blobsize(b: lo_blob) -> u32;
3024}
3025unsafe extern "C" {
3026 pub fn lo_pattern_match(
3027 str_: *const ::std::os::raw::c_char,
3028 p: *const ::std::os::raw::c_char,
3029 ) -> ::std::os::raw::c_int;
3030}
3031unsafe extern "C" {
3032 pub fn lo_string_contains_pattern(str_: *const ::std::os::raw::c_char)
3033 -> ::std::os::raw::c_int;
3034}
3035unsafe extern "C" {
3036 pub fn lo_send_internal(
3037 t: lo_address,
3038 file: *const ::std::os::raw::c_char,
3039 line: ::std::os::raw::c_int,
3040 path: *const ::std::os::raw::c_char,
3041 types: *const ::std::os::raw::c_char,
3042 ...
3043 ) -> ::std::os::raw::c_int;
3044}
3045unsafe extern "C" {
3046 pub fn lo_send_timestamped_internal(
3047 t: lo_address,
3048 file: *const ::std::os::raw::c_char,
3049 line: ::std::os::raw::c_int,
3050 ts: lo_timetag,
3051 path: *const ::std::os::raw::c_char,
3052 types: *const ::std::os::raw::c_char,
3053 ...
3054 ) -> ::std::os::raw::c_int;
3055}
3056unsafe extern "C" {
3057 pub fn lo_send_from_internal(
3058 targ: lo_address,
3059 from: lo_server,
3060 file: *const ::std::os::raw::c_char,
3061 line: ::std::os::raw::c_int,
3062 ts: lo_timetag,
3063 path: *const ::std::os::raw::c_char,
3064 types: *const ::std::os::raw::c_char,
3065 ...
3066 ) -> ::std::os::raw::c_int;
3067}
3068unsafe extern "C" {
3069 pub fn lo_timetag_diff(a: lo_timetag, b: lo_timetag) -> f64;
3070}
3071unsafe extern "C" {
3072 pub fn lo_timetag_now(t: *mut lo_timetag);
3073}
3074unsafe extern "C" {
3075 pub fn lo_arg_size(type_: lo_type, data: *mut ::std::os::raw::c_void) -> usize;
3076}
3077unsafe extern "C" {
3078 pub fn lo_get_path(
3079 data: *mut ::std::os::raw::c_void,
3080 size: isize,
3081 ) -> *mut ::std::os::raw::c_char;
3082}
3083unsafe extern "C" {
3084 pub fn lo_arg_host_endian(type_: lo_type, data: *mut ::std::os::raw::c_void);
3085}
3086unsafe extern "C" {
3087 pub fn lo_arg_network_endian(type_: lo_type, data: *mut ::std::os::raw::c_void);
3088}
3089unsafe extern "C" {
3090 pub fn lo_bundle_pp(b: lo_bundle);
3091}
3092unsafe extern "C" {
3093 pub fn lo_message_pp(m: lo_message);
3094}
3095unsafe extern "C" {
3096 pub fn lo_arg_pp(type_: lo_type, data: *mut ::std::os::raw::c_void);
3097}
3098unsafe extern "C" {
3099 pub fn lo_server_pp(s: lo_server);
3100}
3101unsafe extern "C" {
3102 pub fn lo_method_pp(m: lo_method);
3103}
3104unsafe extern "C" {
3105 pub fn lo_method_pp_prefix(m: lo_method, p: *const ::std::os::raw::c_char);
3106}
3107unsafe extern "C" {
3108 pub fn lo_server_thread_new(
3109 port: *const ::std::os::raw::c_char,
3110 err_h: lo_err_handler,
3111 ) -> lo_server_thread;
3112}
3113unsafe extern "C" {
3114 pub fn lo_server_thread_new_multicast(
3115 group: *const ::std::os::raw::c_char,
3116 port: *const ::std::os::raw::c_char,
3117 err_h: lo_err_handler,
3118 ) -> lo_server_thread;
3119}
3120unsafe extern "C" {
3121 pub fn lo_server_thread_new_multicast_iface(
3122 group: *const ::std::os::raw::c_char,
3123 port: *const ::std::os::raw::c_char,
3124 iface: *const ::std::os::raw::c_char,
3125 ip: *const ::std::os::raw::c_char,
3126 err_h: lo_err_handler,
3127 ) -> lo_server_thread;
3128}
3129unsafe extern "C" {
3130 pub fn lo_server_thread_new_with_proto(
3131 port: *const ::std::os::raw::c_char,
3132 proto: ::std::os::raw::c_int,
3133 err_h: lo_err_handler,
3134 ) -> lo_server_thread;
3135}
3136unsafe extern "C" {
3137 pub fn lo_server_thread_new_from_url(
3138 url: *const ::std::os::raw::c_char,
3139 err_h: lo_err_handler,
3140 ) -> lo_server_thread;
3141}
3142unsafe extern "C" {
3143 pub fn lo_server_thread_new_from_config(config: *mut lo_server_config) -> lo_server_thread;
3144}
3145unsafe extern "C" {
3146 pub fn lo_server_thread_free(st: lo_server_thread);
3147}
3148unsafe extern "C" {
3149 pub fn lo_server_thread_add_method(
3150 st: lo_server_thread,
3151 path: *const ::std::os::raw::c_char,
3152 typespec: *const ::std::os::raw::c_char,
3153 h: lo_method_handler,
3154 user_data: *const ::std::os::raw::c_void,
3155 ) -> lo_method;
3156}
3157unsafe extern "C" {
3158 pub fn lo_server_thread_del_method(
3159 st: lo_server_thread,
3160 path: *const ::std::os::raw::c_char,
3161 typespec: *const ::std::os::raw::c_char,
3162 );
3163}
3164unsafe extern "C" {
3165 pub fn lo_server_thread_del_lo_method(
3166 st: lo_server_thread,
3167 m: lo_method,
3168 ) -> ::std::os::raw::c_int;
3169}
3170unsafe extern "C" {
3171 pub fn lo_server_thread_set_callbacks(
3172 st: lo_server_thread,
3173 init: lo_server_thread_init_callback,
3174 cleanup: lo_server_thread_cleanup_callback,
3175 user_data: *mut ::std::os::raw::c_void,
3176 );
3177}
3178unsafe extern "C" {
3179 pub fn lo_server_thread_start(st: lo_server_thread) -> ::std::os::raw::c_int;
3180}
3181unsafe extern "C" {
3182 pub fn lo_server_thread_stop(st: lo_server_thread) -> ::std::os::raw::c_int;
3183}
3184unsafe extern "C" {
3185 pub fn lo_server_thread_get_port(st: lo_server_thread) -> ::std::os::raw::c_int;
3186}
3187unsafe extern "C" {
3188 pub fn lo_server_thread_get_url(st: lo_server_thread) -> *mut ::std::os::raw::c_char;
3189}
3190unsafe extern "C" {
3191 pub fn lo_server_thread_get_server(st: lo_server_thread) -> lo_server;
3192}
3193unsafe extern "C" {
3194 pub fn lo_server_thread_events_pending(st: lo_server_thread) -> ::std::os::raw::c_int;
3195}
3196unsafe extern "C" {
3197 pub fn lo_server_thread_set_error_context(
3198 st: lo_server_thread,
3199 user_data: *mut ::std::os::raw::c_void,
3200 );
3201}
3202unsafe extern "C" {
3203 pub fn lo_server_thread_pp(st: lo_server_thread);
3204}
3205unsafe extern "C" {
3206 pub fn lo_address_new(
3207 host: *const ::std::os::raw::c_char,
3208 port: *const ::std::os::raw::c_char,
3209 ) -> lo_address;
3210}
3211unsafe extern "C" {
3212 pub fn lo_address_new_with_proto(
3213 proto: ::std::os::raw::c_int,
3214 host: *const ::std::os::raw::c_char,
3215 port: *const ::std::os::raw::c_char,
3216 ) -> lo_address;
3217}
3218unsafe extern "C" {
3219 pub fn lo_address_new_from_url(url: *const ::std::os::raw::c_char) -> lo_address;
3220}
3221unsafe extern "C" {
3222 pub fn lo_address_free(t: lo_address);
3223}
3224unsafe extern "C" {
3225 pub fn lo_send(
3226 targ: lo_address,
3227 path: *const ::std::os::raw::c_char,
3228 type_: *const ::std::os::raw::c_char,
3229 ...
3230 ) -> ::std::os::raw::c_int;
3231}
3232unsafe extern "C" {
3233 pub fn lo_send_from(
3234 targ: lo_address,
3235 from: lo_server,
3236 ts: lo_timetag,
3237 path: *const ::std::os::raw::c_char,
3238 type_: *const ::std::os::raw::c_char,
3239 ...
3240 ) -> ::std::os::raw::c_int;
3241}
3242unsafe extern "C" {
3243 pub fn lo_send_timestamped(
3244 targ: lo_address,
3245 ts: lo_timetag,
3246 path: *const ::std::os::raw::c_char,
3247 type_: *const ::std::os::raw::c_char,
3248 ...
3249 ) -> ::std::os::raw::c_int;
3250}
3251unsafe extern "C" {
3252 pub fn lo_address_errno(a: lo_address) -> ::std::os::raw::c_int;
3253}
3254unsafe extern "C" {
3255 pub fn lo_address_errstr(a: lo_address) -> *const ::std::os::raw::c_char;
3256}
3257unsafe extern "C" {
3258 pub fn lo_blob_new(size: i32, data: *const ::std::os::raw::c_void) -> lo_blob;
3259}
3260unsafe extern "C" {
3261 pub fn lo_blob_free(b: lo_blob);
3262}
3263unsafe extern "C" {
3264 pub fn lo_blob_datasize(b: lo_blob) -> u32;
3265}
3266unsafe extern "C" {
3267 pub fn lo_blob_dataptr(b: lo_blob) -> *mut ::std::os::raw::c_void;
3268}
3269unsafe extern "C" {
3270 pub fn lo_version(
3271 verstr: *mut ::std::os::raw::c_char,
3272 verstr_size: ::std::os::raw::c_int,
3273 major: *mut ::std::os::raw::c_int,
3274 minor: *mut ::std::os::raw::c_int,
3275 extra: *mut ::std::os::raw::c_char,
3276 extra_size: ::std::os::raw::c_int,
3277 lt_major: *mut ::std::os::raw::c_int,
3278 lt_minor: *mut ::std::os::raw::c_int,
3279 lt_bug: *mut ::std::os::raw::c_int,
3280 );
3281}
3282pub type __builtin_va_list = [__va_list_tag; 1usize];
3283#[repr(C)]
3284#[derive(Debug, Copy, Clone)]
3285pub struct __va_list_tag {
3286 pub gp_offset: ::std::os::raw::c_uint,
3287 pub fp_offset: ::std::os::raw::c_uint,
3288 pub overflow_arg_area: *mut ::std::os::raw::c_void,
3289 pub reg_save_area: *mut ::std::os::raw::c_void,
3290}
3291#[allow(clippy::unnecessary_operation, clippy::identity_op)]
3292const _: () = {
3293 ["Size of __va_list_tag"][::std::mem::size_of::<__va_list_tag>() - 24usize];
3294 ["Alignment of __va_list_tag"][::std::mem::align_of::<__va_list_tag>() - 8usize];
3295 ["Offset of field: __va_list_tag::gp_offset"]
3296 [::std::mem::offset_of!(__va_list_tag, gp_offset) - 0usize];
3297 ["Offset of field: __va_list_tag::fp_offset"]
3298 [::std::mem::offset_of!(__va_list_tag, fp_offset) - 4usize];
3299 ["Offset of field: __va_list_tag::overflow_arg_area"]
3300 [::std::mem::offset_of!(__va_list_tag, overflow_arg_area) - 8usize];
3301 ["Offset of field: __va_list_tag::reg_save_area"]
3302 [::std::mem::offset_of!(__va_list_tag, reg_save_area) - 16usize];
3303};