1pub const _STDIO_H: u32 = 1;
9pub const _FEATURES_H: u32 = 1;
10pub const _DEFAULT_SOURCE: u32 = 1;
11pub const __GLIBC_USE_ISOC2X: u32 = 0;
12pub const __USE_ISOC11: u32 = 1;
13pub const __USE_ISOC99: u32 = 1;
14pub const __USE_ISOC95: u32 = 1;
15pub const __USE_POSIX_IMPLICITLY: u32 = 1;
16pub const _POSIX_SOURCE: u32 = 1;
17pub const _POSIX_C_SOURCE: u32 = 200809;
18pub const __USE_POSIX: u32 = 1;
19pub const __USE_POSIX2: u32 = 1;
20pub const __USE_POSIX199309: u32 = 1;
21pub const __USE_POSIX199506: u32 = 1;
22pub const __USE_XOPEN2K: u32 = 1;
23pub const __USE_XOPEN2K8: u32 = 1;
24pub const _ATFILE_SOURCE: u32 = 1;
25pub const __USE_MISC: u32 = 1;
26pub const __USE_ATFILE: u32 = 1;
27pub const __USE_FORTIFY_LEVEL: u32 = 0;
28pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
29pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
30pub const _STDC_PREDEF_H: u32 = 1;
31pub const __STDC_IEC_559__: u32 = 1;
32pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
33pub const __STDC_ISO_10646__: u32 = 201706;
34pub const __GNU_LIBRARY__: u32 = 6;
35pub const __GLIBC__: u32 = 2;
36pub const __GLIBC_MINOR__: u32 = 31;
37pub const _SYS_CDEFS_H: u32 = 1;
38pub const __glibc_c99_flexarr_available: u32 = 1;
39pub const __WORDSIZE: u32 = 64;
40pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
41pub const __SYSCALL_WORDSIZE: u32 = 64;
42pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0;
43pub const __HAVE_GENERIC_SELECTION: u32 = 1;
44pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
45pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
46pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0;
47pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
48pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0;
49pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
50pub const __GNUC_VA_LIST: u32 = 1;
51pub const _BITS_TYPES_H: u32 = 1;
52pub const __TIMESIZE: u32 = 64;
53pub const _BITS_TYPESIZES_H: u32 = 1;
54pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
55pub const __INO_T_MATCHES_INO64_T: u32 = 1;
56pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
57pub const __STATFS_MATCHES_STATFS64: u32 = 1;
58pub const __FD_SETSIZE: u32 = 1024;
59pub const _BITS_TIME64_H: u32 = 1;
60pub const _____fpos_t_defined: u32 = 1;
61pub const ____mbstate_t_defined: u32 = 1;
62pub const _____fpos64_t_defined: u32 = 1;
63pub const ____FILE_defined: u32 = 1;
64pub const __FILE_defined: u32 = 1;
65pub const __struct_FILE_defined: u32 = 1;
66pub const _IO_EOF_SEEN: u32 = 16;
67pub const _IO_ERR_SEEN: u32 = 32;
68pub const _IO_USER_LOCK: u32 = 32768;
69pub const _IOFBF: u32 = 0;
70pub const _IOLBF: u32 = 1;
71pub const _IONBF: u32 = 2;
72pub const BUFSIZ: u32 = 8192;
73pub const EOF: i32 = -1;
74pub const SEEK_SET: u32 = 0;
75pub const SEEK_CUR: u32 = 1;
76pub const SEEK_END: u32 = 2;
77pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\0";
78pub const _BITS_STDIO_LIM_H: u32 = 1;
79pub const L_tmpnam: u32 = 20;
80pub const TMP_MAX: u32 = 238328;
81pub const FILENAME_MAX: u32 = 4096;
82pub const L_ctermid: u32 = 9;
83pub const FOPEN_MAX: u32 = 16;
84pub const _UNISTD_H: u32 = 1;
85pub const _POSIX_VERSION: u32 = 200809;
86pub const __POSIX2_THIS_VERSION: u32 = 200809;
87pub const _POSIX2_VERSION: u32 = 200809;
88pub const _POSIX2_C_VERSION: u32 = 200809;
89pub const _POSIX2_C_BIND: u32 = 200809;
90pub const _POSIX2_C_DEV: u32 = 200809;
91pub const _POSIX2_SW_DEV: u32 = 200809;
92pub const _POSIX2_LOCALEDEF: u32 = 200809;
93pub const _XOPEN_VERSION: u32 = 700;
94pub const _XOPEN_XCU_VERSION: u32 = 4;
95pub const _XOPEN_XPG2: u32 = 1;
96pub const _XOPEN_XPG3: u32 = 1;
97pub const _XOPEN_XPG4: u32 = 1;
98pub const _XOPEN_UNIX: u32 = 1;
99pub const _XOPEN_ENH_I18N: u32 = 1;
100pub const _XOPEN_LEGACY: u32 = 1;
101pub const _BITS_POSIX_OPT_H: u32 = 1;
102pub const _POSIX_JOB_CONTROL: u32 = 1;
103pub const _POSIX_SAVED_IDS: u32 = 1;
104pub const _POSIX_PRIORITY_SCHEDULING: u32 = 200809;
105pub const _POSIX_SYNCHRONIZED_IO: u32 = 200809;
106pub const _POSIX_FSYNC: u32 = 200809;
107pub const _POSIX_MAPPED_FILES: u32 = 200809;
108pub const _POSIX_MEMLOCK: u32 = 200809;
109pub const _POSIX_MEMLOCK_RANGE: u32 = 200809;
110pub const _POSIX_MEMORY_PROTECTION: u32 = 200809;
111pub const _POSIX_CHOWN_RESTRICTED: u32 = 0;
112pub const _POSIX_VDISABLE: u8 = 0u8;
113pub const _POSIX_NO_TRUNC: u32 = 1;
114pub const _XOPEN_REALTIME: u32 = 1;
115pub const _XOPEN_REALTIME_THREADS: u32 = 1;
116pub const _XOPEN_SHM: u32 = 1;
117pub const _POSIX_THREADS: u32 = 200809;
118pub const _POSIX_REENTRANT_FUNCTIONS: u32 = 1;
119pub const _POSIX_THREAD_SAFE_FUNCTIONS: u32 = 200809;
120pub const _POSIX_THREAD_PRIORITY_SCHEDULING: u32 = 200809;
121pub const _POSIX_THREAD_ATTR_STACKSIZE: u32 = 200809;
122pub const _POSIX_THREAD_ATTR_STACKADDR: u32 = 200809;
123pub const _POSIX_THREAD_PRIO_INHERIT: u32 = 200809;
124pub const _POSIX_THREAD_PRIO_PROTECT: u32 = 200809;
125pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT: u32 = 200809;
126pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT: i32 = -1;
127pub const _POSIX_SEMAPHORES: u32 = 200809;
128pub const _POSIX_REALTIME_SIGNALS: u32 = 200809;
129pub const _POSIX_ASYNCHRONOUS_IO: u32 = 200809;
130pub const _POSIX_ASYNC_IO: u32 = 1;
131pub const _LFS_ASYNCHRONOUS_IO: u32 = 1;
132pub const _POSIX_PRIORITIZED_IO: u32 = 200809;
133pub const _LFS64_ASYNCHRONOUS_IO: u32 = 1;
134pub const _LFS_LARGEFILE: u32 = 1;
135pub const _LFS64_LARGEFILE: u32 = 1;
136pub const _LFS64_STDIO: u32 = 1;
137pub const _POSIX_SHARED_MEMORY_OBJECTS: u32 = 200809;
138pub const _POSIX_CPUTIME: u32 = 0;
139pub const _POSIX_THREAD_CPUTIME: u32 = 0;
140pub const _POSIX_REGEXP: u32 = 1;
141pub const _POSIX_READER_WRITER_LOCKS: u32 = 200809;
142pub const _POSIX_SHELL: u32 = 1;
143pub const _POSIX_TIMEOUTS: u32 = 200809;
144pub const _POSIX_SPIN_LOCKS: u32 = 200809;
145pub const _POSIX_SPAWN: u32 = 200809;
146pub const _POSIX_TIMERS: u32 = 200809;
147pub const _POSIX_BARRIERS: u32 = 200809;
148pub const _POSIX_MESSAGE_PASSING: u32 = 200809;
149pub const _POSIX_THREAD_PROCESS_SHARED: u32 = 200809;
150pub const _POSIX_MONOTONIC_CLOCK: u32 = 0;
151pub const _POSIX_CLOCK_SELECTION: u32 = 200809;
152pub const _POSIX_ADVISORY_INFO: u32 = 200809;
153pub const _POSIX_IPV6: u32 = 200809;
154pub const _POSIX_RAW_SOCKETS: u32 = 200809;
155pub const _POSIX2_CHAR_TERM: u32 = 200809;
156pub const _POSIX_SPORADIC_SERVER: i32 = -1;
157pub const _POSIX_THREAD_SPORADIC_SERVER: i32 = -1;
158pub const _POSIX_TRACE: i32 = -1;
159pub const _POSIX_TRACE_EVENT_FILTER: i32 = -1;
160pub const _POSIX_TRACE_INHERIT: i32 = -1;
161pub const _POSIX_TRACE_LOG: i32 = -1;
162pub const _POSIX_TYPED_MEMORY_OBJECTS: i32 = -1;
163pub const _POSIX_V7_LPBIG_OFFBIG: i32 = -1;
164pub const _POSIX_V6_LPBIG_OFFBIG: i32 = -1;
165pub const _XBS5_LPBIG_OFFBIG: i32 = -1;
166pub const _POSIX_V7_LP64_OFF64: u32 = 1;
167pub const _POSIX_V6_LP64_OFF64: u32 = 1;
168pub const _XBS5_LP64_OFF64: u32 = 1;
169pub const __ILP32_OFF32_CFLAGS: &'static [u8; 5usize] = b"-m32\0";
170pub const __ILP32_OFF32_LDFLAGS: &'static [u8; 5usize] = b"-m32\0";
171pub const __ILP32_OFFBIG_CFLAGS: &'static [u8; 48usize] =
172 b"-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\0";
173pub const __ILP32_OFFBIG_LDFLAGS: &'static [u8; 5usize] = b"-m32\0";
174pub const __LP64_OFF64_CFLAGS: &'static [u8; 5usize] = b"-m64\0";
175pub const __LP64_OFF64_LDFLAGS: &'static [u8; 5usize] = b"-m64\0";
176pub const STDIN_FILENO: u32 = 0;
177pub const STDOUT_FILENO: u32 = 1;
178pub const STDERR_FILENO: u32 = 2;
179pub const R_OK: u32 = 4;
180pub const W_OK: u32 = 2;
181pub const X_OK: u32 = 1;
182pub const F_OK: u32 = 0;
183pub const L_SET: u32 = 0;
184pub const L_INCR: u32 = 1;
185pub const L_XTND: u32 = 2;
186pub const _GETOPT_POSIX_H: u32 = 1;
187pub const _GETOPT_CORE_H: u32 = 1;
188pub const F_ULOCK: u32 = 0;
189pub const F_LOCK: u32 = 1;
190pub const F_TLOCK: u32 = 2;
191pub const F_TEST: u32 = 3;
192pub const GSASL_VERSION: &'static [u8; 6usize] = b"1.8.0\0";
193pub const GSASL_VERSION_MAJOR: u32 = 1;
194pub const GSASL_VERSION_MINOR: u32 = 8;
195pub const GSASL_VERSION_PATCH: u32 = 0;
196pub const GSASL_VERSION_NUMBER: u32 = 67584;
197pub type size_t = ::std::os::raw::c_ulong;
198pub type va_list = __builtin_va_list;
199pub type __gnuc_va_list = __builtin_va_list;
200pub type __u_char = ::std::os::raw::c_uchar;
201pub type __u_short = ::std::os::raw::c_ushort;
202pub type __u_int = ::std::os::raw::c_uint;
203pub type __u_long = ::std::os::raw::c_ulong;
204pub type __int8_t = ::std::os::raw::c_schar;
205pub type __uint8_t = ::std::os::raw::c_uchar;
206pub type __int16_t = ::std::os::raw::c_short;
207pub type __uint16_t = ::std::os::raw::c_ushort;
208pub type __int32_t = ::std::os::raw::c_int;
209pub type __uint32_t = ::std::os::raw::c_uint;
210pub type __int64_t = ::std::os::raw::c_long;
211pub type __uint64_t = ::std::os::raw::c_ulong;
212pub type __int_least8_t = __int8_t;
213pub type __uint_least8_t = __uint8_t;
214pub type __int_least16_t = __int16_t;
215pub type __uint_least16_t = __uint16_t;
216pub type __int_least32_t = __int32_t;
217pub type __uint_least32_t = __uint32_t;
218pub type __int_least64_t = __int64_t;
219pub type __uint_least64_t = __uint64_t;
220pub type __quad_t = ::std::os::raw::c_long;
221pub type __u_quad_t = ::std::os::raw::c_ulong;
222pub type __intmax_t = ::std::os::raw::c_long;
223pub type __uintmax_t = ::std::os::raw::c_ulong;
224pub type __dev_t = ::std::os::raw::c_ulong;
225pub type __uid_t = ::std::os::raw::c_uint;
226pub type __gid_t = ::std::os::raw::c_uint;
227pub type __ino_t = ::std::os::raw::c_ulong;
228pub type __ino64_t = ::std::os::raw::c_ulong;
229pub type __mode_t = ::std::os::raw::c_uint;
230pub type __nlink_t = ::std::os::raw::c_ulong;
231pub type __off_t = ::std::os::raw::c_long;
232pub type __off64_t = ::std::os::raw::c_long;
233pub type __pid_t = ::std::os::raw::c_int;
234#[repr(C)]
235#[derive(Debug, Copy, Clone)]
236pub struct __fsid_t {
237 pub __val: [::std::os::raw::c_int; 2usize],
238}
239#[test]
240fn bindgen_test_layout___fsid_t() {
241 assert_eq!(
242 ::std::mem::size_of::<__fsid_t>(),
243 8usize,
244 concat!("Size of: ", stringify!(__fsid_t))
245 );
246 assert_eq!(
247 ::std::mem::align_of::<__fsid_t>(),
248 4usize,
249 concat!("Alignment of ", stringify!(__fsid_t))
250 );
251 assert_eq!(
252 unsafe { &(*(::std::ptr::null::<__fsid_t>())).__val as *const _ as usize },
253 0usize,
254 concat!(
255 "Offset of field: ",
256 stringify!(__fsid_t),
257 "::",
258 stringify!(__val)
259 )
260 );
261}
262pub type __clock_t = ::std::os::raw::c_long;
263pub type __rlim_t = ::std::os::raw::c_ulong;
264pub type __rlim64_t = ::std::os::raw::c_ulong;
265pub type __id_t = ::std::os::raw::c_uint;
266pub type __time_t = ::std::os::raw::c_long;
267pub type __useconds_t = ::std::os::raw::c_uint;
268pub type __suseconds_t = ::std::os::raw::c_long;
269pub type __daddr_t = ::std::os::raw::c_int;
270pub type __key_t = ::std::os::raw::c_int;
271pub type __clockid_t = ::std::os::raw::c_int;
272pub type __timer_t = *mut ::std::os::raw::c_void;
273pub type __blksize_t = ::std::os::raw::c_long;
274pub type __blkcnt_t = ::std::os::raw::c_long;
275pub type __blkcnt64_t = ::std::os::raw::c_long;
276pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
277pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
278pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
279pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
280pub type __fsword_t = ::std::os::raw::c_long;
281pub type __ssize_t = ::std::os::raw::c_long;
282pub type __syscall_slong_t = ::std::os::raw::c_long;
283pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
284pub type __loff_t = __off64_t;
285pub type __caddr_t = *mut ::std::os::raw::c_char;
286pub type __intptr_t = ::std::os::raw::c_long;
287pub type __socklen_t = ::std::os::raw::c_uint;
288pub type __sig_atomic_t = ::std::os::raw::c_int;
289#[repr(C)]
290#[derive(Copy, Clone)]
291pub struct __mbstate_t {
292 pub __count: ::std::os::raw::c_int,
293 pub __value: __mbstate_t__bindgen_ty_1,
294}
295#[repr(C)]
296#[derive(Copy, Clone)]
297pub union __mbstate_t__bindgen_ty_1 {
298 pub __wch: ::std::os::raw::c_uint,
299 pub __wchb: [::std::os::raw::c_char; 4usize],
300 _bindgen_union_align: u32,
301}
302#[test]
303fn bindgen_test_layout___mbstate_t__bindgen_ty_1() {
304 assert_eq!(
305 ::std::mem::size_of::<__mbstate_t__bindgen_ty_1>(),
306 4usize,
307 concat!("Size of: ", stringify!(__mbstate_t__bindgen_ty_1))
308 );
309 assert_eq!(
310 ::std::mem::align_of::<__mbstate_t__bindgen_ty_1>(),
311 4usize,
312 concat!("Alignment of ", stringify!(__mbstate_t__bindgen_ty_1))
313 );
314 assert_eq!(
315 unsafe { &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wch as *const _ as usize },
316 0usize,
317 concat!(
318 "Offset of field: ",
319 stringify!(__mbstate_t__bindgen_ty_1),
320 "::",
321 stringify!(__wch)
322 )
323 );
324 assert_eq!(
325 unsafe {
326 &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wchb as *const _ as usize
327 },
328 0usize,
329 concat!(
330 "Offset of field: ",
331 stringify!(__mbstate_t__bindgen_ty_1),
332 "::",
333 stringify!(__wchb)
334 )
335 );
336}
337#[test]
338fn bindgen_test_layout___mbstate_t() {
339 assert_eq!(
340 ::std::mem::size_of::<__mbstate_t>(),
341 8usize,
342 concat!("Size of: ", stringify!(__mbstate_t))
343 );
344 assert_eq!(
345 ::std::mem::align_of::<__mbstate_t>(),
346 4usize,
347 concat!("Alignment of ", stringify!(__mbstate_t))
348 );
349 assert_eq!(
350 unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__count as *const _ as usize },
351 0usize,
352 concat!(
353 "Offset of field: ",
354 stringify!(__mbstate_t),
355 "::",
356 stringify!(__count)
357 )
358 );
359 assert_eq!(
360 unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__value as *const _ as usize },
361 4usize,
362 concat!(
363 "Offset of field: ",
364 stringify!(__mbstate_t),
365 "::",
366 stringify!(__value)
367 )
368 );
369}
370#[repr(C)]
371#[derive(Copy, Clone)]
372pub struct _G_fpos_t {
373 pub __pos: __off_t,
374 pub __state: __mbstate_t,
375}
376#[test]
377fn bindgen_test_layout__G_fpos_t() {
378 assert_eq!(
379 ::std::mem::size_of::<_G_fpos_t>(),
380 16usize,
381 concat!("Size of: ", stringify!(_G_fpos_t))
382 );
383 assert_eq!(
384 ::std::mem::align_of::<_G_fpos_t>(),
385 8usize,
386 concat!("Alignment of ", stringify!(_G_fpos_t))
387 );
388 assert_eq!(
389 unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__pos as *const _ as usize },
390 0usize,
391 concat!(
392 "Offset of field: ",
393 stringify!(_G_fpos_t),
394 "::",
395 stringify!(__pos)
396 )
397 );
398 assert_eq!(
399 unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__state as *const _ as usize },
400 8usize,
401 concat!(
402 "Offset of field: ",
403 stringify!(_G_fpos_t),
404 "::",
405 stringify!(__state)
406 )
407 );
408}
409pub type __fpos_t = _G_fpos_t;
410#[repr(C)]
411#[derive(Copy, Clone)]
412pub struct _G_fpos64_t {
413 pub __pos: __off64_t,
414 pub __state: __mbstate_t,
415}
416#[test]
417fn bindgen_test_layout__G_fpos64_t() {
418 assert_eq!(
419 ::std::mem::size_of::<_G_fpos64_t>(),
420 16usize,
421 concat!("Size of: ", stringify!(_G_fpos64_t))
422 );
423 assert_eq!(
424 ::std::mem::align_of::<_G_fpos64_t>(),
425 8usize,
426 concat!("Alignment of ", stringify!(_G_fpos64_t))
427 );
428 assert_eq!(
429 unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__pos as *const _ as usize },
430 0usize,
431 concat!(
432 "Offset of field: ",
433 stringify!(_G_fpos64_t),
434 "::",
435 stringify!(__pos)
436 )
437 );
438 assert_eq!(
439 unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__state as *const _ as usize },
440 8usize,
441 concat!(
442 "Offset of field: ",
443 stringify!(_G_fpos64_t),
444 "::",
445 stringify!(__state)
446 )
447 );
448}
449pub type __fpos64_t = _G_fpos64_t;
450pub type __FILE = _IO_FILE;
451pub type FILE = _IO_FILE;
452#[repr(C)]
453#[derive(Debug, Copy, Clone)]
454pub struct _IO_marker {
455 _unused: [u8; 0],
456}
457#[repr(C)]
458#[derive(Debug, Copy, Clone)]
459pub struct _IO_codecvt {
460 _unused: [u8; 0],
461}
462#[repr(C)]
463#[derive(Debug, Copy, Clone)]
464pub struct _IO_wide_data {
465 _unused: [u8; 0],
466}
467pub type _IO_lock_t = ::std::os::raw::c_void;
468#[repr(C)]
469#[derive(Debug, Copy, Clone)]
470pub struct _IO_FILE {
471 pub _flags: ::std::os::raw::c_int,
472 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
473 pub _IO_read_end: *mut ::std::os::raw::c_char,
474 pub _IO_read_base: *mut ::std::os::raw::c_char,
475 pub _IO_write_base: *mut ::std::os::raw::c_char,
476 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
477 pub _IO_write_end: *mut ::std::os::raw::c_char,
478 pub _IO_buf_base: *mut ::std::os::raw::c_char,
479 pub _IO_buf_end: *mut ::std::os::raw::c_char,
480 pub _IO_save_base: *mut ::std::os::raw::c_char,
481 pub _IO_backup_base: *mut ::std::os::raw::c_char,
482 pub _IO_save_end: *mut ::std::os::raw::c_char,
483 pub _markers: *mut _IO_marker,
484 pub _chain: *mut _IO_FILE,
485 pub _fileno: ::std::os::raw::c_int,
486 pub _flags2: ::std::os::raw::c_int,
487 pub _old_offset: __off_t,
488 pub _cur_column: ::std::os::raw::c_ushort,
489 pub _vtable_offset: ::std::os::raw::c_schar,
490 pub _shortbuf: [::std::os::raw::c_char; 1usize],
491 pub _lock: *mut _IO_lock_t,
492 pub _offset: __off64_t,
493 pub _codecvt: *mut _IO_codecvt,
494 pub _wide_data: *mut _IO_wide_data,
495 pub _freeres_list: *mut _IO_FILE,
496 pub _freeres_buf: *mut ::std::os::raw::c_void,
497 pub __pad5: size_t,
498 pub _mode: ::std::os::raw::c_int,
499 pub _unused2: [::std::os::raw::c_char; 20usize],
500}
501#[test]
502fn bindgen_test_layout__IO_FILE() {
503 assert_eq!(
504 ::std::mem::size_of::<_IO_FILE>(),
505 216usize,
506 concat!("Size of: ", stringify!(_IO_FILE))
507 );
508 assert_eq!(
509 ::std::mem::align_of::<_IO_FILE>(),
510 8usize,
511 concat!("Alignment of ", stringify!(_IO_FILE))
512 );
513 assert_eq!(
514 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
515 0usize,
516 concat!(
517 "Offset of field: ",
518 stringify!(_IO_FILE),
519 "::",
520 stringify!(_flags)
521 )
522 );
523 assert_eq!(
524 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
525 8usize,
526 concat!(
527 "Offset of field: ",
528 stringify!(_IO_FILE),
529 "::",
530 stringify!(_IO_read_ptr)
531 )
532 );
533 assert_eq!(
534 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
535 16usize,
536 concat!(
537 "Offset of field: ",
538 stringify!(_IO_FILE),
539 "::",
540 stringify!(_IO_read_end)
541 )
542 );
543 assert_eq!(
544 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
545 24usize,
546 concat!(
547 "Offset of field: ",
548 stringify!(_IO_FILE),
549 "::",
550 stringify!(_IO_read_base)
551 )
552 );
553 assert_eq!(
554 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
555 32usize,
556 concat!(
557 "Offset of field: ",
558 stringify!(_IO_FILE),
559 "::",
560 stringify!(_IO_write_base)
561 )
562 );
563 assert_eq!(
564 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
565 40usize,
566 concat!(
567 "Offset of field: ",
568 stringify!(_IO_FILE),
569 "::",
570 stringify!(_IO_write_ptr)
571 )
572 );
573 assert_eq!(
574 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
575 48usize,
576 concat!(
577 "Offset of field: ",
578 stringify!(_IO_FILE),
579 "::",
580 stringify!(_IO_write_end)
581 )
582 );
583 assert_eq!(
584 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
585 56usize,
586 concat!(
587 "Offset of field: ",
588 stringify!(_IO_FILE),
589 "::",
590 stringify!(_IO_buf_base)
591 )
592 );
593 assert_eq!(
594 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
595 64usize,
596 concat!(
597 "Offset of field: ",
598 stringify!(_IO_FILE),
599 "::",
600 stringify!(_IO_buf_end)
601 )
602 );
603 assert_eq!(
604 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
605 72usize,
606 concat!(
607 "Offset of field: ",
608 stringify!(_IO_FILE),
609 "::",
610 stringify!(_IO_save_base)
611 )
612 );
613 assert_eq!(
614 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
615 80usize,
616 concat!(
617 "Offset of field: ",
618 stringify!(_IO_FILE),
619 "::",
620 stringify!(_IO_backup_base)
621 )
622 );
623 assert_eq!(
624 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
625 88usize,
626 concat!(
627 "Offset of field: ",
628 stringify!(_IO_FILE),
629 "::",
630 stringify!(_IO_save_end)
631 )
632 );
633 assert_eq!(
634 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
635 96usize,
636 concat!(
637 "Offset of field: ",
638 stringify!(_IO_FILE),
639 "::",
640 stringify!(_markers)
641 )
642 );
643 assert_eq!(
644 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
645 104usize,
646 concat!(
647 "Offset of field: ",
648 stringify!(_IO_FILE),
649 "::",
650 stringify!(_chain)
651 )
652 );
653 assert_eq!(
654 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
655 112usize,
656 concat!(
657 "Offset of field: ",
658 stringify!(_IO_FILE),
659 "::",
660 stringify!(_fileno)
661 )
662 );
663 assert_eq!(
664 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
665 116usize,
666 concat!(
667 "Offset of field: ",
668 stringify!(_IO_FILE),
669 "::",
670 stringify!(_flags2)
671 )
672 );
673 assert_eq!(
674 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
675 120usize,
676 concat!(
677 "Offset of field: ",
678 stringify!(_IO_FILE),
679 "::",
680 stringify!(_old_offset)
681 )
682 );
683 assert_eq!(
684 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
685 128usize,
686 concat!(
687 "Offset of field: ",
688 stringify!(_IO_FILE),
689 "::",
690 stringify!(_cur_column)
691 )
692 );
693 assert_eq!(
694 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
695 130usize,
696 concat!(
697 "Offset of field: ",
698 stringify!(_IO_FILE),
699 "::",
700 stringify!(_vtable_offset)
701 )
702 );
703 assert_eq!(
704 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
705 131usize,
706 concat!(
707 "Offset of field: ",
708 stringify!(_IO_FILE),
709 "::",
710 stringify!(_shortbuf)
711 )
712 );
713 assert_eq!(
714 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
715 136usize,
716 concat!(
717 "Offset of field: ",
718 stringify!(_IO_FILE),
719 "::",
720 stringify!(_lock)
721 )
722 );
723 assert_eq!(
724 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
725 144usize,
726 concat!(
727 "Offset of field: ",
728 stringify!(_IO_FILE),
729 "::",
730 stringify!(_offset)
731 )
732 );
733 assert_eq!(
734 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
735 152usize,
736 concat!(
737 "Offset of field: ",
738 stringify!(_IO_FILE),
739 "::",
740 stringify!(_codecvt)
741 )
742 );
743 assert_eq!(
744 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
745 160usize,
746 concat!(
747 "Offset of field: ",
748 stringify!(_IO_FILE),
749 "::",
750 stringify!(_wide_data)
751 )
752 );
753 assert_eq!(
754 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
755 168usize,
756 concat!(
757 "Offset of field: ",
758 stringify!(_IO_FILE),
759 "::",
760 stringify!(_freeres_list)
761 )
762 );
763 assert_eq!(
764 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
765 176usize,
766 concat!(
767 "Offset of field: ",
768 stringify!(_IO_FILE),
769 "::",
770 stringify!(_freeres_buf)
771 )
772 );
773 assert_eq!(
774 unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
775 184usize,
776 concat!(
777 "Offset of field: ",
778 stringify!(_IO_FILE),
779 "::",
780 stringify!(__pad5)
781 )
782 );
783 assert_eq!(
784 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
785 192usize,
786 concat!(
787 "Offset of field: ",
788 stringify!(_IO_FILE),
789 "::",
790 stringify!(_mode)
791 )
792 );
793 assert_eq!(
794 unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
795 196usize,
796 concat!(
797 "Offset of field: ",
798 stringify!(_IO_FILE),
799 "::",
800 stringify!(_unused2)
801 )
802 );
803}
804pub type off_t = __off_t;
805pub type ssize_t = __ssize_t;
806pub type fpos_t = __fpos_t;
807extern "C" {
808 pub static mut stdin: *mut FILE;
809}
810extern "C" {
811 pub static mut stdout: *mut FILE;
812}
813extern "C" {
814 pub static mut stderr: *mut FILE;
815}
816extern "C" {
817 pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
818}
819extern "C" {
820 pub fn rename(
821 __old: *const ::std::os::raw::c_char,
822 __new: *const ::std::os::raw::c_char,
823 ) -> ::std::os::raw::c_int;
824}
825extern "C" {
826 pub fn renameat(
827 __oldfd: ::std::os::raw::c_int,
828 __old: *const ::std::os::raw::c_char,
829 __newfd: ::std::os::raw::c_int,
830 __new: *const ::std::os::raw::c_char,
831 ) -> ::std::os::raw::c_int;
832}
833extern "C" {
834 pub fn tmpfile() -> *mut FILE;
835}
836extern "C" {
837 pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
838}
839extern "C" {
840 pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
841}
842extern "C" {
843 pub fn tempnam(
844 __dir: *const ::std::os::raw::c_char,
845 __pfx: *const ::std::os::raw::c_char,
846 ) -> *mut ::std::os::raw::c_char;
847}
848extern "C" {
849 pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
850}
851extern "C" {
852 pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int;
853}
854extern "C" {
855 pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
856}
857extern "C" {
858 pub fn fopen(
859 __filename: *const ::std::os::raw::c_char,
860 __modes: *const ::std::os::raw::c_char,
861 ) -> *mut FILE;
862}
863extern "C" {
864 pub fn freopen(
865 __filename: *const ::std::os::raw::c_char,
866 __modes: *const ::std::os::raw::c_char,
867 __stream: *mut FILE,
868 ) -> *mut FILE;
869}
870extern "C" {
871 pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char)
872 -> *mut FILE;
873}
874extern "C" {
875 pub fn fmemopen(
876 __s: *mut ::std::os::raw::c_void,
877 __len: size_t,
878 __modes: *const ::std::os::raw::c_char,
879 ) -> *mut FILE;
880}
881extern "C" {
882 pub fn open_memstream(
883 __bufloc: *mut *mut ::std::os::raw::c_char,
884 __sizeloc: *mut size_t,
885 ) -> *mut FILE;
886}
887extern "C" {
888 pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char);
889}
890extern "C" {
891 pub fn setvbuf(
892 __stream: *mut FILE,
893 __buf: *mut ::std::os::raw::c_char,
894 __modes: ::std::os::raw::c_int,
895 __n: size_t,
896 ) -> ::std::os::raw::c_int;
897}
898extern "C" {
899 pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: size_t);
900}
901extern "C" {
902 pub fn setlinebuf(__stream: *mut FILE);
903}
904extern "C" {
905 pub fn fprintf(
906 __stream: *mut FILE,
907 __format: *const ::std::os::raw::c_char,
908 ...
909 ) -> ::std::os::raw::c_int;
910}
911extern "C" {
912 pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
913}
914extern "C" {
915 pub fn sprintf(
916 __s: *mut ::std::os::raw::c_char,
917 __format: *const ::std::os::raw::c_char,
918 ...
919 ) -> ::std::os::raw::c_int;
920}
921extern "C" {
922 pub fn vfprintf(
923 __s: *mut FILE,
924 __format: *const ::std::os::raw::c_char,
925 __arg: *mut __va_list_tag,
926 ) -> ::std::os::raw::c_int;
927}
928extern "C" {
929 pub fn vprintf(
930 __format: *const ::std::os::raw::c_char,
931 __arg: *mut __va_list_tag,
932 ) -> ::std::os::raw::c_int;
933}
934extern "C" {
935 pub fn vsprintf(
936 __s: *mut ::std::os::raw::c_char,
937 __format: *const ::std::os::raw::c_char,
938 __arg: *mut __va_list_tag,
939 ) -> ::std::os::raw::c_int;
940}
941extern "C" {
942 pub fn snprintf(
943 __s: *mut ::std::os::raw::c_char,
944 __maxlen: ::std::os::raw::c_ulong,
945 __format: *const ::std::os::raw::c_char,
946 ...
947 ) -> ::std::os::raw::c_int;
948}
949extern "C" {
950 pub fn vsnprintf(
951 __s: *mut ::std::os::raw::c_char,
952 __maxlen: ::std::os::raw::c_ulong,
953 __format: *const ::std::os::raw::c_char,
954 __arg: *mut __va_list_tag,
955 ) -> ::std::os::raw::c_int;
956}
957extern "C" {
958 pub fn vdprintf(
959 __fd: ::std::os::raw::c_int,
960 __fmt: *const ::std::os::raw::c_char,
961 __arg: *mut __va_list_tag,
962 ) -> ::std::os::raw::c_int;
963}
964extern "C" {
965 pub fn dprintf(
966 __fd: ::std::os::raw::c_int,
967 __fmt: *const ::std::os::raw::c_char,
968 ...
969 ) -> ::std::os::raw::c_int;
970}
971extern "C" {
972 pub fn fscanf(
973 __stream: *mut FILE,
974 __format: *const ::std::os::raw::c_char,
975 ...
976 ) -> ::std::os::raw::c_int;
977}
978extern "C" {
979 pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
980}
981extern "C" {
982 pub fn sscanf(
983 __s: *const ::std::os::raw::c_char,
984 __format: *const ::std::os::raw::c_char,
985 ...
986 ) -> ::std::os::raw::c_int;
987}
988extern "C" {
989 #[link_name = "\u{1}__isoc99_fscanf"]
990 pub fn fscanf1(
991 __stream: *mut FILE,
992 __format: *const ::std::os::raw::c_char,
993 ...
994 ) -> ::std::os::raw::c_int;
995}
996extern "C" {
997 #[link_name = "\u{1}__isoc99_scanf"]
998 pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
999}
1000extern "C" {
1001 #[link_name = "\u{1}__isoc99_sscanf"]
1002 pub fn sscanf1(
1003 __s: *const ::std::os::raw::c_char,
1004 __format: *const ::std::os::raw::c_char,
1005 ...
1006 ) -> ::std::os::raw::c_int;
1007}
1008extern "C" {
1009 pub fn vfscanf(
1010 __s: *mut FILE,
1011 __format: *const ::std::os::raw::c_char,
1012 __arg: *mut __va_list_tag,
1013 ) -> ::std::os::raw::c_int;
1014}
1015extern "C" {
1016 pub fn vscanf(
1017 __format: *const ::std::os::raw::c_char,
1018 __arg: *mut __va_list_tag,
1019 ) -> ::std::os::raw::c_int;
1020}
1021extern "C" {
1022 pub fn vsscanf(
1023 __s: *const ::std::os::raw::c_char,
1024 __format: *const ::std::os::raw::c_char,
1025 __arg: *mut __va_list_tag,
1026 ) -> ::std::os::raw::c_int;
1027}
1028extern "C" {
1029 #[link_name = "\u{1}__isoc99_vfscanf"]
1030 pub fn vfscanf1(
1031 __s: *mut FILE,
1032 __format: *const ::std::os::raw::c_char,
1033 __arg: *mut __va_list_tag,
1034 ) -> ::std::os::raw::c_int;
1035}
1036extern "C" {
1037 #[link_name = "\u{1}__isoc99_vscanf"]
1038 pub fn vscanf1(
1039 __format: *const ::std::os::raw::c_char,
1040 __arg: *mut __va_list_tag,
1041 ) -> ::std::os::raw::c_int;
1042}
1043extern "C" {
1044 #[link_name = "\u{1}__isoc99_vsscanf"]
1045 pub fn vsscanf1(
1046 __s: *const ::std::os::raw::c_char,
1047 __format: *const ::std::os::raw::c_char,
1048 __arg: *mut __va_list_tag,
1049 ) -> ::std::os::raw::c_int;
1050}
1051extern "C" {
1052 pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int;
1053}
1054extern "C" {
1055 pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int;
1056}
1057extern "C" {
1058 pub fn getchar() -> ::std::os::raw::c_int;
1059}
1060extern "C" {
1061 pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1062}
1063extern "C" {
1064 pub fn getchar_unlocked() -> ::std::os::raw::c_int;
1065}
1066extern "C" {
1067 pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1068}
1069extern "C" {
1070 pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1071}
1072extern "C" {
1073 pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1074}
1075extern "C" {
1076 pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1077}
1078extern "C" {
1079 pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE)
1080 -> ::std::os::raw::c_int;
1081}
1082extern "C" {
1083 pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1084}
1085extern "C" {
1086 pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1087}
1088extern "C" {
1089 pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int;
1090}
1091extern "C" {
1092 pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1093}
1094extern "C" {
1095 pub fn fgets(
1096 __s: *mut ::std::os::raw::c_char,
1097 __n: ::std::os::raw::c_int,
1098 __stream: *mut FILE,
1099 ) -> *mut ::std::os::raw::c_char;
1100}
1101extern "C" {
1102 pub fn __getdelim(
1103 __lineptr: *mut *mut ::std::os::raw::c_char,
1104 __n: *mut size_t,
1105 __delimiter: ::std::os::raw::c_int,
1106 __stream: *mut FILE,
1107 ) -> __ssize_t;
1108}
1109extern "C" {
1110 pub fn getdelim(
1111 __lineptr: *mut *mut ::std::os::raw::c_char,
1112 __n: *mut size_t,
1113 __delimiter: ::std::os::raw::c_int,
1114 __stream: *mut FILE,
1115 ) -> __ssize_t;
1116}
1117extern "C" {
1118 pub fn getline(
1119 __lineptr: *mut *mut ::std::os::raw::c_char,
1120 __n: *mut size_t,
1121 __stream: *mut FILE,
1122 ) -> __ssize_t;
1123}
1124extern "C" {
1125 pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int;
1126}
1127extern "C" {
1128 pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1129}
1130extern "C" {
1131 pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1132}
1133extern "C" {
1134 pub fn fread(
1135 __ptr: *mut ::std::os::raw::c_void,
1136 __size: ::std::os::raw::c_ulong,
1137 __n: ::std::os::raw::c_ulong,
1138 __stream: *mut FILE,
1139 ) -> ::std::os::raw::c_ulong;
1140}
1141extern "C" {
1142 pub fn fwrite(
1143 __ptr: *const ::std::os::raw::c_void,
1144 __size: ::std::os::raw::c_ulong,
1145 __n: ::std::os::raw::c_ulong,
1146 __s: *mut FILE,
1147 ) -> ::std::os::raw::c_ulong;
1148}
1149extern "C" {
1150 pub fn fread_unlocked(
1151 __ptr: *mut ::std::os::raw::c_void,
1152 __size: size_t,
1153 __n: size_t,
1154 __stream: *mut FILE,
1155 ) -> size_t;
1156}
1157extern "C" {
1158 pub fn fwrite_unlocked(
1159 __ptr: *const ::std::os::raw::c_void,
1160 __size: size_t,
1161 __n: size_t,
1162 __stream: *mut FILE,
1163 ) -> size_t;
1164}
1165extern "C" {
1166 pub fn fseek(
1167 __stream: *mut FILE,
1168 __off: ::std::os::raw::c_long,
1169 __whence: ::std::os::raw::c_int,
1170 ) -> ::std::os::raw::c_int;
1171}
1172extern "C" {
1173 pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long;
1174}
1175extern "C" {
1176 pub fn rewind(__stream: *mut FILE);
1177}
1178extern "C" {
1179 pub fn fseeko(
1180 __stream: *mut FILE,
1181 __off: __off_t,
1182 __whence: ::std::os::raw::c_int,
1183 ) -> ::std::os::raw::c_int;
1184}
1185extern "C" {
1186 pub fn ftello(__stream: *mut FILE) -> __off_t;
1187}
1188extern "C" {
1189 pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int;
1190}
1191extern "C" {
1192 pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int;
1193}
1194extern "C" {
1195 pub fn clearerr(__stream: *mut FILE);
1196}
1197extern "C" {
1198 pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int;
1199}
1200extern "C" {
1201 pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int;
1202}
1203extern "C" {
1204 pub fn clearerr_unlocked(__stream: *mut FILE);
1205}
1206extern "C" {
1207 pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1208}
1209extern "C" {
1210 pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1211}
1212extern "C" {
1213 pub fn perror(__s: *const ::std::os::raw::c_char);
1214}
1215extern "C" {
1216 pub static mut sys_nerr: ::std::os::raw::c_int;
1217}
1218extern "C" {
1219 pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize];
1220}
1221extern "C" {
1222 pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int;
1223}
1224extern "C" {
1225 pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1226}
1227extern "C" {
1228 pub fn popen(
1229 __command: *const ::std::os::raw::c_char,
1230 __modes: *const ::std::os::raw::c_char,
1231 ) -> *mut FILE;
1232}
1233extern "C" {
1234 pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
1235}
1236extern "C" {
1237 pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
1238}
1239extern "C" {
1240 pub fn flockfile(__stream: *mut FILE);
1241}
1242extern "C" {
1243 pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int;
1244}
1245extern "C" {
1246 pub fn funlockfile(__stream: *mut FILE);
1247}
1248extern "C" {
1249 pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int;
1250}
1251extern "C" {
1252 pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1253}
1254pub type wchar_t = ::std::os::raw::c_int;
1255#[repr(C)]
1256#[repr(align(16))]
1257#[derive(Debug, Copy, Clone)]
1258pub struct max_align_t {
1259 pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
1260 pub __bindgen_padding_0: u64,
1261 pub __clang_max_align_nonce2: u128,
1262}
1263#[test]
1264fn bindgen_test_layout_max_align_t() {
1265 assert_eq!(
1266 ::std::mem::size_of::<max_align_t>(),
1267 32usize,
1268 concat!("Size of: ", stringify!(max_align_t))
1269 );
1270 assert_eq!(
1271 ::std::mem::align_of::<max_align_t>(),
1272 16usize,
1273 concat!("Alignment of ", stringify!(max_align_t))
1274 );
1275 assert_eq!(
1276 unsafe {
1277 &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce1 as *const _ as usize
1278 },
1279 0usize,
1280 concat!(
1281 "Offset of field: ",
1282 stringify!(max_align_t),
1283 "::",
1284 stringify!(__clang_max_align_nonce1)
1285 )
1286 );
1287 assert_eq!(
1288 unsafe {
1289 &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce2 as *const _ as usize
1290 },
1291 16usize,
1292 concat!(
1293 "Offset of field: ",
1294 stringify!(max_align_t),
1295 "::",
1296 stringify!(__clang_max_align_nonce2)
1297 )
1298 );
1299}
1300pub type gid_t = __gid_t;
1301pub type uid_t = __uid_t;
1302pub type useconds_t = __useconds_t;
1303pub type pid_t = __pid_t;
1304pub type socklen_t = __socklen_t;
1305extern "C" {
1306 pub fn access(
1307 __name: *const ::std::os::raw::c_char,
1308 __type: ::std::os::raw::c_int,
1309 ) -> ::std::os::raw::c_int;
1310}
1311extern "C" {
1312 pub fn faccessat(
1313 __fd: ::std::os::raw::c_int,
1314 __file: *const ::std::os::raw::c_char,
1315 __type: ::std::os::raw::c_int,
1316 __flag: ::std::os::raw::c_int,
1317 ) -> ::std::os::raw::c_int;
1318}
1319extern "C" {
1320 pub fn lseek(
1321 __fd: ::std::os::raw::c_int,
1322 __offset: __off_t,
1323 __whence: ::std::os::raw::c_int,
1324 ) -> __off_t;
1325}
1326extern "C" {
1327 pub fn close(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1328}
1329extern "C" {
1330 pub fn read(
1331 __fd: ::std::os::raw::c_int,
1332 __buf: *mut ::std::os::raw::c_void,
1333 __nbytes: size_t,
1334 ) -> ssize_t;
1335}
1336extern "C" {
1337 pub fn write(
1338 __fd: ::std::os::raw::c_int,
1339 __buf: *const ::std::os::raw::c_void,
1340 __n: size_t,
1341 ) -> ssize_t;
1342}
1343extern "C" {
1344 pub fn pread(
1345 __fd: ::std::os::raw::c_int,
1346 __buf: *mut ::std::os::raw::c_void,
1347 __nbytes: size_t,
1348 __offset: __off_t,
1349 ) -> ssize_t;
1350}
1351extern "C" {
1352 pub fn pwrite(
1353 __fd: ::std::os::raw::c_int,
1354 __buf: *const ::std::os::raw::c_void,
1355 __n: size_t,
1356 __offset: __off_t,
1357 ) -> ssize_t;
1358}
1359extern "C" {
1360 pub fn pipe(__pipedes: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1361}
1362extern "C" {
1363 pub fn alarm(__seconds: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint;
1364}
1365extern "C" {
1366 pub fn sleep(__seconds: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint;
1367}
1368extern "C" {
1369 pub fn ualarm(__value: __useconds_t, __interval: __useconds_t) -> __useconds_t;
1370}
1371extern "C" {
1372 pub fn usleep(__useconds: __useconds_t) -> ::std::os::raw::c_int;
1373}
1374extern "C" {
1375 pub fn pause() -> ::std::os::raw::c_int;
1376}
1377extern "C" {
1378 pub fn chown(
1379 __file: *const ::std::os::raw::c_char,
1380 __owner: __uid_t,
1381 __group: __gid_t,
1382 ) -> ::std::os::raw::c_int;
1383}
1384extern "C" {
1385 pub fn fchown(
1386 __fd: ::std::os::raw::c_int,
1387 __owner: __uid_t,
1388 __group: __gid_t,
1389 ) -> ::std::os::raw::c_int;
1390}
1391extern "C" {
1392 pub fn lchown(
1393 __file: *const ::std::os::raw::c_char,
1394 __owner: __uid_t,
1395 __group: __gid_t,
1396 ) -> ::std::os::raw::c_int;
1397}
1398extern "C" {
1399 pub fn fchownat(
1400 __fd: ::std::os::raw::c_int,
1401 __file: *const ::std::os::raw::c_char,
1402 __owner: __uid_t,
1403 __group: __gid_t,
1404 __flag: ::std::os::raw::c_int,
1405 ) -> ::std::os::raw::c_int;
1406}
1407extern "C" {
1408 pub fn chdir(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1409}
1410extern "C" {
1411 pub fn fchdir(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1412}
1413extern "C" {
1414 pub fn getcwd(
1415 __buf: *mut ::std::os::raw::c_char,
1416 __size: size_t,
1417 ) -> *mut ::std::os::raw::c_char;
1418}
1419extern "C" {
1420 pub fn getwd(__buf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
1421}
1422extern "C" {
1423 pub fn dup(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1424}
1425extern "C" {
1426 pub fn dup2(__fd: ::std::os::raw::c_int, __fd2: ::std::os::raw::c_int)
1427 -> ::std::os::raw::c_int;
1428}
1429extern "C" {
1430 pub static mut __environ: *mut *mut ::std::os::raw::c_char;
1431}
1432extern "C" {
1433 pub fn execve(
1434 __path: *const ::std::os::raw::c_char,
1435 __argv: *const *mut ::std::os::raw::c_char,
1436 __envp: *const *mut ::std::os::raw::c_char,
1437 ) -> ::std::os::raw::c_int;
1438}
1439extern "C" {
1440 pub fn fexecve(
1441 __fd: ::std::os::raw::c_int,
1442 __argv: *const *mut ::std::os::raw::c_char,
1443 __envp: *const *mut ::std::os::raw::c_char,
1444 ) -> ::std::os::raw::c_int;
1445}
1446extern "C" {
1447 pub fn execv(
1448 __path: *const ::std::os::raw::c_char,
1449 __argv: *const *mut ::std::os::raw::c_char,
1450 ) -> ::std::os::raw::c_int;
1451}
1452extern "C" {
1453 pub fn execle(
1454 __path: *const ::std::os::raw::c_char,
1455 __arg: *const ::std::os::raw::c_char,
1456 ...
1457 ) -> ::std::os::raw::c_int;
1458}
1459extern "C" {
1460 pub fn execl(
1461 __path: *const ::std::os::raw::c_char,
1462 __arg: *const ::std::os::raw::c_char,
1463 ...
1464 ) -> ::std::os::raw::c_int;
1465}
1466extern "C" {
1467 pub fn execvp(
1468 __file: *const ::std::os::raw::c_char,
1469 __argv: *const *mut ::std::os::raw::c_char,
1470 ) -> ::std::os::raw::c_int;
1471}
1472extern "C" {
1473 pub fn execlp(
1474 __file: *const ::std::os::raw::c_char,
1475 __arg: *const ::std::os::raw::c_char,
1476 ...
1477 ) -> ::std::os::raw::c_int;
1478}
1479extern "C" {
1480 pub fn nice(__inc: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1481}
1482extern "C" {
1483 pub fn _exit(__status: ::std::os::raw::c_int);
1484}
1485pub const _PC_LINK_MAX: ::std::os::raw::c_uint = 0;
1486pub const _PC_MAX_CANON: ::std::os::raw::c_uint = 1;
1487pub const _PC_MAX_INPUT: ::std::os::raw::c_uint = 2;
1488pub const _PC_NAME_MAX: ::std::os::raw::c_uint = 3;
1489pub const _PC_PATH_MAX: ::std::os::raw::c_uint = 4;
1490pub const _PC_PIPE_BUF: ::std::os::raw::c_uint = 5;
1491pub const _PC_CHOWN_RESTRICTED: ::std::os::raw::c_uint = 6;
1492pub const _PC_NO_TRUNC: ::std::os::raw::c_uint = 7;
1493pub const _PC_VDISABLE: ::std::os::raw::c_uint = 8;
1494pub const _PC_SYNC_IO: ::std::os::raw::c_uint = 9;
1495pub const _PC_ASYNC_IO: ::std::os::raw::c_uint = 10;
1496pub const _PC_PRIO_IO: ::std::os::raw::c_uint = 11;
1497pub const _PC_SOCK_MAXBUF: ::std::os::raw::c_uint = 12;
1498pub const _PC_FILESIZEBITS: ::std::os::raw::c_uint = 13;
1499pub const _PC_REC_INCR_XFER_SIZE: ::std::os::raw::c_uint = 14;
1500pub const _PC_REC_MAX_XFER_SIZE: ::std::os::raw::c_uint = 15;
1501pub const _PC_REC_MIN_XFER_SIZE: ::std::os::raw::c_uint = 16;
1502pub const _PC_REC_XFER_ALIGN: ::std::os::raw::c_uint = 17;
1503pub const _PC_ALLOC_SIZE_MIN: ::std::os::raw::c_uint = 18;
1504pub const _PC_SYMLINK_MAX: ::std::os::raw::c_uint = 19;
1505pub const _PC_2_SYMLINKS: ::std::os::raw::c_uint = 20;
1506pub type _bindgen_ty_1 = ::std::os::raw::c_uint;
1507pub const _SC_ARG_MAX: ::std::os::raw::c_uint = 0;
1508pub const _SC_CHILD_MAX: ::std::os::raw::c_uint = 1;
1509pub const _SC_CLK_TCK: ::std::os::raw::c_uint = 2;
1510pub const _SC_NGROUPS_MAX: ::std::os::raw::c_uint = 3;
1511pub const _SC_OPEN_MAX: ::std::os::raw::c_uint = 4;
1512pub const _SC_STREAM_MAX: ::std::os::raw::c_uint = 5;
1513pub const _SC_TZNAME_MAX: ::std::os::raw::c_uint = 6;
1514pub const _SC_JOB_CONTROL: ::std::os::raw::c_uint = 7;
1515pub const _SC_SAVED_IDS: ::std::os::raw::c_uint = 8;
1516pub const _SC_REALTIME_SIGNALS: ::std::os::raw::c_uint = 9;
1517pub const _SC_PRIORITY_SCHEDULING: ::std::os::raw::c_uint = 10;
1518pub const _SC_TIMERS: ::std::os::raw::c_uint = 11;
1519pub const _SC_ASYNCHRONOUS_IO: ::std::os::raw::c_uint = 12;
1520pub const _SC_PRIORITIZED_IO: ::std::os::raw::c_uint = 13;
1521pub const _SC_SYNCHRONIZED_IO: ::std::os::raw::c_uint = 14;
1522pub const _SC_FSYNC: ::std::os::raw::c_uint = 15;
1523pub const _SC_MAPPED_FILES: ::std::os::raw::c_uint = 16;
1524pub const _SC_MEMLOCK: ::std::os::raw::c_uint = 17;
1525pub const _SC_MEMLOCK_RANGE: ::std::os::raw::c_uint = 18;
1526pub const _SC_MEMORY_PROTECTION: ::std::os::raw::c_uint = 19;
1527pub const _SC_MESSAGE_PASSING: ::std::os::raw::c_uint = 20;
1528pub const _SC_SEMAPHORES: ::std::os::raw::c_uint = 21;
1529pub const _SC_SHARED_MEMORY_OBJECTS: ::std::os::raw::c_uint = 22;
1530pub const _SC_AIO_LISTIO_MAX: ::std::os::raw::c_uint = 23;
1531pub const _SC_AIO_MAX: ::std::os::raw::c_uint = 24;
1532pub const _SC_AIO_PRIO_DELTA_MAX: ::std::os::raw::c_uint = 25;
1533pub const _SC_DELAYTIMER_MAX: ::std::os::raw::c_uint = 26;
1534pub const _SC_MQ_OPEN_MAX: ::std::os::raw::c_uint = 27;
1535pub const _SC_MQ_PRIO_MAX: ::std::os::raw::c_uint = 28;
1536pub const _SC_VERSION: ::std::os::raw::c_uint = 29;
1537pub const _SC_PAGESIZE: ::std::os::raw::c_uint = 30;
1538pub const _SC_RTSIG_MAX: ::std::os::raw::c_uint = 31;
1539pub const _SC_SEM_NSEMS_MAX: ::std::os::raw::c_uint = 32;
1540pub const _SC_SEM_VALUE_MAX: ::std::os::raw::c_uint = 33;
1541pub const _SC_SIGQUEUE_MAX: ::std::os::raw::c_uint = 34;
1542pub const _SC_TIMER_MAX: ::std::os::raw::c_uint = 35;
1543pub const _SC_BC_BASE_MAX: ::std::os::raw::c_uint = 36;
1544pub const _SC_BC_DIM_MAX: ::std::os::raw::c_uint = 37;
1545pub const _SC_BC_SCALE_MAX: ::std::os::raw::c_uint = 38;
1546pub const _SC_BC_STRING_MAX: ::std::os::raw::c_uint = 39;
1547pub const _SC_COLL_WEIGHTS_MAX: ::std::os::raw::c_uint = 40;
1548pub const _SC_EQUIV_CLASS_MAX: ::std::os::raw::c_uint = 41;
1549pub const _SC_EXPR_NEST_MAX: ::std::os::raw::c_uint = 42;
1550pub const _SC_LINE_MAX: ::std::os::raw::c_uint = 43;
1551pub const _SC_RE_DUP_MAX: ::std::os::raw::c_uint = 44;
1552pub const _SC_CHARCLASS_NAME_MAX: ::std::os::raw::c_uint = 45;
1553pub const _SC_2_VERSION: ::std::os::raw::c_uint = 46;
1554pub const _SC_2_C_BIND: ::std::os::raw::c_uint = 47;
1555pub const _SC_2_C_DEV: ::std::os::raw::c_uint = 48;
1556pub const _SC_2_FORT_DEV: ::std::os::raw::c_uint = 49;
1557pub const _SC_2_FORT_RUN: ::std::os::raw::c_uint = 50;
1558pub const _SC_2_SW_DEV: ::std::os::raw::c_uint = 51;
1559pub const _SC_2_LOCALEDEF: ::std::os::raw::c_uint = 52;
1560pub const _SC_PII: ::std::os::raw::c_uint = 53;
1561pub const _SC_PII_XTI: ::std::os::raw::c_uint = 54;
1562pub const _SC_PII_SOCKET: ::std::os::raw::c_uint = 55;
1563pub const _SC_PII_INTERNET: ::std::os::raw::c_uint = 56;
1564pub const _SC_PII_OSI: ::std::os::raw::c_uint = 57;
1565pub const _SC_POLL: ::std::os::raw::c_uint = 58;
1566pub const _SC_SELECT: ::std::os::raw::c_uint = 59;
1567pub const _SC_UIO_MAXIOV: ::std::os::raw::c_uint = 60;
1568pub const _SC_IOV_MAX: ::std::os::raw::c_uint = 60;
1569pub const _SC_PII_INTERNET_STREAM: ::std::os::raw::c_uint = 61;
1570pub const _SC_PII_INTERNET_DGRAM: ::std::os::raw::c_uint = 62;
1571pub const _SC_PII_OSI_COTS: ::std::os::raw::c_uint = 63;
1572pub const _SC_PII_OSI_CLTS: ::std::os::raw::c_uint = 64;
1573pub const _SC_PII_OSI_M: ::std::os::raw::c_uint = 65;
1574pub const _SC_T_IOV_MAX: ::std::os::raw::c_uint = 66;
1575pub const _SC_THREADS: ::std::os::raw::c_uint = 67;
1576pub const _SC_THREAD_SAFE_FUNCTIONS: ::std::os::raw::c_uint = 68;
1577pub const _SC_GETGR_R_SIZE_MAX: ::std::os::raw::c_uint = 69;
1578pub const _SC_GETPW_R_SIZE_MAX: ::std::os::raw::c_uint = 70;
1579pub const _SC_LOGIN_NAME_MAX: ::std::os::raw::c_uint = 71;
1580pub const _SC_TTY_NAME_MAX: ::std::os::raw::c_uint = 72;
1581pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: ::std::os::raw::c_uint = 73;
1582pub const _SC_THREAD_KEYS_MAX: ::std::os::raw::c_uint = 74;
1583pub const _SC_THREAD_STACK_MIN: ::std::os::raw::c_uint = 75;
1584pub const _SC_THREAD_THREADS_MAX: ::std::os::raw::c_uint = 76;
1585pub const _SC_THREAD_ATTR_STACKADDR: ::std::os::raw::c_uint = 77;
1586pub const _SC_THREAD_ATTR_STACKSIZE: ::std::os::raw::c_uint = 78;
1587pub const _SC_THREAD_PRIORITY_SCHEDULING: ::std::os::raw::c_uint = 79;
1588pub const _SC_THREAD_PRIO_INHERIT: ::std::os::raw::c_uint = 80;
1589pub const _SC_THREAD_PRIO_PROTECT: ::std::os::raw::c_uint = 81;
1590pub const _SC_THREAD_PROCESS_SHARED: ::std::os::raw::c_uint = 82;
1591pub const _SC_NPROCESSORS_CONF: ::std::os::raw::c_uint = 83;
1592pub const _SC_NPROCESSORS_ONLN: ::std::os::raw::c_uint = 84;
1593pub const _SC_PHYS_PAGES: ::std::os::raw::c_uint = 85;
1594pub const _SC_AVPHYS_PAGES: ::std::os::raw::c_uint = 86;
1595pub const _SC_ATEXIT_MAX: ::std::os::raw::c_uint = 87;
1596pub const _SC_PASS_MAX: ::std::os::raw::c_uint = 88;
1597pub const _SC_XOPEN_VERSION: ::std::os::raw::c_uint = 89;
1598pub const _SC_XOPEN_XCU_VERSION: ::std::os::raw::c_uint = 90;
1599pub const _SC_XOPEN_UNIX: ::std::os::raw::c_uint = 91;
1600pub const _SC_XOPEN_CRYPT: ::std::os::raw::c_uint = 92;
1601pub const _SC_XOPEN_ENH_I18N: ::std::os::raw::c_uint = 93;
1602pub const _SC_XOPEN_SHM: ::std::os::raw::c_uint = 94;
1603pub const _SC_2_CHAR_TERM: ::std::os::raw::c_uint = 95;
1604pub const _SC_2_C_VERSION: ::std::os::raw::c_uint = 96;
1605pub const _SC_2_UPE: ::std::os::raw::c_uint = 97;
1606pub const _SC_XOPEN_XPG2: ::std::os::raw::c_uint = 98;
1607pub const _SC_XOPEN_XPG3: ::std::os::raw::c_uint = 99;
1608pub const _SC_XOPEN_XPG4: ::std::os::raw::c_uint = 100;
1609pub const _SC_CHAR_BIT: ::std::os::raw::c_uint = 101;
1610pub const _SC_CHAR_MAX: ::std::os::raw::c_uint = 102;
1611pub const _SC_CHAR_MIN: ::std::os::raw::c_uint = 103;
1612pub const _SC_INT_MAX: ::std::os::raw::c_uint = 104;
1613pub const _SC_INT_MIN: ::std::os::raw::c_uint = 105;
1614pub const _SC_LONG_BIT: ::std::os::raw::c_uint = 106;
1615pub const _SC_WORD_BIT: ::std::os::raw::c_uint = 107;
1616pub const _SC_MB_LEN_MAX: ::std::os::raw::c_uint = 108;
1617pub const _SC_NZERO: ::std::os::raw::c_uint = 109;
1618pub const _SC_SSIZE_MAX: ::std::os::raw::c_uint = 110;
1619pub const _SC_SCHAR_MAX: ::std::os::raw::c_uint = 111;
1620pub const _SC_SCHAR_MIN: ::std::os::raw::c_uint = 112;
1621pub const _SC_SHRT_MAX: ::std::os::raw::c_uint = 113;
1622pub const _SC_SHRT_MIN: ::std::os::raw::c_uint = 114;
1623pub const _SC_UCHAR_MAX: ::std::os::raw::c_uint = 115;
1624pub const _SC_UINT_MAX: ::std::os::raw::c_uint = 116;
1625pub const _SC_ULONG_MAX: ::std::os::raw::c_uint = 117;
1626pub const _SC_USHRT_MAX: ::std::os::raw::c_uint = 118;
1627pub const _SC_NL_ARGMAX: ::std::os::raw::c_uint = 119;
1628pub const _SC_NL_LANGMAX: ::std::os::raw::c_uint = 120;
1629pub const _SC_NL_MSGMAX: ::std::os::raw::c_uint = 121;
1630pub const _SC_NL_NMAX: ::std::os::raw::c_uint = 122;
1631pub const _SC_NL_SETMAX: ::std::os::raw::c_uint = 123;
1632pub const _SC_NL_TEXTMAX: ::std::os::raw::c_uint = 124;
1633pub const _SC_XBS5_ILP32_OFF32: ::std::os::raw::c_uint = 125;
1634pub const _SC_XBS5_ILP32_OFFBIG: ::std::os::raw::c_uint = 126;
1635pub const _SC_XBS5_LP64_OFF64: ::std::os::raw::c_uint = 127;
1636pub const _SC_XBS5_LPBIG_OFFBIG: ::std::os::raw::c_uint = 128;
1637pub const _SC_XOPEN_LEGACY: ::std::os::raw::c_uint = 129;
1638pub const _SC_XOPEN_REALTIME: ::std::os::raw::c_uint = 130;
1639pub const _SC_XOPEN_REALTIME_THREADS: ::std::os::raw::c_uint = 131;
1640pub const _SC_ADVISORY_INFO: ::std::os::raw::c_uint = 132;
1641pub const _SC_BARRIERS: ::std::os::raw::c_uint = 133;
1642pub const _SC_BASE: ::std::os::raw::c_uint = 134;
1643pub const _SC_C_LANG_SUPPORT: ::std::os::raw::c_uint = 135;
1644pub const _SC_C_LANG_SUPPORT_R: ::std::os::raw::c_uint = 136;
1645pub const _SC_CLOCK_SELECTION: ::std::os::raw::c_uint = 137;
1646pub const _SC_CPUTIME: ::std::os::raw::c_uint = 138;
1647pub const _SC_THREAD_CPUTIME: ::std::os::raw::c_uint = 139;
1648pub const _SC_DEVICE_IO: ::std::os::raw::c_uint = 140;
1649pub const _SC_DEVICE_SPECIFIC: ::std::os::raw::c_uint = 141;
1650pub const _SC_DEVICE_SPECIFIC_R: ::std::os::raw::c_uint = 142;
1651pub const _SC_FD_MGMT: ::std::os::raw::c_uint = 143;
1652pub const _SC_FIFO: ::std::os::raw::c_uint = 144;
1653pub const _SC_PIPE: ::std::os::raw::c_uint = 145;
1654pub const _SC_FILE_ATTRIBUTES: ::std::os::raw::c_uint = 146;
1655pub const _SC_FILE_LOCKING: ::std::os::raw::c_uint = 147;
1656pub const _SC_FILE_SYSTEM: ::std::os::raw::c_uint = 148;
1657pub const _SC_MONOTONIC_CLOCK: ::std::os::raw::c_uint = 149;
1658pub const _SC_MULTI_PROCESS: ::std::os::raw::c_uint = 150;
1659pub const _SC_SINGLE_PROCESS: ::std::os::raw::c_uint = 151;
1660pub const _SC_NETWORKING: ::std::os::raw::c_uint = 152;
1661pub const _SC_READER_WRITER_LOCKS: ::std::os::raw::c_uint = 153;
1662pub const _SC_SPIN_LOCKS: ::std::os::raw::c_uint = 154;
1663pub const _SC_REGEXP: ::std::os::raw::c_uint = 155;
1664pub const _SC_REGEX_VERSION: ::std::os::raw::c_uint = 156;
1665pub const _SC_SHELL: ::std::os::raw::c_uint = 157;
1666pub const _SC_SIGNALS: ::std::os::raw::c_uint = 158;
1667pub const _SC_SPAWN: ::std::os::raw::c_uint = 159;
1668pub const _SC_SPORADIC_SERVER: ::std::os::raw::c_uint = 160;
1669pub const _SC_THREAD_SPORADIC_SERVER: ::std::os::raw::c_uint = 161;
1670pub const _SC_SYSTEM_DATABASE: ::std::os::raw::c_uint = 162;
1671pub const _SC_SYSTEM_DATABASE_R: ::std::os::raw::c_uint = 163;
1672pub const _SC_TIMEOUTS: ::std::os::raw::c_uint = 164;
1673pub const _SC_TYPED_MEMORY_OBJECTS: ::std::os::raw::c_uint = 165;
1674pub const _SC_USER_GROUPS: ::std::os::raw::c_uint = 166;
1675pub const _SC_USER_GROUPS_R: ::std::os::raw::c_uint = 167;
1676pub const _SC_2_PBS: ::std::os::raw::c_uint = 168;
1677pub const _SC_2_PBS_ACCOUNTING: ::std::os::raw::c_uint = 169;
1678pub const _SC_2_PBS_LOCATE: ::std::os::raw::c_uint = 170;
1679pub const _SC_2_PBS_MESSAGE: ::std::os::raw::c_uint = 171;
1680pub const _SC_2_PBS_TRACK: ::std::os::raw::c_uint = 172;
1681pub const _SC_SYMLOOP_MAX: ::std::os::raw::c_uint = 173;
1682pub const _SC_STREAMS: ::std::os::raw::c_uint = 174;
1683pub const _SC_2_PBS_CHECKPOINT: ::std::os::raw::c_uint = 175;
1684pub const _SC_V6_ILP32_OFF32: ::std::os::raw::c_uint = 176;
1685pub const _SC_V6_ILP32_OFFBIG: ::std::os::raw::c_uint = 177;
1686pub const _SC_V6_LP64_OFF64: ::std::os::raw::c_uint = 178;
1687pub const _SC_V6_LPBIG_OFFBIG: ::std::os::raw::c_uint = 179;
1688pub const _SC_HOST_NAME_MAX: ::std::os::raw::c_uint = 180;
1689pub const _SC_TRACE: ::std::os::raw::c_uint = 181;
1690pub const _SC_TRACE_EVENT_FILTER: ::std::os::raw::c_uint = 182;
1691pub const _SC_TRACE_INHERIT: ::std::os::raw::c_uint = 183;
1692pub const _SC_TRACE_LOG: ::std::os::raw::c_uint = 184;
1693pub const _SC_LEVEL1_ICACHE_SIZE: ::std::os::raw::c_uint = 185;
1694pub const _SC_LEVEL1_ICACHE_ASSOC: ::std::os::raw::c_uint = 186;
1695pub const _SC_LEVEL1_ICACHE_LINESIZE: ::std::os::raw::c_uint = 187;
1696pub const _SC_LEVEL1_DCACHE_SIZE: ::std::os::raw::c_uint = 188;
1697pub const _SC_LEVEL1_DCACHE_ASSOC: ::std::os::raw::c_uint = 189;
1698pub const _SC_LEVEL1_DCACHE_LINESIZE: ::std::os::raw::c_uint = 190;
1699pub const _SC_LEVEL2_CACHE_SIZE: ::std::os::raw::c_uint = 191;
1700pub const _SC_LEVEL2_CACHE_ASSOC: ::std::os::raw::c_uint = 192;
1701pub const _SC_LEVEL2_CACHE_LINESIZE: ::std::os::raw::c_uint = 193;
1702pub const _SC_LEVEL3_CACHE_SIZE: ::std::os::raw::c_uint = 194;
1703pub const _SC_LEVEL3_CACHE_ASSOC: ::std::os::raw::c_uint = 195;
1704pub const _SC_LEVEL3_CACHE_LINESIZE: ::std::os::raw::c_uint = 196;
1705pub const _SC_LEVEL4_CACHE_SIZE: ::std::os::raw::c_uint = 197;
1706pub const _SC_LEVEL4_CACHE_ASSOC: ::std::os::raw::c_uint = 198;
1707pub const _SC_LEVEL4_CACHE_LINESIZE: ::std::os::raw::c_uint = 199;
1708pub const _SC_IPV6: ::std::os::raw::c_uint = 235;
1709pub const _SC_RAW_SOCKETS: ::std::os::raw::c_uint = 236;
1710pub const _SC_V7_ILP32_OFF32: ::std::os::raw::c_uint = 237;
1711pub const _SC_V7_ILP32_OFFBIG: ::std::os::raw::c_uint = 238;
1712pub const _SC_V7_LP64_OFF64: ::std::os::raw::c_uint = 239;
1713pub const _SC_V7_LPBIG_OFFBIG: ::std::os::raw::c_uint = 240;
1714pub const _SC_SS_REPL_MAX: ::std::os::raw::c_uint = 241;
1715pub const _SC_TRACE_EVENT_NAME_MAX: ::std::os::raw::c_uint = 242;
1716pub const _SC_TRACE_NAME_MAX: ::std::os::raw::c_uint = 243;
1717pub const _SC_TRACE_SYS_MAX: ::std::os::raw::c_uint = 244;
1718pub const _SC_TRACE_USER_EVENT_MAX: ::std::os::raw::c_uint = 245;
1719pub const _SC_XOPEN_STREAMS: ::std::os::raw::c_uint = 246;
1720pub const _SC_THREAD_ROBUST_PRIO_INHERIT: ::std::os::raw::c_uint = 247;
1721pub const _SC_THREAD_ROBUST_PRIO_PROTECT: ::std::os::raw::c_uint = 248;
1722pub type _bindgen_ty_2 = ::std::os::raw::c_uint;
1723pub const _CS_PATH: ::std::os::raw::c_uint = 0;
1724pub const _CS_V6_WIDTH_RESTRICTED_ENVS: ::std::os::raw::c_uint = 1;
1725pub const _CS_GNU_LIBC_VERSION: ::std::os::raw::c_uint = 2;
1726pub const _CS_GNU_LIBPTHREAD_VERSION: ::std::os::raw::c_uint = 3;
1727pub const _CS_V5_WIDTH_RESTRICTED_ENVS: ::std::os::raw::c_uint = 4;
1728pub const _CS_V7_WIDTH_RESTRICTED_ENVS: ::std::os::raw::c_uint = 5;
1729pub const _CS_LFS_CFLAGS: ::std::os::raw::c_uint = 1000;
1730pub const _CS_LFS_LDFLAGS: ::std::os::raw::c_uint = 1001;
1731pub const _CS_LFS_LIBS: ::std::os::raw::c_uint = 1002;
1732pub const _CS_LFS_LINTFLAGS: ::std::os::raw::c_uint = 1003;
1733pub const _CS_LFS64_CFLAGS: ::std::os::raw::c_uint = 1004;
1734pub const _CS_LFS64_LDFLAGS: ::std::os::raw::c_uint = 1005;
1735pub const _CS_LFS64_LIBS: ::std::os::raw::c_uint = 1006;
1736pub const _CS_LFS64_LINTFLAGS: ::std::os::raw::c_uint = 1007;
1737pub const _CS_XBS5_ILP32_OFF32_CFLAGS: ::std::os::raw::c_uint = 1100;
1738pub const _CS_XBS5_ILP32_OFF32_LDFLAGS: ::std::os::raw::c_uint = 1101;
1739pub const _CS_XBS5_ILP32_OFF32_LIBS: ::std::os::raw::c_uint = 1102;
1740pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS: ::std::os::raw::c_uint = 1103;
1741pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS: ::std::os::raw::c_uint = 1104;
1742pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS: ::std::os::raw::c_uint = 1105;
1743pub const _CS_XBS5_ILP32_OFFBIG_LIBS: ::std::os::raw::c_uint = 1106;
1744pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS: ::std::os::raw::c_uint = 1107;
1745pub const _CS_XBS5_LP64_OFF64_CFLAGS: ::std::os::raw::c_uint = 1108;
1746pub const _CS_XBS5_LP64_OFF64_LDFLAGS: ::std::os::raw::c_uint = 1109;
1747pub const _CS_XBS5_LP64_OFF64_LIBS: ::std::os::raw::c_uint = 1110;
1748pub const _CS_XBS5_LP64_OFF64_LINTFLAGS: ::std::os::raw::c_uint = 1111;
1749pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS: ::std::os::raw::c_uint = 1112;
1750pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS: ::std::os::raw::c_uint = 1113;
1751pub const _CS_XBS5_LPBIG_OFFBIG_LIBS: ::std::os::raw::c_uint = 1114;
1752pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS: ::std::os::raw::c_uint = 1115;
1753pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS: ::std::os::raw::c_uint = 1116;
1754pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS: ::std::os::raw::c_uint = 1117;
1755pub const _CS_POSIX_V6_ILP32_OFF32_LIBS: ::std::os::raw::c_uint = 1118;
1756pub const _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS: ::std::os::raw::c_uint = 1119;
1757pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS: ::std::os::raw::c_uint = 1120;
1758pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS: ::std::os::raw::c_uint = 1121;
1759pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS: ::std::os::raw::c_uint = 1122;
1760pub const _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS: ::std::os::raw::c_uint = 1123;
1761pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS: ::std::os::raw::c_uint = 1124;
1762pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS: ::std::os::raw::c_uint = 1125;
1763pub const _CS_POSIX_V6_LP64_OFF64_LIBS: ::std::os::raw::c_uint = 1126;
1764pub const _CS_POSIX_V6_LP64_OFF64_LINTFLAGS: ::std::os::raw::c_uint = 1127;
1765pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS: ::std::os::raw::c_uint = 1128;
1766pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS: ::std::os::raw::c_uint = 1129;
1767pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS: ::std::os::raw::c_uint = 1130;
1768pub const _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS: ::std::os::raw::c_uint = 1131;
1769pub const _CS_POSIX_V7_ILP32_OFF32_CFLAGS: ::std::os::raw::c_uint = 1132;
1770pub const _CS_POSIX_V7_ILP32_OFF32_LDFLAGS: ::std::os::raw::c_uint = 1133;
1771pub const _CS_POSIX_V7_ILP32_OFF32_LIBS: ::std::os::raw::c_uint = 1134;
1772pub const _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS: ::std::os::raw::c_uint = 1135;
1773pub const _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS: ::std::os::raw::c_uint = 1136;
1774pub const _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS: ::std::os::raw::c_uint = 1137;
1775pub const _CS_POSIX_V7_ILP32_OFFBIG_LIBS: ::std::os::raw::c_uint = 1138;
1776pub const _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS: ::std::os::raw::c_uint = 1139;
1777pub const _CS_POSIX_V7_LP64_OFF64_CFLAGS: ::std::os::raw::c_uint = 1140;
1778pub const _CS_POSIX_V7_LP64_OFF64_LDFLAGS: ::std::os::raw::c_uint = 1141;
1779pub const _CS_POSIX_V7_LP64_OFF64_LIBS: ::std::os::raw::c_uint = 1142;
1780pub const _CS_POSIX_V7_LP64_OFF64_LINTFLAGS: ::std::os::raw::c_uint = 1143;
1781pub const _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS: ::std::os::raw::c_uint = 1144;
1782pub const _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS: ::std::os::raw::c_uint = 1145;
1783pub const _CS_POSIX_V7_LPBIG_OFFBIG_LIBS: ::std::os::raw::c_uint = 1146;
1784pub const _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS: ::std::os::raw::c_uint = 1147;
1785pub const _CS_V6_ENV: ::std::os::raw::c_uint = 1148;
1786pub const _CS_V7_ENV: ::std::os::raw::c_uint = 1149;
1787pub type _bindgen_ty_3 = ::std::os::raw::c_uint;
1788extern "C" {
1789 pub fn pathconf(
1790 __path: *const ::std::os::raw::c_char,
1791 __name: ::std::os::raw::c_int,
1792 ) -> ::std::os::raw::c_long;
1793}
1794extern "C" {
1795 pub fn fpathconf(
1796 __fd: ::std::os::raw::c_int,
1797 __name: ::std::os::raw::c_int,
1798 ) -> ::std::os::raw::c_long;
1799}
1800extern "C" {
1801 pub fn sysconf(__name: ::std::os::raw::c_int) -> ::std::os::raw::c_long;
1802}
1803extern "C" {
1804 pub fn confstr(
1805 __name: ::std::os::raw::c_int,
1806 __buf: *mut ::std::os::raw::c_char,
1807 __len: size_t,
1808 ) -> size_t;
1809}
1810extern "C" {
1811 pub fn getpid() -> __pid_t;
1812}
1813extern "C" {
1814 pub fn getppid() -> __pid_t;
1815}
1816extern "C" {
1817 pub fn getpgrp() -> __pid_t;
1818}
1819extern "C" {
1820 pub fn __getpgid(__pid: __pid_t) -> __pid_t;
1821}
1822extern "C" {
1823 pub fn getpgid(__pid: __pid_t) -> __pid_t;
1824}
1825extern "C" {
1826 pub fn setpgid(__pid: __pid_t, __pgid: __pid_t) -> ::std::os::raw::c_int;
1827}
1828extern "C" {
1829 pub fn setpgrp() -> ::std::os::raw::c_int;
1830}
1831extern "C" {
1832 pub fn setsid() -> __pid_t;
1833}
1834extern "C" {
1835 pub fn getsid(__pid: __pid_t) -> __pid_t;
1836}
1837extern "C" {
1838 pub fn getuid() -> __uid_t;
1839}
1840extern "C" {
1841 pub fn geteuid() -> __uid_t;
1842}
1843extern "C" {
1844 pub fn getgid() -> __gid_t;
1845}
1846extern "C" {
1847 pub fn getegid() -> __gid_t;
1848}
1849extern "C" {
1850 pub fn getgroups(__size: ::std::os::raw::c_int, __list: *mut __gid_t) -> ::std::os::raw::c_int;
1851}
1852extern "C" {
1853 pub fn setuid(__uid: __uid_t) -> ::std::os::raw::c_int;
1854}
1855extern "C" {
1856 pub fn setreuid(__ruid: __uid_t, __euid: __uid_t) -> ::std::os::raw::c_int;
1857}
1858extern "C" {
1859 pub fn seteuid(__uid: __uid_t) -> ::std::os::raw::c_int;
1860}
1861extern "C" {
1862 pub fn setgid(__gid: __gid_t) -> ::std::os::raw::c_int;
1863}
1864extern "C" {
1865 pub fn setregid(__rgid: __gid_t, __egid: __gid_t) -> ::std::os::raw::c_int;
1866}
1867extern "C" {
1868 pub fn setegid(__gid: __gid_t) -> ::std::os::raw::c_int;
1869}
1870extern "C" {
1871 pub fn fork() -> __pid_t;
1872}
1873extern "C" {
1874 pub fn vfork() -> ::std::os::raw::c_int;
1875}
1876extern "C" {
1877 pub fn ttyname(__fd: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
1878}
1879extern "C" {
1880 pub fn ttyname_r(
1881 __fd: ::std::os::raw::c_int,
1882 __buf: *mut ::std::os::raw::c_char,
1883 __buflen: size_t,
1884 ) -> ::std::os::raw::c_int;
1885}
1886extern "C" {
1887 pub fn isatty(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1888}
1889extern "C" {
1890 pub fn ttyslot() -> ::std::os::raw::c_int;
1891}
1892extern "C" {
1893 pub fn link(
1894 __from: *const ::std::os::raw::c_char,
1895 __to: *const ::std::os::raw::c_char,
1896 ) -> ::std::os::raw::c_int;
1897}
1898extern "C" {
1899 pub fn linkat(
1900 __fromfd: ::std::os::raw::c_int,
1901 __from: *const ::std::os::raw::c_char,
1902 __tofd: ::std::os::raw::c_int,
1903 __to: *const ::std::os::raw::c_char,
1904 __flags: ::std::os::raw::c_int,
1905 ) -> ::std::os::raw::c_int;
1906}
1907extern "C" {
1908 pub fn symlink(
1909 __from: *const ::std::os::raw::c_char,
1910 __to: *const ::std::os::raw::c_char,
1911 ) -> ::std::os::raw::c_int;
1912}
1913extern "C" {
1914 pub fn readlink(
1915 __path: *const ::std::os::raw::c_char,
1916 __buf: *mut ::std::os::raw::c_char,
1917 __len: size_t,
1918 ) -> ssize_t;
1919}
1920extern "C" {
1921 pub fn symlinkat(
1922 __from: *const ::std::os::raw::c_char,
1923 __tofd: ::std::os::raw::c_int,
1924 __to: *const ::std::os::raw::c_char,
1925 ) -> ::std::os::raw::c_int;
1926}
1927extern "C" {
1928 pub fn readlinkat(
1929 __fd: ::std::os::raw::c_int,
1930 __path: *const ::std::os::raw::c_char,
1931 __buf: *mut ::std::os::raw::c_char,
1932 __len: size_t,
1933 ) -> ssize_t;
1934}
1935extern "C" {
1936 pub fn unlink(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1937}
1938extern "C" {
1939 pub fn unlinkat(
1940 __fd: ::std::os::raw::c_int,
1941 __name: *const ::std::os::raw::c_char,
1942 __flag: ::std::os::raw::c_int,
1943 ) -> ::std::os::raw::c_int;
1944}
1945extern "C" {
1946 pub fn rmdir(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1947}
1948extern "C" {
1949 pub fn tcgetpgrp(__fd: ::std::os::raw::c_int) -> __pid_t;
1950}
1951extern "C" {
1952 pub fn tcsetpgrp(__fd: ::std::os::raw::c_int, __pgrp_id: __pid_t) -> ::std::os::raw::c_int;
1953}
1954extern "C" {
1955 pub fn getlogin() -> *mut ::std::os::raw::c_char;
1956}
1957extern "C" {
1958 pub fn getlogin_r(
1959 __name: *mut ::std::os::raw::c_char,
1960 __name_len: size_t,
1961 ) -> ::std::os::raw::c_int;
1962}
1963extern "C" {
1964 pub fn setlogin(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1965}
1966extern "C" {
1967 pub static mut optarg: *mut ::std::os::raw::c_char;
1968}
1969extern "C" {
1970 pub static mut optind: ::std::os::raw::c_int;
1971}
1972extern "C" {
1973 pub static mut opterr: ::std::os::raw::c_int;
1974}
1975extern "C" {
1976 pub static mut optopt: ::std::os::raw::c_int;
1977}
1978extern "C" {
1979 pub fn getopt(
1980 ___argc: ::std::os::raw::c_int,
1981 ___argv: *const *mut ::std::os::raw::c_char,
1982 __shortopts: *const ::std::os::raw::c_char,
1983 ) -> ::std::os::raw::c_int;
1984}
1985extern "C" {
1986 pub fn gethostname(__name: *mut ::std::os::raw::c_char, __len: size_t)
1987 -> ::std::os::raw::c_int;
1988}
1989extern "C" {
1990 pub fn sethostname(
1991 __name: *const ::std::os::raw::c_char,
1992 __len: size_t,
1993 ) -> ::std::os::raw::c_int;
1994}
1995extern "C" {
1996 pub fn sethostid(__id: ::std::os::raw::c_long) -> ::std::os::raw::c_int;
1997}
1998extern "C" {
1999 pub fn getdomainname(
2000 __name: *mut ::std::os::raw::c_char,
2001 __len: size_t,
2002 ) -> ::std::os::raw::c_int;
2003}
2004extern "C" {
2005 pub fn setdomainname(
2006 __name: *const ::std::os::raw::c_char,
2007 __len: size_t,
2008 ) -> ::std::os::raw::c_int;
2009}
2010extern "C" {
2011 pub fn vhangup() -> ::std::os::raw::c_int;
2012}
2013extern "C" {
2014 pub fn revoke(__file: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2015}
2016extern "C" {
2017 pub fn profil(
2018 __sample_buffer: *mut ::std::os::raw::c_ushort,
2019 __size: size_t,
2020 __offset: size_t,
2021 __scale: ::std::os::raw::c_uint,
2022 ) -> ::std::os::raw::c_int;
2023}
2024extern "C" {
2025 pub fn acct(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2026}
2027extern "C" {
2028 pub fn getusershell() -> *mut ::std::os::raw::c_char;
2029}
2030extern "C" {
2031 pub fn endusershell();
2032}
2033extern "C" {
2034 pub fn setusershell();
2035}
2036extern "C" {
2037 pub fn daemon(
2038 __nochdir: ::std::os::raw::c_int,
2039 __noclose: ::std::os::raw::c_int,
2040 ) -> ::std::os::raw::c_int;
2041}
2042extern "C" {
2043 pub fn chroot(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2044}
2045extern "C" {
2046 pub fn getpass(__prompt: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2047}
2048extern "C" {
2049 pub fn fsync(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2050}
2051extern "C" {
2052 pub fn gethostid() -> ::std::os::raw::c_long;
2053}
2054extern "C" {
2055 pub fn sync();
2056}
2057extern "C" {
2058 pub fn getpagesize() -> ::std::os::raw::c_int;
2059}
2060extern "C" {
2061 pub fn getdtablesize() -> ::std::os::raw::c_int;
2062}
2063extern "C" {
2064 pub fn truncate(
2065 __file: *const ::std::os::raw::c_char,
2066 __length: __off_t,
2067 ) -> ::std::os::raw::c_int;
2068}
2069extern "C" {
2070 pub fn ftruncate(__fd: ::std::os::raw::c_int, __length: __off_t) -> ::std::os::raw::c_int;
2071}
2072extern "C" {
2073 pub fn brk(__addr: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
2074}
2075extern "C" {
2076 pub fn sbrk(__delta: isize) -> *mut ::std::os::raw::c_void;
2077}
2078extern "C" {
2079 pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long;
2080}
2081extern "C" {
2082 pub fn lockf(
2083 __fd: ::std::os::raw::c_int,
2084 __cmd: ::std::os::raw::c_int,
2085 __len: __off_t,
2086 ) -> ::std::os::raw::c_int;
2087}
2088extern "C" {
2089 pub fn fdatasync(__fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2090}
2091extern "C" {
2092 pub fn crypt(
2093 __key: *const ::std::os::raw::c_char,
2094 __salt: *const ::std::os::raw::c_char,
2095 ) -> *mut ::std::os::raw::c_char;
2096}
2097extern "C" {
2098 pub fn getentropy(
2099 __buffer: *mut ::std::os::raw::c_void,
2100 __length: size_t,
2101 ) -> ::std::os::raw::c_int;
2102}
2103pub const GSASL_MIN_MECHANISM_SIZE: ::std::os::raw::c_uint = 1;
2104pub const GSASL_MAX_MECHANISM_SIZE: ::std::os::raw::c_uint = 20;
2105pub type _bindgen_ty_4 = ::std::os::raw::c_uint;
2106extern "C" {
2107 pub static mut GSASL_VALID_MECHANISM_CHARACTERS: *const ::std::os::raw::c_char;
2108}
2109impl Gsasl_rc {
2110 pub const GSASL_SHISHI_ERROR: Gsasl_rc = Gsasl_rc::GSASL_KERBEROS_V5_INTERNAL_ERROR;
2111}
2112#[repr(u32)]
2113#[non_exhaustive]
2114#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
2115pub enum Gsasl_rc {
2116 GSASL_OK = 0,
2117 GSASL_NEEDS_MORE = 1,
2118 GSASL_UNKNOWN_MECHANISM = 2,
2119 GSASL_MECHANISM_CALLED_TOO_MANY_TIMES = 3,
2120 GSASL_MALLOC_ERROR = 7,
2121 GSASL_BASE64_ERROR = 8,
2122 GSASL_CRYPTO_ERROR = 9,
2123 GSASL_SASLPREP_ERROR = 29,
2124 GSASL_MECHANISM_PARSE_ERROR = 30,
2125 GSASL_AUTHENTICATION_ERROR = 31,
2126 GSASL_INTEGRITY_ERROR = 33,
2127 GSASL_NO_CLIENT_CODE = 35,
2128 GSASL_NO_SERVER_CODE = 36,
2129 GSASL_NO_CALLBACK = 51,
2130 GSASL_NO_ANONYMOUS_TOKEN = 52,
2131 GSASL_NO_AUTHID = 53,
2132 GSASL_NO_AUTHZID = 54,
2133 GSASL_NO_PASSWORD = 55,
2134 GSASL_NO_PASSCODE = 56,
2135 GSASL_NO_PIN = 57,
2136 GSASL_NO_SERVICE = 58,
2137 GSASL_NO_HOSTNAME = 59,
2138 GSASL_NO_CB_TLS_UNIQUE = 65,
2139 GSASL_NO_SAML20_IDP_IDENTIFIER = 66,
2140 GSASL_NO_SAML20_REDIRECT_URL = 67,
2141 GSASL_NO_OPENID20_REDIRECT_URL = 68,
2142 GSASL_GSSAPI_RELEASE_BUFFER_ERROR = 37,
2143 GSASL_GSSAPI_IMPORT_NAME_ERROR = 38,
2144 GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR = 39,
2145 GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR = 40,
2146 GSASL_GSSAPI_UNWRAP_ERROR = 41,
2147 GSASL_GSSAPI_WRAP_ERROR = 42,
2148 GSASL_GSSAPI_ACQUIRE_CRED_ERROR = 43,
2149 GSASL_GSSAPI_DISPLAY_NAME_ERROR = 44,
2150 GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR = 45,
2151 GSASL_KERBEROS_V5_INIT_ERROR = 46,
2152 GSASL_KERBEROS_V5_INTERNAL_ERROR = 47,
2153 GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE = 48,
2154 GSASL_SECURID_SERVER_NEED_NEW_PIN = 49,
2155 GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR = 60,
2156 GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR = 61,
2157 GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR = 62,
2158 GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR = 63,
2159 GSASL_GSSAPI_RELEASE_OID_SET_ERROR = 64,
2160}
2161pub const Gsasl_qop_GSASL_QOP_AUTH: Gsasl_qop = 1;
2162pub const Gsasl_qop_GSASL_QOP_AUTH_INT: Gsasl_qop = 2;
2163pub const Gsasl_qop_GSASL_QOP_AUTH_CONF: Gsasl_qop = 4;
2164pub type Gsasl_qop = ::std::os::raw::c_uint;
2165pub const Gsasl_cipher_GSASL_CIPHER_DES: Gsasl_cipher = 1;
2166pub const Gsasl_cipher_GSASL_CIPHER_3DES: Gsasl_cipher = 2;
2167pub const Gsasl_cipher_GSASL_CIPHER_RC4: Gsasl_cipher = 4;
2168pub const Gsasl_cipher_GSASL_CIPHER_RC4_40: Gsasl_cipher = 8;
2169pub const Gsasl_cipher_GSASL_CIPHER_RC4_56: Gsasl_cipher = 16;
2170pub const Gsasl_cipher_GSASL_CIPHER_AES: Gsasl_cipher = 32;
2171pub type Gsasl_cipher = ::std::os::raw::c_uint;
2172pub const Gsasl_saslprep_flags_GSASL_ALLOW_UNASSIGNED: Gsasl_saslprep_flags = 1;
2173pub type Gsasl_saslprep_flags = ::std::os::raw::c_uint;
2174#[repr(C)]
2175#[derive(Debug, Copy, Clone)]
2176pub struct Gsasl {
2177 _unused: [u8; 0],
2178}
2179#[repr(C)]
2180#[derive(Debug, Copy, Clone)]
2181pub struct Gsasl_session {
2182 _unused: [u8; 0],
2183}
2184#[repr(u32)]
2185#[non_exhaustive]
2186#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
2187pub enum Gsasl_property {
2188 GSASL_AUTHID = 1,
2189 GSASL_AUTHZID = 2,
2190 GSASL_PASSWORD = 3,
2191 GSASL_ANONYMOUS_TOKEN = 4,
2192 GSASL_SERVICE = 5,
2193 GSASL_HOSTNAME = 6,
2194 GSASL_GSSAPI_DISPLAY_NAME = 7,
2195 GSASL_PASSCODE = 8,
2196 GSASL_SUGGESTED_PIN = 9,
2197 GSASL_PIN = 10,
2198 GSASL_REALM = 11,
2199 GSASL_DIGEST_MD5_HASHED_PASSWORD = 12,
2200 GSASL_QOPS = 13,
2201 GSASL_QOP = 14,
2202 GSASL_SCRAM_ITER = 15,
2203 GSASL_SCRAM_SALT = 16,
2204 GSASL_SCRAM_SALTED_PASSWORD = 17,
2205 GSASL_CB_TLS_UNIQUE = 18,
2206 GSASL_SAML20_IDP_IDENTIFIER = 19,
2207 GSASL_SAML20_REDIRECT_URL = 20,
2208 GSASL_OPENID20_REDIRECT_URL = 21,
2209 GSASL_OPENID20_OUTCOME_DATA = 22,
2210 GSASL_SAML20_AUTHENTICATE_IN_BROWSER = 250,
2211 GSASL_OPENID20_AUTHENTICATE_IN_BROWSER = 251,
2212 GSASL_VALIDATE_SIMPLE = 500,
2213 GSASL_VALIDATE_EXTERNAL = 501,
2214 GSASL_VALIDATE_ANONYMOUS = 502,
2215 GSASL_VALIDATE_GSSAPI = 503,
2216 GSASL_VALIDATE_SECURID = 504,
2217 GSASL_VALIDATE_SAML20 = 505,
2218 GSASL_VALIDATE_OPENID20 = 506,
2219}
2220pub type Gsasl_callback_function = ::std::option::Option<
2221 unsafe extern "C" fn(
2222 ctx: *mut Gsasl,
2223 sctx: *mut Gsasl_session,
2224 prop: Gsasl_property,
2225 ) -> ::std::os::raw::c_int,
2226>;
2227extern "C" {
2228 pub fn gsasl_init(ctx: *mut *mut Gsasl) -> ::std::os::raw::c_int;
2229}
2230extern "C" {
2231 pub fn gsasl_done(ctx: *mut Gsasl);
2232}
2233extern "C" {
2234 pub fn gsasl_check_version(
2235 req_version: *const ::std::os::raw::c_char,
2236 ) -> *const ::std::os::raw::c_char;
2237}
2238extern "C" {
2239 pub fn gsasl_callback_set(ctx: *mut Gsasl, cb: Gsasl_callback_function);
2240}
2241extern "C" {
2242 pub fn gsasl_callback(
2243 ctx: *mut Gsasl,
2244 sctx: *mut Gsasl_session,
2245 prop: Gsasl_property,
2246 ) -> ::std::os::raw::c_int;
2247}
2248extern "C" {
2249 pub fn gsasl_callback_hook_set(ctx: *mut Gsasl, hook: *mut ::std::os::raw::c_void);
2250}
2251extern "C" {
2252 pub fn gsasl_callback_hook_get(ctx: *mut Gsasl) -> *mut ::std::os::raw::c_void;
2253}
2254extern "C" {
2255 pub fn gsasl_session_hook_set(sctx: *mut Gsasl_session, hook: *mut ::std::os::raw::c_void);
2256}
2257extern "C" {
2258 pub fn gsasl_session_hook_get(sctx: *mut Gsasl_session) -> *mut ::std::os::raw::c_void;
2259}
2260extern "C" {
2261 pub fn gsasl_property_set(
2262 sctx: *mut Gsasl_session,
2263 prop: Gsasl_property,
2264 data: *const ::std::os::raw::c_char,
2265 );
2266}
2267extern "C" {
2268 pub fn gsasl_property_set_raw(
2269 sctx: *mut Gsasl_session,
2270 prop: Gsasl_property,
2271 data: *const ::std::os::raw::c_char,
2272 len: size_t,
2273 );
2274}
2275extern "C" {
2276 pub fn gsasl_property_get(
2277 sctx: *mut Gsasl_session,
2278 prop: Gsasl_property,
2279 ) -> *const ::std::os::raw::c_char;
2280}
2281extern "C" {
2282 pub fn gsasl_property_fast(
2283 sctx: *mut Gsasl_session,
2284 prop: Gsasl_property,
2285 ) -> *const ::std::os::raw::c_char;
2286}
2287extern "C" {
2288 pub fn gsasl_client_mechlist(
2289 ctx: *mut Gsasl,
2290 out: *mut *mut ::std::os::raw::c_char,
2291 ) -> ::std::os::raw::c_int;
2292}
2293extern "C" {
2294 pub fn gsasl_client_support_p(
2295 ctx: *mut Gsasl,
2296 name: *const ::std::os::raw::c_char,
2297 ) -> ::std::os::raw::c_int;
2298}
2299extern "C" {
2300 pub fn gsasl_client_suggest_mechanism(
2301 ctx: *mut Gsasl,
2302 mechlist: *const ::std::os::raw::c_char,
2303 ) -> *const ::std::os::raw::c_char;
2304}
2305extern "C" {
2306 pub fn gsasl_server_mechlist(
2307 ctx: *mut Gsasl,
2308 out: *mut *mut ::std::os::raw::c_char,
2309 ) -> ::std::os::raw::c_int;
2310}
2311extern "C" {
2312 pub fn gsasl_server_support_p(
2313 ctx: *mut Gsasl,
2314 name: *const ::std::os::raw::c_char,
2315 ) -> ::std::os::raw::c_int;
2316}
2317extern "C" {
2318 pub fn gsasl_client_start(
2319 ctx: *mut Gsasl,
2320 mech: *const ::std::os::raw::c_char,
2321 sctx: *mut *mut Gsasl_session,
2322 ) -> ::std::os::raw::c_int;
2323}
2324extern "C" {
2325 pub fn gsasl_server_start(
2326 ctx: *mut Gsasl,
2327 mech: *const ::std::os::raw::c_char,
2328 sctx: *mut *mut Gsasl_session,
2329 ) -> ::std::os::raw::c_int;
2330}
2331extern "C" {
2332 pub fn gsasl_step(
2333 sctx: *mut Gsasl_session,
2334 input: *const ::std::os::raw::c_char,
2335 input_len: size_t,
2336 output: *mut *mut ::std::os::raw::c_char,
2337 output_len: *mut size_t,
2338 ) -> ::std::os::raw::c_int;
2339}
2340extern "C" {
2341 pub fn gsasl_step64(
2342 sctx: *mut Gsasl_session,
2343 b64input: *const ::std::os::raw::c_char,
2344 b64output: *mut *mut ::std::os::raw::c_char,
2345 ) -> ::std::os::raw::c_int;
2346}
2347extern "C" {
2348 pub fn gsasl_finish(sctx: *mut Gsasl_session);
2349}
2350extern "C" {
2351 pub fn gsasl_encode(
2352 sctx: *mut Gsasl_session,
2353 input: *const ::std::os::raw::c_char,
2354 input_len: size_t,
2355 output: *mut *mut ::std::os::raw::c_char,
2356 output_len: *mut size_t,
2357 ) -> ::std::os::raw::c_int;
2358}
2359extern "C" {
2360 pub fn gsasl_decode(
2361 sctx: *mut Gsasl_session,
2362 input: *const ::std::os::raw::c_char,
2363 input_len: size_t,
2364 output: *mut *mut ::std::os::raw::c_char,
2365 output_len: *mut size_t,
2366 ) -> ::std::os::raw::c_int;
2367}
2368extern "C" {
2369 pub fn gsasl_mechanism_name(sctx: *mut Gsasl_session) -> *const ::std::os::raw::c_char;
2370}
2371extern "C" {
2372 pub fn gsasl_strerror(err: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
2373}
2374extern "C" {
2375 pub fn gsasl_strerror_name(err: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
2376}
2377extern "C" {
2378 pub fn gsasl_saslprep(
2379 in_: *const ::std::os::raw::c_char,
2380 flags: Gsasl_saslprep_flags,
2381 out: *mut *mut ::std::os::raw::c_char,
2382 stringpreprc: *mut ::std::os::raw::c_int,
2383 ) -> ::std::os::raw::c_int;
2384}
2385extern "C" {
2386 pub fn gsasl_simple_getpass(
2387 filename: *const ::std::os::raw::c_char,
2388 username: *const ::std::os::raw::c_char,
2389 key: *mut *mut ::std::os::raw::c_char,
2390 ) -> ::std::os::raw::c_int;
2391}
2392extern "C" {
2393 pub fn gsasl_base64_to(
2394 in_: *const ::std::os::raw::c_char,
2395 inlen: size_t,
2396 out: *mut *mut ::std::os::raw::c_char,
2397 outlen: *mut size_t,
2398 ) -> ::std::os::raw::c_int;
2399}
2400extern "C" {
2401 pub fn gsasl_base64_from(
2402 in_: *const ::std::os::raw::c_char,
2403 inlen: size_t,
2404 out: *mut *mut ::std::os::raw::c_char,
2405 outlen: *mut size_t,
2406 ) -> ::std::os::raw::c_int;
2407}
2408extern "C" {
2409 pub fn gsasl_nonce(data: *mut ::std::os::raw::c_char, datalen: size_t)
2410 -> ::std::os::raw::c_int;
2411}
2412extern "C" {
2413 pub fn gsasl_random(
2414 data: *mut ::std::os::raw::c_char,
2415 datalen: size_t,
2416 ) -> ::std::os::raw::c_int;
2417}
2418extern "C" {
2419 pub fn gsasl_md5(
2420 in_: *const ::std::os::raw::c_char,
2421 inlen: size_t,
2422 out: *mut *mut ::std::os::raw::c_char,
2423 ) -> ::std::os::raw::c_int;
2424}
2425extern "C" {
2426 pub fn gsasl_hmac_md5(
2427 key: *const ::std::os::raw::c_char,
2428 keylen: size_t,
2429 in_: *const ::std::os::raw::c_char,
2430 inlen: size_t,
2431 outhash: *mut *mut ::std::os::raw::c_char,
2432 ) -> ::std::os::raw::c_int;
2433}
2434extern "C" {
2435 pub fn gsasl_sha1(
2436 in_: *const ::std::os::raw::c_char,
2437 inlen: size_t,
2438 out: *mut *mut ::std::os::raw::c_char,
2439 ) -> ::std::os::raw::c_int;
2440}
2441extern "C" {
2442 pub fn gsasl_hmac_sha1(
2443 key: *const ::std::os::raw::c_char,
2444 keylen: size_t,
2445 in_: *const ::std::os::raw::c_char,
2446 inlen: size_t,
2447 outhash: *mut *mut ::std::os::raw::c_char,
2448 ) -> ::std::os::raw::c_int;
2449}
2450extern "C" {
2451 pub fn gsasl_free(ptr: *mut ::std::os::raw::c_void);
2452}
2453pub type Gsasl_init_function =
2454 ::std::option::Option<unsafe extern "C" fn(ctx: *mut Gsasl) -> ::std::os::raw::c_int>;
2455pub type Gsasl_done_function = ::std::option::Option<unsafe extern "C" fn(ctx: *mut Gsasl)>;
2456pub type Gsasl_start_function = ::std::option::Option<
2457 unsafe extern "C" fn(
2458 sctx: *mut Gsasl_session,
2459 mech_data: *mut *mut ::std::os::raw::c_void,
2460 ) -> ::std::os::raw::c_int,
2461>;
2462pub type Gsasl_step_function = ::std::option::Option<
2463 unsafe extern "C" fn(
2464 sctx: *mut Gsasl_session,
2465 mech_data: *mut ::std::os::raw::c_void,
2466 input: *const ::std::os::raw::c_char,
2467 input_len: size_t,
2468 output: *mut *mut ::std::os::raw::c_char,
2469 output_len: *mut size_t,
2470 ) -> ::std::os::raw::c_int,
2471>;
2472pub type Gsasl_finish_function = ::std::option::Option<
2473 unsafe extern "C" fn(sctx: *mut Gsasl_session, mech_data: *mut ::std::os::raw::c_void),
2474>;
2475pub type Gsasl_code_function = ::std::option::Option<
2476 unsafe extern "C" fn(
2477 sctx: *mut Gsasl_session,
2478 mech_data: *mut ::std::os::raw::c_void,
2479 input: *const ::std::os::raw::c_char,
2480 input_len: size_t,
2481 output: *mut *mut ::std::os::raw::c_char,
2482 output_len: *mut size_t,
2483 ) -> ::std::os::raw::c_int,
2484>;
2485#[repr(C)]
2486#[derive(Debug, Copy, Clone)]
2487pub struct Gsasl_mechanism_functions {
2488 pub init: Gsasl_init_function,
2489 pub done: Gsasl_done_function,
2490 pub start: Gsasl_start_function,
2491 pub step: Gsasl_step_function,
2492 pub finish: Gsasl_finish_function,
2493 pub encode: Gsasl_code_function,
2494 pub decode: Gsasl_code_function,
2495}
2496#[test]
2497fn bindgen_test_layout_Gsasl_mechanism_functions() {
2498 assert_eq!(
2499 ::std::mem::size_of::<Gsasl_mechanism_functions>(),
2500 56usize,
2501 concat!("Size of: ", stringify!(Gsasl_mechanism_functions))
2502 );
2503 assert_eq!(
2504 ::std::mem::align_of::<Gsasl_mechanism_functions>(),
2505 8usize,
2506 concat!("Alignment of ", stringify!(Gsasl_mechanism_functions))
2507 );
2508 assert_eq!(
2509 unsafe { &(*(::std::ptr::null::<Gsasl_mechanism_functions>())).init as *const _ as usize },
2510 0usize,
2511 concat!(
2512 "Offset of field: ",
2513 stringify!(Gsasl_mechanism_functions),
2514 "::",
2515 stringify!(init)
2516 )
2517 );
2518 assert_eq!(
2519 unsafe { &(*(::std::ptr::null::<Gsasl_mechanism_functions>())).done as *const _ as usize },
2520 8usize,
2521 concat!(
2522 "Offset of field: ",
2523 stringify!(Gsasl_mechanism_functions),
2524 "::",
2525 stringify!(done)
2526 )
2527 );
2528 assert_eq!(
2529 unsafe { &(*(::std::ptr::null::<Gsasl_mechanism_functions>())).start as *const _ as usize },
2530 16usize,
2531 concat!(
2532 "Offset of field: ",
2533 stringify!(Gsasl_mechanism_functions),
2534 "::",
2535 stringify!(start)
2536 )
2537 );
2538 assert_eq!(
2539 unsafe { &(*(::std::ptr::null::<Gsasl_mechanism_functions>())).step as *const _ as usize },
2540 24usize,
2541 concat!(
2542 "Offset of field: ",
2543 stringify!(Gsasl_mechanism_functions),
2544 "::",
2545 stringify!(step)
2546 )
2547 );
2548 assert_eq!(
2549 unsafe {
2550 &(*(::std::ptr::null::<Gsasl_mechanism_functions>())).finish as *const _ as usize
2551 },
2552 32usize,
2553 concat!(
2554 "Offset of field: ",
2555 stringify!(Gsasl_mechanism_functions),
2556 "::",
2557 stringify!(finish)
2558 )
2559 );
2560 assert_eq!(
2561 unsafe {
2562 &(*(::std::ptr::null::<Gsasl_mechanism_functions>())).encode as *const _ as usize
2563 },
2564 40usize,
2565 concat!(
2566 "Offset of field: ",
2567 stringify!(Gsasl_mechanism_functions),
2568 "::",
2569 stringify!(encode)
2570 )
2571 );
2572 assert_eq!(
2573 unsafe {
2574 &(*(::std::ptr::null::<Gsasl_mechanism_functions>())).decode as *const _ as usize
2575 },
2576 48usize,
2577 concat!(
2578 "Offset of field: ",
2579 stringify!(Gsasl_mechanism_functions),
2580 "::",
2581 stringify!(decode)
2582 )
2583 );
2584}
2585#[repr(C)]
2586#[derive(Debug, Copy, Clone)]
2587pub struct Gsasl_mechanism {
2588 pub name: *const ::std::os::raw::c_char,
2589 pub client: Gsasl_mechanism_functions,
2590 pub server: Gsasl_mechanism_functions,
2591}
2592#[test]
2593fn bindgen_test_layout_Gsasl_mechanism() {
2594 assert_eq!(
2595 ::std::mem::size_of::<Gsasl_mechanism>(),
2596 120usize,
2597 concat!("Size of: ", stringify!(Gsasl_mechanism))
2598 );
2599 assert_eq!(
2600 ::std::mem::align_of::<Gsasl_mechanism>(),
2601 8usize,
2602 concat!("Alignment of ", stringify!(Gsasl_mechanism))
2603 );
2604 assert_eq!(
2605 unsafe { &(*(::std::ptr::null::<Gsasl_mechanism>())).name as *const _ as usize },
2606 0usize,
2607 concat!(
2608 "Offset of field: ",
2609 stringify!(Gsasl_mechanism),
2610 "::",
2611 stringify!(name)
2612 )
2613 );
2614 assert_eq!(
2615 unsafe { &(*(::std::ptr::null::<Gsasl_mechanism>())).client as *const _ as usize },
2616 8usize,
2617 concat!(
2618 "Offset of field: ",
2619 stringify!(Gsasl_mechanism),
2620 "::",
2621 stringify!(client)
2622 )
2623 );
2624 assert_eq!(
2625 unsafe { &(*(::std::ptr::null::<Gsasl_mechanism>())).server as *const _ as usize },
2626 64usize,
2627 concat!(
2628 "Offset of field: ",
2629 stringify!(Gsasl_mechanism),
2630 "::",
2631 stringify!(server)
2632 )
2633 );
2634}
2635extern "C" {
2636 pub fn gsasl_register(ctx: *mut Gsasl, mech: *const Gsasl_mechanism) -> ::std::os::raw::c_int;
2637}
2638pub const GSASL_TOO_SMALL_BUFFER: ::std::os::raw::c_uint = 4;
2639pub const GSASL_FOPEN_ERROR: ::std::os::raw::c_uint = 5;
2640pub const GSASL_FCLOSE_ERROR: ::std::os::raw::c_uint = 6;
2641pub const GSASL_GCRYPT_ERROR: ::std::os::raw::c_uint = 9;
2642pub const GSASL_CANNOT_GET_CTX: ::std::os::raw::c_uint = 32;
2643pub const GSASL_NEED_CLIENT_ANONYMOUS_CALLBACK: ::std::os::raw::c_uint = 11;
2644pub const GSASL_NEED_CLIENT_PASSWORD_CALLBACK: ::std::os::raw::c_uint = 12;
2645pub const GSASL_NEED_CLIENT_PASSCODE_CALLBACK: ::std::os::raw::c_uint = 13;
2646pub const GSASL_NEED_CLIENT_PIN_CALLBACK: ::std::os::raw::c_uint = 14;
2647pub const GSASL_NEED_CLIENT_AUTHORIZATION_ID_CALLBACK: ::std::os::raw::c_uint = 15;
2648pub const GSASL_NEED_CLIENT_AUTHENTICATION_ID_CALLBACK: ::std::os::raw::c_uint = 16;
2649pub const GSASL_NEED_CLIENT_SERVICE_CALLBACK: ::std::os::raw::c_uint = 17;
2650pub const GSASL_NEED_SERVER_VALIDATE_CALLBACK: ::std::os::raw::c_uint = 18;
2651pub const GSASL_NEED_SERVER_CRAM_MD5_CALLBACK: ::std::os::raw::c_uint = 19;
2652pub const GSASL_NEED_SERVER_DIGEST_MD5_CALLBACK: ::std::os::raw::c_uint = 20;
2653pub const GSASL_NEED_SERVER_EXTERNAL_CALLBACK: ::std::os::raw::c_uint = 21;
2654pub const GSASL_NEED_SERVER_ANONYMOUS_CALLBACK: ::std::os::raw::c_uint = 22;
2655pub const GSASL_NEED_SERVER_REALM_CALLBACK: ::std::os::raw::c_uint = 23;
2656pub const GSASL_NEED_SERVER_SECURID_CALLBACK: ::std::os::raw::c_uint = 24;
2657pub const GSASL_NEED_SERVER_SERVICE_CALLBACK: ::std::os::raw::c_uint = 25;
2658pub const GSASL_NEED_SERVER_GSSAPI_CALLBACK: ::std::os::raw::c_uint = 26;
2659pub const GSASL_NEED_SERVER_RETRIEVE_CALLBACK: ::std::os::raw::c_uint = 27;
2660pub const GSASL_UNICODE_NORMALIZATION_ERROR: ::std::os::raw::c_uint = 28;
2661pub const GSASL_NO_MORE_REALMS: ::std::os::raw::c_uint = 34;
2662pub const GSASL_INVALID_HANDLE: ::std::os::raw::c_uint = 50;
2663pub type _bindgen_ty_5 = ::std::os::raw::c_uint;
2664pub type Gsasl_ctx = Gsasl;
2665pub type Gsasl_session_ctx = Gsasl_session;
2666extern "C" {
2667 pub fn gsasl_client_listmech(
2668 ctx: *mut Gsasl,
2669 out: *mut ::std::os::raw::c_char,
2670 outlen: *mut size_t,
2671 ) -> ::std::os::raw::c_int;
2672}
2673extern "C" {
2674 pub fn gsasl_server_listmech(
2675 ctx: *mut Gsasl,
2676 out: *mut ::std::os::raw::c_char,
2677 outlen: *mut size_t,
2678 ) -> ::std::os::raw::c_int;
2679}
2680extern "C" {
2681 pub fn gsasl_client_step(
2682 sctx: *mut Gsasl_session,
2683 input: *const ::std::os::raw::c_char,
2684 input_len: size_t,
2685 output: *mut ::std::os::raw::c_char,
2686 output_len: *mut size_t,
2687 ) -> ::std::os::raw::c_int;
2688}
2689extern "C" {
2690 pub fn gsasl_client_step_base64(
2691 sctx: *mut Gsasl_session,
2692 b64input: *const ::std::os::raw::c_char,
2693 b64output: *mut ::std::os::raw::c_char,
2694 b64output_len: size_t,
2695 ) -> ::std::os::raw::c_int;
2696}
2697extern "C" {
2698 pub fn gsasl_server_step(
2699 sctx: *mut Gsasl_session,
2700 input: *const ::std::os::raw::c_char,
2701 input_len: size_t,
2702 output: *mut ::std::os::raw::c_char,
2703 output_len: *mut size_t,
2704 ) -> ::std::os::raw::c_int;
2705}
2706extern "C" {
2707 pub fn gsasl_server_step_base64(
2708 sctx: *mut Gsasl_session,
2709 b64input: *const ::std::os::raw::c_char,
2710 b64output: *mut ::std::os::raw::c_char,
2711 b64output_len: size_t,
2712 ) -> ::std::os::raw::c_int;
2713}
2714extern "C" {
2715 pub fn gsasl_client_finish(sctx: *mut Gsasl_session);
2716}
2717extern "C" {
2718 pub fn gsasl_server_finish(sctx: *mut Gsasl_session);
2719}
2720extern "C" {
2721 pub fn gsasl_client_ctx_get(sctx: *mut Gsasl_session) -> *mut Gsasl;
2722}
2723extern "C" {
2724 pub fn gsasl_server_ctx_get(sctx: *mut Gsasl_session) -> *mut Gsasl;
2725}
2726extern "C" {
2727 pub fn gsasl_client_application_data_set(
2728 sctx: *mut Gsasl_session,
2729 application_data: *mut ::std::os::raw::c_void,
2730 );
2731}
2732extern "C" {
2733 pub fn gsasl_client_application_data_get(
2734 sctx: *mut Gsasl_session,
2735 ) -> *mut ::std::os::raw::c_void;
2736}
2737extern "C" {
2738 pub fn gsasl_server_application_data_set(
2739 sctx: *mut Gsasl_session,
2740 application_data: *mut ::std::os::raw::c_void,
2741 );
2742}
2743extern "C" {
2744 pub fn gsasl_server_application_data_get(
2745 sctx: *mut Gsasl_session,
2746 ) -> *mut ::std::os::raw::c_void;
2747}
2748extern "C" {
2749 pub fn gsasl_randomize(
2750 strong: ::std::os::raw::c_int,
2751 data: *mut ::std::os::raw::c_char,
2752 datalen: size_t,
2753 ) -> ::std::os::raw::c_int;
2754}
2755extern "C" {
2756 pub fn gsasl_ctx_get(sctx: *mut Gsasl_session) -> *mut Gsasl;
2757}
2758extern "C" {
2759 pub fn gsasl_encode_inline(
2760 sctx: *mut Gsasl_session,
2761 input: *const ::std::os::raw::c_char,
2762 input_len: size_t,
2763 output: *mut ::std::os::raw::c_char,
2764 output_len: *mut size_t,
2765 ) -> ::std::os::raw::c_int;
2766}
2767extern "C" {
2768 pub fn gsasl_decode_inline(
2769 sctx: *mut Gsasl_session,
2770 input: *const ::std::os::raw::c_char,
2771 input_len: size_t,
2772 output: *mut ::std::os::raw::c_char,
2773 output_len: *mut size_t,
2774 ) -> ::std::os::raw::c_int;
2775}
2776extern "C" {
2777 pub fn gsasl_application_data_set(ctx: *mut Gsasl, appdata: *mut ::std::os::raw::c_void);
2778}
2779extern "C" {
2780 pub fn gsasl_application_data_get(ctx: *mut Gsasl) -> *mut ::std::os::raw::c_void;
2781}
2782extern "C" {
2783 pub fn gsasl_appinfo_set(sctx: *mut Gsasl_session, appdata: *mut ::std::os::raw::c_void);
2784}
2785extern "C" {
2786 pub fn gsasl_appinfo_get(sctx: *mut Gsasl_session) -> *mut ::std::os::raw::c_void;
2787}
2788extern "C" {
2789 pub fn gsasl_server_suggest_mechanism(
2790 ctx: *mut Gsasl,
2791 mechlist: *const ::std::os::raw::c_char,
2792 ) -> *const ::std::os::raw::c_char;
2793}
2794extern "C" {
2795 pub fn gsasl_base64_encode(
2796 src: *const ::std::os::raw::c_char,
2797 srclength: size_t,
2798 target: *mut ::std::os::raw::c_char,
2799 targsize: size_t,
2800 ) -> ::std::os::raw::c_int;
2801}
2802extern "C" {
2803 pub fn gsasl_base64_decode(
2804 src: *const ::std::os::raw::c_char,
2805 target: *mut ::std::os::raw::c_char,
2806 targsize: size_t,
2807 ) -> ::std::os::raw::c_int;
2808}
2809extern "C" {
2810 pub fn gsasl_stringprep_nfkc(
2811 in_: *const ::std::os::raw::c_char,
2812 len: ssize_t,
2813 ) -> *mut ::std::os::raw::c_char;
2814}
2815extern "C" {
2816 pub fn gsasl_stringprep_saslprep(
2817 in_: *const ::std::os::raw::c_char,
2818 stringprep_rc: *mut ::std::os::raw::c_int,
2819 ) -> *mut ::std::os::raw::c_char;
2820}
2821extern "C" {
2822 pub fn gsasl_stringprep_trace(
2823 in_: *const ::std::os::raw::c_char,
2824 stringprep_rc: *mut ::std::os::raw::c_int,
2825 ) -> *mut ::std::os::raw::c_char;
2826}
2827extern "C" {
2828 pub fn gsasl_md5pwd_get_password(
2829 filename: *const ::std::os::raw::c_char,
2830 username: *const ::std::os::raw::c_char,
2831 key: *mut ::std::os::raw::c_char,
2832 keylen: *mut size_t,
2833 ) -> ::std::os::raw::c_int;
2834}
2835pub type Gsasl_client_callback_anonymous = ::std::option::Option<
2836 unsafe extern "C" fn(
2837 sctx: *mut Gsasl_session,
2838 out: *mut ::std::os::raw::c_char,
2839 outlen: *mut size_t,
2840 ) -> ::std::os::raw::c_int,
2841>;
2842pub type Gsasl_client_callback_authentication_id = ::std::option::Option<
2843 unsafe extern "C" fn(
2844 sctx: *mut Gsasl_session,
2845 out: *mut ::std::os::raw::c_char,
2846 outlen: *mut size_t,
2847 ) -> ::std::os::raw::c_int,
2848>;
2849pub type Gsasl_client_callback_authorization_id = ::std::option::Option<
2850 unsafe extern "C" fn(
2851 sctx: *mut Gsasl_session,
2852 out: *mut ::std::os::raw::c_char,
2853 outlen: *mut size_t,
2854 ) -> ::std::os::raw::c_int,
2855>;
2856pub type Gsasl_client_callback_password = ::std::option::Option<
2857 unsafe extern "C" fn(
2858 sctx: *mut Gsasl_session,
2859 out: *mut ::std::os::raw::c_char,
2860 outlen: *mut size_t,
2861 ) -> ::std::os::raw::c_int,
2862>;
2863pub type Gsasl_client_callback_passcode = ::std::option::Option<
2864 unsafe extern "C" fn(
2865 sctx: *mut Gsasl_session,
2866 out: *mut ::std::os::raw::c_char,
2867 outlen: *mut size_t,
2868 ) -> ::std::os::raw::c_int,
2869>;
2870pub type Gsasl_client_callback_pin = ::std::option::Option<
2871 unsafe extern "C" fn(
2872 sctx: *mut Gsasl_session,
2873 suggestion: *mut ::std::os::raw::c_char,
2874 out: *mut ::std::os::raw::c_char,
2875 outlen: *mut size_t,
2876 ) -> ::std::os::raw::c_int,
2877>;
2878pub type Gsasl_client_callback_service = ::std::option::Option<
2879 unsafe extern "C" fn(
2880 sctx: *mut Gsasl_session,
2881 service: *mut ::std::os::raw::c_char,
2882 servicelen: *mut size_t,
2883 hostname: *mut ::std::os::raw::c_char,
2884 hostnamelen: *mut size_t,
2885 servicename: *mut ::std::os::raw::c_char,
2886 servicenamelen: *mut size_t,
2887 ) -> ::std::os::raw::c_int,
2888>;
2889pub type Gsasl_client_callback_qop = ::std::option::Option<
2890 unsafe extern "C" fn(sctx: *mut Gsasl_session, serverqops: Gsasl_qop) -> Gsasl_qop,
2891>;
2892pub type Gsasl_client_callback_maxbuf = ::std::option::Option<
2893 unsafe extern "C" fn(sctx: *mut Gsasl_session, servermaxbuf: size_t) -> size_t,
2894>;
2895pub type Gsasl_client_callback_realm = ::std::option::Option<
2896 unsafe extern "C" fn(
2897 sctx: *mut Gsasl_session,
2898 out: *mut ::std::os::raw::c_char,
2899 outlen: *mut size_t,
2900 ) -> ::std::os::raw::c_int,
2901>;
2902pub type Gsasl_server_callback_retrieve = ::std::option::Option<
2903 unsafe extern "C" fn(
2904 sctx: *mut Gsasl_session,
2905 authentication_id: *const ::std::os::raw::c_char,
2906 authorization_id: *const ::std::os::raw::c_char,
2907 realm: *const ::std::os::raw::c_char,
2908 key: *mut ::std::os::raw::c_char,
2909 keylen: *mut size_t,
2910 ) -> ::std::os::raw::c_int,
2911>;
2912pub type Gsasl_server_callback_validate = ::std::option::Option<
2913 unsafe extern "C" fn(
2914 sctx: *mut Gsasl_session,
2915 authorization_id: *const ::std::os::raw::c_char,
2916 authentication_id: *const ::std::os::raw::c_char,
2917 password: *const ::std::os::raw::c_char,
2918 ) -> ::std::os::raw::c_int,
2919>;
2920pub type Gsasl_server_callback_gssapi = ::std::option::Option<
2921 unsafe extern "C" fn(
2922 sctx: *mut Gsasl_session,
2923 clientname: *const ::std::os::raw::c_char,
2924 authentication_id: *const ::std::os::raw::c_char,
2925 ) -> ::std::os::raw::c_int,
2926>;
2927pub type Gsasl_server_callback_securid = ::std::option::Option<
2928 unsafe extern "C" fn(
2929 sctx: *mut Gsasl_session,
2930 authentication_id: *const ::std::os::raw::c_char,
2931 authorization_id: *const ::std::os::raw::c_char,
2932 passcode: *const ::std::os::raw::c_char,
2933 pin: *mut ::std::os::raw::c_char,
2934 suggestpin: *mut ::std::os::raw::c_char,
2935 suggestpinlen: *mut size_t,
2936 ) -> ::std::os::raw::c_int,
2937>;
2938pub type Gsasl_server_callback_cram_md5 = ::std::option::Option<
2939 unsafe extern "C" fn(
2940 sctx: *mut Gsasl_session,
2941 username: *mut ::std::os::raw::c_char,
2942 challenge: *mut ::std::os::raw::c_char,
2943 response: *mut ::std::os::raw::c_char,
2944 ) -> ::std::os::raw::c_int,
2945>;
2946pub type Gsasl_server_callback_digest_md5 = ::std::option::Option<
2947 unsafe extern "C" fn(
2948 sctx: *mut Gsasl_session,
2949 username: *mut ::std::os::raw::c_char,
2950 realm: *mut ::std::os::raw::c_char,
2951 secrethash: *mut ::std::os::raw::c_char,
2952 ) -> ::std::os::raw::c_int,
2953>;
2954pub type Gsasl_server_callback_service = ::std::option::Option<
2955 unsafe extern "C" fn(
2956 sctx: *mut Gsasl_session,
2957 service: *mut ::std::os::raw::c_char,
2958 servicelen: *mut size_t,
2959 hostname: *mut ::std::os::raw::c_char,
2960 hostnamelen: *mut size_t,
2961 ) -> ::std::os::raw::c_int,
2962>;
2963pub type Gsasl_server_callback_external =
2964 ::std::option::Option<unsafe extern "C" fn(sctx: *mut Gsasl_session) -> ::std::os::raw::c_int>;
2965pub type Gsasl_server_callback_anonymous = ::std::option::Option<
2966 unsafe extern "C" fn(
2967 sctx: *mut Gsasl_session,
2968 token: *const ::std::os::raw::c_char,
2969 ) -> ::std::os::raw::c_int,
2970>;
2971pub type Gsasl_server_callback_realm = ::std::option::Option<
2972 unsafe extern "C" fn(
2973 sctx: *mut Gsasl_session,
2974 out: *mut ::std::os::raw::c_char,
2975 outlen: *mut size_t,
2976 nth: size_t,
2977 ) -> ::std::os::raw::c_int,
2978>;
2979pub type Gsasl_server_callback_qop =
2980 ::std::option::Option<unsafe extern "C" fn(sctx: *mut Gsasl_session) -> Gsasl_qop>;
2981pub type Gsasl_server_callback_maxbuf =
2982 ::std::option::Option<unsafe extern "C" fn(sctx: *mut Gsasl_session) -> size_t>;
2983pub type Gsasl_server_callback_cipher =
2984 ::std::option::Option<unsafe extern "C" fn(sctx: *mut Gsasl_session) -> Gsasl_cipher>;
2985extern "C" {
2986 pub fn gsasl_client_callback_authorization_id_set(
2987 ctx: *mut Gsasl,
2988 cb: Gsasl_client_callback_authorization_id,
2989 );
2990}
2991extern "C" {
2992 pub fn gsasl_client_callback_authorization_id_get(
2993 ctx: *mut Gsasl,
2994 ) -> Gsasl_client_callback_authorization_id;
2995}
2996extern "C" {
2997 pub fn gsasl_client_callback_authentication_id_set(
2998 ctx: *mut Gsasl,
2999 cb: Gsasl_client_callback_authentication_id,
3000 );
3001}
3002extern "C" {
3003 pub fn gsasl_client_callback_authentication_id_get(
3004 ctx: *mut Gsasl,
3005 ) -> Gsasl_client_callback_authentication_id;
3006}
3007extern "C" {
3008 pub fn gsasl_client_callback_anonymous_set(
3009 ctx: *mut Gsasl,
3010 cb: Gsasl_client_callback_anonymous,
3011 );
3012}
3013extern "C" {
3014 pub fn gsasl_client_callback_anonymous_get(ctx: *mut Gsasl) -> Gsasl_client_callback_anonymous;
3015}
3016extern "C" {
3017 pub fn gsasl_client_callback_password_set(ctx: *mut Gsasl, cb: Gsasl_client_callback_password);
3018}
3019extern "C" {
3020 pub fn gsasl_client_callback_password_get(ctx: *mut Gsasl) -> Gsasl_client_callback_password;
3021}
3022extern "C" {
3023 pub fn gsasl_client_callback_passcode_set(ctx: *mut Gsasl, cb: Gsasl_client_callback_passcode);
3024}
3025extern "C" {
3026 pub fn gsasl_client_callback_passcode_get(ctx: *mut Gsasl) -> Gsasl_client_callback_passcode;
3027}
3028extern "C" {
3029 pub fn gsasl_client_callback_pin_set(ctx: *mut Gsasl, cb: Gsasl_client_callback_pin);
3030}
3031extern "C" {
3032 pub fn gsasl_client_callback_pin_get(ctx: *mut Gsasl) -> Gsasl_client_callback_pin;
3033}
3034extern "C" {
3035 pub fn gsasl_client_callback_service_set(ctx: *mut Gsasl, cb: Gsasl_client_callback_service);
3036}
3037extern "C" {
3038 pub fn gsasl_client_callback_service_get(ctx: *mut Gsasl) -> Gsasl_client_callback_service;
3039}
3040extern "C" {
3041 pub fn gsasl_client_callback_qop_set(ctx: *mut Gsasl, cb: Gsasl_client_callback_qop);
3042}
3043extern "C" {
3044 pub fn gsasl_client_callback_qop_get(ctx: *mut Gsasl) -> Gsasl_client_callback_qop;
3045}
3046extern "C" {
3047 pub fn gsasl_client_callback_maxbuf_set(ctx: *mut Gsasl, cb: Gsasl_client_callback_maxbuf);
3048}
3049extern "C" {
3050 pub fn gsasl_client_callback_maxbuf_get(ctx: *mut Gsasl) -> Gsasl_client_callback_maxbuf;
3051}
3052extern "C" {
3053 pub fn gsasl_client_callback_realm_set(ctx: *mut Gsasl, cb: Gsasl_client_callback_realm);
3054}
3055extern "C" {
3056 pub fn gsasl_client_callback_realm_get(ctx: *mut Gsasl) -> Gsasl_client_callback_realm;
3057}
3058extern "C" {
3059 pub fn gsasl_server_callback_validate_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_validate);
3060}
3061extern "C" {
3062 pub fn gsasl_server_callback_validate_get(ctx: *mut Gsasl) -> Gsasl_server_callback_validate;
3063}
3064extern "C" {
3065 pub fn gsasl_server_callback_retrieve_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_retrieve);
3066}
3067extern "C" {
3068 pub fn gsasl_server_callback_retrieve_get(ctx: *mut Gsasl) -> Gsasl_server_callback_retrieve;
3069}
3070extern "C" {
3071 pub fn gsasl_server_callback_cram_md5_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_cram_md5);
3072}
3073extern "C" {
3074 pub fn gsasl_server_callback_cram_md5_get(ctx: *mut Gsasl) -> Gsasl_server_callback_cram_md5;
3075}
3076extern "C" {
3077 pub fn gsasl_server_callback_digest_md5_set(
3078 ctx: *mut Gsasl,
3079 cb: Gsasl_server_callback_digest_md5,
3080 );
3081}
3082extern "C" {
3083 pub fn gsasl_server_callback_digest_md5_get(
3084 ctx: *mut Gsasl,
3085 ) -> Gsasl_server_callback_digest_md5;
3086}
3087extern "C" {
3088 pub fn gsasl_server_callback_external_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_external);
3089}
3090extern "C" {
3091 pub fn gsasl_server_callback_external_get(ctx: *mut Gsasl) -> Gsasl_server_callback_external;
3092}
3093extern "C" {
3094 pub fn gsasl_server_callback_anonymous_set(
3095 ctx: *mut Gsasl,
3096 cb: Gsasl_server_callback_anonymous,
3097 );
3098}
3099extern "C" {
3100 pub fn gsasl_server_callback_anonymous_get(ctx: *mut Gsasl) -> Gsasl_server_callback_anonymous;
3101}
3102extern "C" {
3103 pub fn gsasl_server_callback_realm_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_realm);
3104}
3105extern "C" {
3106 pub fn gsasl_server_callback_realm_get(ctx: *mut Gsasl) -> Gsasl_server_callback_realm;
3107}
3108extern "C" {
3109 pub fn gsasl_server_callback_qop_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_qop);
3110}
3111extern "C" {
3112 pub fn gsasl_server_callback_qop_get(ctx: *mut Gsasl) -> Gsasl_server_callback_qop;
3113}
3114extern "C" {
3115 pub fn gsasl_server_callback_maxbuf_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_maxbuf);
3116}
3117extern "C" {
3118 pub fn gsasl_server_callback_maxbuf_get(ctx: *mut Gsasl) -> Gsasl_server_callback_maxbuf;
3119}
3120extern "C" {
3121 pub fn gsasl_server_callback_cipher_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_cipher);
3122}
3123extern "C" {
3124 pub fn gsasl_server_callback_cipher_get(ctx: *mut Gsasl) -> Gsasl_server_callback_cipher;
3125}
3126extern "C" {
3127 pub fn gsasl_server_callback_securid_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_securid);
3128}
3129extern "C" {
3130 pub fn gsasl_server_callback_securid_get(ctx: *mut Gsasl) -> Gsasl_server_callback_securid;
3131}
3132extern "C" {
3133 pub fn gsasl_server_callback_gssapi_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_gssapi);
3134}
3135extern "C" {
3136 pub fn gsasl_server_callback_gssapi_get(ctx: *mut Gsasl) -> Gsasl_server_callback_gssapi;
3137}
3138extern "C" {
3139 pub fn gsasl_server_callback_service_set(ctx: *mut Gsasl, cb: Gsasl_server_callback_service);
3140}
3141extern "C" {
3142 pub fn gsasl_server_callback_service_get(ctx: *mut Gsasl) -> Gsasl_server_callback_service;
3143}
3144pub type __builtin_va_list = [__va_list_tag; 1usize];
3145#[repr(C)]
3146#[derive(Debug, Copy, Clone)]
3147pub struct __va_list_tag {
3148 pub gp_offset: ::std::os::raw::c_uint,
3149 pub fp_offset: ::std::os::raw::c_uint,
3150 pub overflow_arg_area: *mut ::std::os::raw::c_void,
3151 pub reg_save_area: *mut ::std::os::raw::c_void,
3152}
3153#[test]
3154fn bindgen_test_layout___va_list_tag() {
3155 assert_eq!(
3156 ::std::mem::size_of::<__va_list_tag>(),
3157 24usize,
3158 concat!("Size of: ", stringify!(__va_list_tag))
3159 );
3160 assert_eq!(
3161 ::std::mem::align_of::<__va_list_tag>(),
3162 8usize,
3163 concat!("Alignment of ", stringify!(__va_list_tag))
3164 );
3165 assert_eq!(
3166 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
3167 0usize,
3168 concat!(
3169 "Offset of field: ",
3170 stringify!(__va_list_tag),
3171 "::",
3172 stringify!(gp_offset)
3173 )
3174 );
3175 assert_eq!(
3176 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
3177 4usize,
3178 concat!(
3179 "Offset of field: ",
3180 stringify!(__va_list_tag),
3181 "::",
3182 stringify!(fp_offset)
3183 )
3184 );
3185 assert_eq!(
3186 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
3187 8usize,
3188 concat!(
3189 "Offset of field: ",
3190 stringify!(__va_list_tag),
3191 "::",
3192 stringify!(overflow_arg_area)
3193 )
3194 );
3195 assert_eq!(
3196 unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
3197 16usize,
3198 concat!(
3199 "Offset of field: ",
3200 stringify!(__va_list_tag),
3201 "::",
3202 stringify!(reg_save_area)
3203 )
3204 );
3205}