1#![allow(dead_code)]
4#![allow(non_camel_case_types)]
5#![allow(non_snake_case)]
6use libc::{c_uint, stat};
7pub const AE_IFMT: u32 = 0o170000;
8pub const AE_IFREG: u32 = 0o100000;
9pub const AE_IFLNK: u32 = 0o120000;
10pub const AE_IFSOCK: u32 = 0o140000;
11pub const AE_IFCHR: u32 = 0o020000;
12pub const AE_IFBLK: u32 = 0o060000;
13pub const AE_IFDIR: u32 = 0o040000;
14pub const AE_IFIFO: u32 = 0o010000;
15
16pub const ARCHIVE_EOF: i32 = 1;
17pub const ARCHIVE_OK: i32 = 0;
18pub const ARCHIVE_RETRY: i32 = -10;
19pub const ARCHIVE_WARN: i32 = -20;
20pub const ARCHIVE_FAILED: i32 = -25;
21pub const ARCHIVE_FATAL: i32 = -30;
22pub const ARCHIVE_FILTER_NONE: i32 = 0;
23pub const ARCHIVE_FILTER_GZIP: i32 = 1;
24pub const ARCHIVE_FILTER_BZIP2: i32 = 2;
25pub const ARCHIVE_FILTER_COMPRESS: i32 = 3;
26pub const ARCHIVE_FILTER_PROGRAM: i32 = 4;
27pub const ARCHIVE_FILTER_LZMA: i32 = 5;
28pub const ARCHIVE_FILTER_XZ: i32 = 6;
29pub const ARCHIVE_FILTER_UU: i32 = 7;
30pub const ARCHIVE_FILTER_RPM: i32 = 8;
31pub const ARCHIVE_FILTER_LZIP: i32 = 9;
32pub const ARCHIVE_FILTER_LRZIP: i32 = 10;
33pub const ARCHIVE_FILTER_LZOP: i32 = 11;
34pub const ARCHIVE_FILTER_GRZIP: i32 = 12;
35pub const ARCHIVE_FILTER_LZ4: i32 = 13;
36pub const ARCHIVE_FILTER_ZSTD: i32 = 14;
37pub const ARCHIVE_FORMAT_BASE_MASK: i32 = 16711680;
38pub const ARCHIVE_FORMAT_CPIO: i32 = 65536;
39pub const ARCHIVE_FORMAT_CPIO_POSIX: i32 = 65537;
40pub const ARCHIVE_FORMAT_CPIO_BIN_LE: i32 = 65538;
41pub const ARCHIVE_FORMAT_CPIO_BIN_BE: i32 = 65539;
42pub const ARCHIVE_FORMAT_CPIO_SVR4_NOCRC: i32 = 65540;
43pub const ARCHIVE_FORMAT_CPIO_SVR4_CRC: i32 = 65541;
44pub const ARCHIVE_FORMAT_CPIO_AFIO_LARGE: i32 = 65542;
45pub const ARCHIVE_FORMAT_CPIO_PWB: i32 = 65543;
46pub const ARCHIVE_FORMAT_SHAR: i32 = 131072;
47pub const ARCHIVE_FORMAT_SHAR_BASE: i32 = 131073;
48pub const ARCHIVE_FORMAT_SHAR_DUMP: i32 = 131074;
49pub const ARCHIVE_FORMAT_TAR: i32 = 196608;
50pub const ARCHIVE_FORMAT_TAR_USTAR: i32 = 196609;
51pub const ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE: i32 = 196610;
52pub const ARCHIVE_FORMAT_TAR_PAX_RESTRICTED: i32 = 196611;
53pub const ARCHIVE_FORMAT_TAR_GNUTAR: i32 = 196612;
54pub const ARCHIVE_FORMAT_ISO9660: i32 = 262144;
55pub const ARCHIVE_FORMAT_ISO9660_ROCKRIDGE: i32 = 262145;
56pub const ARCHIVE_FORMAT_ZIP: i32 = 327680;
57pub const ARCHIVE_FORMAT_EMPTY: i32 = 393216;
58pub const ARCHIVE_FORMAT_AR_GNU: i32 = 458753;
60pub const ARCHIVE_FORMAT_AR_BSD: i32 = 458754;
61pub const ARCHIVE_FORMAT_MTREE: i32 = 524288;
62pub const ARCHIVE_FORMAT_RAW: i32 = 589824;
63pub const ARCHIVE_FORMAT_XAR: i32 = 655360;
64pub const ARCHIVE_FORMAT_LHA: i32 = 720896;
65pub const ARCHIVE_FORMAT_CAB: i32 = 786432;
66pub const ARCHIVE_FORMAT_RAR: i32 = 851968;
67pub const ARCHIVE_FORMAT_7ZIP: i32 = 917504;
68pub const ARCHIVE_FORMAT_WARC: i32 = 983040;
69pub const ARCHIVE_FORMAT_RAR_V5: i32 = 1048576;
70pub const ARCHIVE_READ_FORMAT_CAPS_NONE: i32 = 0;
71pub const ARCHIVE_READ_FORMAT_CAPS_ENCRYPT_DATA: i32 = 1;
72pub const ARCHIVE_READ_FORMAT_CAPS_ENCRYPT_METADATA: i32 = 2;
73pub const ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED: i32 = -2;
74pub const ARCHIVE_READ_FORMAT_ENCRYPTION_DONT_KNOW: i32 = -1;
75pub const ARCHIVE_EXTRACT_OWNER: i32 = 1;
76pub const ARCHIVE_EXTRACT_PERM: i32 = 2;
77pub const ARCHIVE_EXTRACT_TIME: i32 = 4;
78pub const ARCHIVE_EXTRACT_NO_OVERWRITE: i32 = 8;
79pub const ARCHIVE_EXTRACT_UNLINK: i32 = 16;
80pub const ARCHIVE_EXTRACT_ACL: i32 = 32;
81pub const ARCHIVE_EXTRACT_FFLAGS: i32 = 64;
82pub const ARCHIVE_EXTRACT_XATTR: i32 = 128;
83pub const ARCHIVE_EXTRACT_SECURE_SYMLINKS: i32 = 256;
84pub const ARCHIVE_EXTRACT_SECURE_NODOTDOT: i32 = 512;
85pub const ARCHIVE_EXTRACT_NO_AUTODIR: i32 = 1024;
86pub const ARCHIVE_EXTRACT_NO_OVERWRITE_NEWER: i32 = 2048;
87pub const ARCHIVE_EXTRACT_MAC_METADATA: i32 = 8192;
88pub const ARCHIVE_EXTRACT_NO_HFS_COMPRESSION: i32 = 16384;
89pub const ARCHIVE_EXTRACT_HFS_COMPRESSION_FORCED: i32 = 32768;
90pub const ARCHIVE_EXTRACT_SECURE_NOABSOLUTEPATHS: i32 = 65536;
91pub const ARCHIVE_EXTRACT_CLEAR_NOCHANGE_FFLAGS: i32 = 131072;
92pub const ARCHIVE_EXTRACT_SAFE_WRITES: i32 = 262144;
93pub const ARCHIVE_READDISK_RESTORE_ATIME: i32 = 1;
94pub const ARCHIVE_READDISK_HONOR_NODUMP: i32 = 2;
95pub const ARCHIVE_READDISK_MAC_COPYFILE: i32 = 4;
96pub const ARCHIVE_READDISK_NO_TRAVERSE_MOUNTS: i32 = 8;
97pub const ARCHIVE_READDISK_NO_XATTR: i32 = 16;
98pub const ARCHIVE_READDISK_NO_ACL: i32 = 32;
99pub const ARCHIVE_READDISK_NO_FFLAGS: i32 = 64;
100pub const ARCHIVE_READDISK_NO_SPARSE: i32 = 128;
101pub const ARCHIVE_MATCH_MTIME: i32 = 256;
102pub const ARCHIVE_MATCH_CTIME: i32 = 512;
103pub const ARCHIVE_MATCH_NEWER: i32 = 1;
104pub const ARCHIVE_MATCH_OLDER: i32 = 2;
105pub const ARCHIVE_MATCH_EQUAL: i32 = 16;
106pub const AE_SYMLINK_TYPE_UNDEFINED: i32 = 0;
107pub const AE_SYMLINK_TYPE_FILE: i32 = 1;
108pub const AE_SYMLINK_TYPE_DIRECTORY: i32 = 2;
109pub const ARCHIVE_ENTRY_DIGEST_MD5: i32 = 1;
110pub const ARCHIVE_ENTRY_DIGEST_RMD160: i32 = 2;
111pub const ARCHIVE_ENTRY_DIGEST_SHA1: i32 = 3;
112pub const ARCHIVE_ENTRY_DIGEST_SHA256: i32 = 4;
113pub const ARCHIVE_ENTRY_DIGEST_SHA384: i32 = 5;
114pub const ARCHIVE_ENTRY_DIGEST_SHA512: i32 = 6;
115pub const ARCHIVE_ENTRY_ACL_EXECUTE: i32 = 1;
116pub const ARCHIVE_ENTRY_ACL_WRITE: i32 = 2;
117pub const ARCHIVE_ENTRY_ACL_READ: i32 = 4;
118pub const ARCHIVE_ENTRY_ACL_READ_DATA: i32 = 8;
119pub const ARCHIVE_ENTRY_ACL_LIST_DIRECTORY: i32 = 8;
120pub const ARCHIVE_ENTRY_ACL_WRITE_DATA: i32 = 16;
121pub const ARCHIVE_ENTRY_ACL_ADD_FILE: i32 = 16;
122pub const ARCHIVE_ENTRY_ACL_APPEND_DATA: i32 = 32;
123pub const ARCHIVE_ENTRY_ACL_ADD_SUBDIRECTORY: i32 = 32;
124pub const ARCHIVE_ENTRY_ACL_READ_NAMED_ATTRS: i32 = 64;
125pub const ARCHIVE_ENTRY_ACL_WRITE_NAMED_ATTRS: i32 = 128;
126pub const ARCHIVE_ENTRY_ACL_DELETE_CHILD: i32 = 256;
127pub const ARCHIVE_ENTRY_ACL_READ_ATTRIBUTES: i32 = 512;
128pub const ARCHIVE_ENTRY_ACL_WRITE_ATTRIBUTES: i32 = 1024;
129pub const ARCHIVE_ENTRY_ACL_DELETE: i32 = 2048;
130pub const ARCHIVE_ENTRY_ACL_READ_ACL: i32 = 4096;
131pub const ARCHIVE_ENTRY_ACL_WRITE_ACL: i32 = 8192;
132pub const ARCHIVE_ENTRY_ACL_WRITE_OWNER: i32 = 16384;
133pub const ARCHIVE_ENTRY_ACL_SYNCHRONIZE: i32 = 32768;
134pub const ARCHIVE_ENTRY_ACL_ENTRY_INHERITED: i32 = 16777216;
135pub const ARCHIVE_ENTRY_ACL_ENTRY_FILE_INHERIT: i32 = 33554432;
136pub const ARCHIVE_ENTRY_ACL_ENTRY_DIRECTORY_INHERIT: i32 = 67108864;
137pub const ARCHIVE_ENTRY_ACL_ENTRY_NO_PROPAGATE_INHERIT: i32 = 134217728;
138pub const ARCHIVE_ENTRY_ACL_ENTRY_INHERIT_ONLY: i32 = 268435456;
139pub const ARCHIVE_ENTRY_ACL_ENTRY_SUCCESSFUL_ACCESS: i32 = 536870912;
140pub const ARCHIVE_ENTRY_ACL_ENTRY_FAILED_ACCESS: i32 = 1073741824;
141pub const ARCHIVE_ENTRY_ACL_TYPE_ACCESS: i32 = 256;
142pub const ARCHIVE_ENTRY_ACL_TYPE_DEFAULT: i32 = 512;
143pub const ARCHIVE_ENTRY_ACL_TYPE_ALLOW: i32 = 1024;
144pub const ARCHIVE_ENTRY_ACL_TYPE_DENY: i32 = 2048;
145pub const ARCHIVE_ENTRY_ACL_TYPE_AUDIT: i32 = 4096;
146pub const ARCHIVE_ENTRY_ACL_TYPE_ALARM: i32 = 8192;
147pub const ARCHIVE_ENTRY_ACL_TYPE_POSIX1E: i32 = 768;
148pub const ARCHIVE_ENTRY_ACL_TYPE_NFS4: i32 = 15360;
149pub const ARCHIVE_ENTRY_ACL_USER: i32 = 10001;
150pub const ARCHIVE_ENTRY_ACL_USER_OBJ: i32 = 10002;
151pub const ARCHIVE_ENTRY_ACL_GROUP: i32 = 10003;
152pub const ARCHIVE_ENTRY_ACL_GROUP_OBJ: i32 = 10004;
153pub const ARCHIVE_ENTRY_ACL_MASK: i32 = 10005;
154pub const ARCHIVE_ENTRY_ACL_OTHER: i32 = 10006;
155pub const ARCHIVE_ENTRY_ACL_EVERYONE: i32 = 10107;
156pub const ARCHIVE_ENTRY_ACL_STYLE_EXTRA_ID: i32 = 1;
157pub const ARCHIVE_ENTRY_ACL_STYLE_MARK_DEFAULT: i32 = 2;
158pub const ARCHIVE_ENTRY_ACL_STYLE_SOLARIS: i32 = 4;
159pub const ARCHIVE_ENTRY_ACL_STYLE_SEPARATOR_COMMA: i32 = 8;
160pub const ARCHIVE_ENTRY_ACL_STYLE_COMPACT: i32 = 16;
161pub type __dev_t = ::std::os::raw::c_ulong;
162pub type __uid_t = ::std::os::raw::c_uint;
163pub type __gid_t = ::std::os::raw::c_uint;
164pub type __ino_t = ::std::os::raw::c_ulong;
165pub type __mode_t = ::std::os::raw::c_uint;
166pub type __nlink_t = ::std::os::raw::c_ulong;
167pub type __off_t = ::std::os::raw::c_long;
168pub type __off64_t = ::std::os::raw::c_long;
169pub type __time_t = ::std::os::raw::c_long;
170pub type __blksize_t = ::std::os::raw::c_long;
171pub type __blkcnt_t = ::std::os::raw::c_long;
172pub type __syscall_slong_t = ::std::os::raw::c_long;
173pub type time_t = __time_t;
174pub type dev_t = __dev_t;
175pub type mode_t = __mode_t;
176pub type wchar_t = ::std::os::raw::c_int;
177#[allow(clippy::upper_case_acronyms)]
178pub type FILE = _IO_FILE;
179#[repr(C)]
180#[derive(Debug, Copy, Clone)]
181pub struct _IO_marker {
182 _unused: [u8; 0],
183}
184#[repr(C)]
185#[derive(Debug, Copy, Clone)]
186pub struct _IO_codecvt {
187 _unused: [u8; 0],
188}
189#[repr(C)]
190#[derive(Debug, Copy, Clone)]
191pub struct _IO_wide_data {
192 _unused: [u8; 0],
193}
194pub type _IO_lock_t = ::std::os::raw::c_void;
195#[repr(C)]
196#[derive(Debug, Copy, Clone)]
197pub struct _IO_FILE {
198 pub _flags: ::std::os::raw::c_int,
199 pub _IO_read_ptr: *mut ::std::os::raw::c_char,
200 pub _IO_read_end: *mut ::std::os::raw::c_char,
201 pub _IO_read_base: *mut ::std::os::raw::c_char,
202 pub _IO_write_base: *mut ::std::os::raw::c_char,
203 pub _IO_write_ptr: *mut ::std::os::raw::c_char,
204 pub _IO_write_end: *mut ::std::os::raw::c_char,
205 pub _IO_buf_base: *mut ::std::os::raw::c_char,
206 pub _IO_buf_end: *mut ::std::os::raw::c_char,
207 pub _IO_save_base: *mut ::std::os::raw::c_char,
208 pub _IO_backup_base: *mut ::std::os::raw::c_char,
209 pub _IO_save_end: *mut ::std::os::raw::c_char,
210 pub _markers: *mut _IO_marker,
211 pub _chain: *mut _IO_FILE,
212 pub _fileno: ::std::os::raw::c_int,
213 pub _flags2: ::std::os::raw::c_int,
214 pub _old_offset: __off_t,
215 pub _cur_column: ::std::os::raw::c_ushort,
216 pub _vtable_offset: ::std::os::raw::c_schar,
217 pub _shortbuf: [::std::os::raw::c_char; 1usize],
218 pub _lock: *mut _IO_lock_t,
219 pub _offset: __off64_t,
220 pub _codecvt: *mut _IO_codecvt,
221 pub _wide_data: *mut _IO_wide_data,
222 pub _freeres_list: *mut _IO_FILE,
223 pub _freeres_buf: *mut ::std::os::raw::c_void,
224 pub __pad5: usize,
225 pub _mode: ::std::os::raw::c_int,
226 pub _unused2: [::std::os::raw::c_char; 20usize],
227}
228#[test]
229fn bindgen_test_layout__IO_FILE() {
230 const UNINIT: ::std::mem::MaybeUninit<_IO_FILE> = ::std::mem::MaybeUninit::uninit();
231 let ptr = UNINIT.as_ptr();
232 assert_eq!(
233 ::std::mem::size_of::<_IO_FILE>(),
234 216usize,
235 concat!("Size of: ", stringify!(_IO_FILE))
236 );
237 assert_eq!(
238 ::std::mem::align_of::<_IO_FILE>(),
239 8usize,
240 concat!("Alignment of ", stringify!(_IO_FILE))
241 );
242 assert_eq!(
243 unsafe { ::std::ptr::addr_of!((*ptr)._flags) as usize - ptr as usize },
244 0usize,
245 concat!(
246 "Offset of field: ",
247 stringify!(_IO_FILE),
248 "::",
249 stringify!(_flags)
250 )
251 );
252 assert_eq!(
253 unsafe { ::std::ptr::addr_of!((*ptr)._IO_read_ptr) as usize - ptr as usize },
254 8usize,
255 concat!(
256 "Offset of field: ",
257 stringify!(_IO_FILE),
258 "::",
259 stringify!(_IO_read_ptr)
260 )
261 );
262 assert_eq!(
263 unsafe { ::std::ptr::addr_of!((*ptr)._IO_read_end) as usize - ptr as usize },
264 16usize,
265 concat!(
266 "Offset of field: ",
267 stringify!(_IO_FILE),
268 "::",
269 stringify!(_IO_read_end)
270 )
271 );
272 assert_eq!(
273 unsafe { ::std::ptr::addr_of!((*ptr)._IO_read_base) as usize - ptr as usize },
274 24usize,
275 concat!(
276 "Offset of field: ",
277 stringify!(_IO_FILE),
278 "::",
279 stringify!(_IO_read_base)
280 )
281 );
282 assert_eq!(
283 unsafe { ::std::ptr::addr_of!((*ptr)._IO_write_base) as usize - ptr as usize },
284 32usize,
285 concat!(
286 "Offset of field: ",
287 stringify!(_IO_FILE),
288 "::",
289 stringify!(_IO_write_base)
290 )
291 );
292 assert_eq!(
293 unsafe { ::std::ptr::addr_of!((*ptr)._IO_write_ptr) as usize - ptr as usize },
294 40usize,
295 concat!(
296 "Offset of field: ",
297 stringify!(_IO_FILE),
298 "::",
299 stringify!(_IO_write_ptr)
300 )
301 );
302 assert_eq!(
303 unsafe { ::std::ptr::addr_of!((*ptr)._IO_write_end) as usize - ptr as usize },
304 48usize,
305 concat!(
306 "Offset of field: ",
307 stringify!(_IO_FILE),
308 "::",
309 stringify!(_IO_write_end)
310 )
311 );
312 assert_eq!(
313 unsafe { ::std::ptr::addr_of!((*ptr)._IO_buf_base) as usize - ptr as usize },
314 56usize,
315 concat!(
316 "Offset of field: ",
317 stringify!(_IO_FILE),
318 "::",
319 stringify!(_IO_buf_base)
320 )
321 );
322 assert_eq!(
323 unsafe { ::std::ptr::addr_of!((*ptr)._IO_buf_end) as usize - ptr as usize },
324 64usize,
325 concat!(
326 "Offset of field: ",
327 stringify!(_IO_FILE),
328 "::",
329 stringify!(_IO_buf_end)
330 )
331 );
332 assert_eq!(
333 unsafe { ::std::ptr::addr_of!((*ptr)._IO_save_base) as usize - ptr as usize },
334 72usize,
335 concat!(
336 "Offset of field: ",
337 stringify!(_IO_FILE),
338 "::",
339 stringify!(_IO_save_base)
340 )
341 );
342 assert_eq!(
343 unsafe { ::std::ptr::addr_of!((*ptr)._IO_backup_base) as usize - ptr as usize },
344 80usize,
345 concat!(
346 "Offset of field: ",
347 stringify!(_IO_FILE),
348 "::",
349 stringify!(_IO_backup_base)
350 )
351 );
352 assert_eq!(
353 unsafe { ::std::ptr::addr_of!((*ptr)._IO_save_end) as usize - ptr as usize },
354 88usize,
355 concat!(
356 "Offset of field: ",
357 stringify!(_IO_FILE),
358 "::",
359 stringify!(_IO_save_end)
360 )
361 );
362 assert_eq!(
363 unsafe { ::std::ptr::addr_of!((*ptr)._markers) as usize - ptr as usize },
364 96usize,
365 concat!(
366 "Offset of field: ",
367 stringify!(_IO_FILE),
368 "::",
369 stringify!(_markers)
370 )
371 );
372 assert_eq!(
373 unsafe { ::std::ptr::addr_of!((*ptr)._chain) as usize - ptr as usize },
374 104usize,
375 concat!(
376 "Offset of field: ",
377 stringify!(_IO_FILE),
378 "::",
379 stringify!(_chain)
380 )
381 );
382 assert_eq!(
383 unsafe { ::std::ptr::addr_of!((*ptr)._fileno) as usize - ptr as usize },
384 112usize,
385 concat!(
386 "Offset of field: ",
387 stringify!(_IO_FILE),
388 "::",
389 stringify!(_fileno)
390 )
391 );
392 assert_eq!(
393 unsafe { ::std::ptr::addr_of!((*ptr)._flags2) as usize - ptr as usize },
394 116usize,
395 concat!(
396 "Offset of field: ",
397 stringify!(_IO_FILE),
398 "::",
399 stringify!(_flags2)
400 )
401 );
402 assert_eq!(
403 unsafe { ::std::ptr::addr_of!((*ptr)._old_offset) as usize - ptr as usize },
404 120usize,
405 concat!(
406 "Offset of field: ",
407 stringify!(_IO_FILE),
408 "::",
409 stringify!(_old_offset)
410 )
411 );
412 assert_eq!(
413 unsafe { ::std::ptr::addr_of!((*ptr)._cur_column) as usize - ptr as usize },
414 128usize,
415 concat!(
416 "Offset of field: ",
417 stringify!(_IO_FILE),
418 "::",
419 stringify!(_cur_column)
420 )
421 );
422 assert_eq!(
423 unsafe { ::std::ptr::addr_of!((*ptr)._vtable_offset) as usize - ptr as usize },
424 130usize,
425 concat!(
426 "Offset of field: ",
427 stringify!(_IO_FILE),
428 "::",
429 stringify!(_vtable_offset)
430 )
431 );
432 assert_eq!(
433 unsafe { ::std::ptr::addr_of!((*ptr)._shortbuf) as usize - ptr as usize },
434 131usize,
435 concat!(
436 "Offset of field: ",
437 stringify!(_IO_FILE),
438 "::",
439 stringify!(_shortbuf)
440 )
441 );
442 assert_eq!(
443 unsafe { ::std::ptr::addr_of!((*ptr)._lock) as usize - ptr as usize },
444 136usize,
445 concat!(
446 "Offset of field: ",
447 stringify!(_IO_FILE),
448 "::",
449 stringify!(_lock)
450 )
451 );
452 assert_eq!(
453 unsafe { ::std::ptr::addr_of!((*ptr)._offset) as usize - ptr as usize },
454 144usize,
455 concat!(
456 "Offset of field: ",
457 stringify!(_IO_FILE),
458 "::",
459 stringify!(_offset)
460 )
461 );
462 assert_eq!(
463 unsafe { ::std::ptr::addr_of!((*ptr)._codecvt) as usize - ptr as usize },
464 152usize,
465 concat!(
466 "Offset of field: ",
467 stringify!(_IO_FILE),
468 "::",
469 stringify!(_codecvt)
470 )
471 );
472 assert_eq!(
473 unsafe { ::std::ptr::addr_of!((*ptr)._wide_data) as usize - ptr as usize },
474 160usize,
475 concat!(
476 "Offset of field: ",
477 stringify!(_IO_FILE),
478 "::",
479 stringify!(_wide_data)
480 )
481 );
482 assert_eq!(
483 unsafe { ::std::ptr::addr_of!((*ptr)._freeres_list) as usize - ptr as usize },
484 168usize,
485 concat!(
486 "Offset of field: ",
487 stringify!(_IO_FILE),
488 "::",
489 stringify!(_freeres_list)
490 )
491 );
492 assert_eq!(
493 unsafe { ::std::ptr::addr_of!((*ptr)._freeres_buf) as usize - ptr as usize },
494 176usize,
495 concat!(
496 "Offset of field: ",
497 stringify!(_IO_FILE),
498 "::",
499 stringify!(_freeres_buf)
500 )
501 );
502 assert_eq!(
503 unsafe { ::std::ptr::addr_of!((*ptr).__pad5) as usize - ptr as usize },
504 184usize,
505 concat!(
506 "Offset of field: ",
507 stringify!(_IO_FILE),
508 "::",
509 stringify!(__pad5)
510 )
511 );
512 assert_eq!(
513 unsafe { ::std::ptr::addr_of!((*ptr)._mode) as usize - ptr as usize },
514 192usize,
515 concat!(
516 "Offset of field: ",
517 stringify!(_IO_FILE),
518 "::",
519 stringify!(_mode)
520 )
521 );
522 assert_eq!(
523 unsafe { ::std::ptr::addr_of!((*ptr)._unused2) as usize - ptr as usize },
524 196usize,
525 concat!(
526 "Offset of field: ",
527 stringify!(_IO_FILE),
528 "::",
529 stringify!(_unused2)
530 )
531 );
532}
533pub type la_int64_t = i64;
534pub type la_ssize_t = isize;
535extern "C" {
536 pub fn archive_version_number() -> ::std::os::raw::c_int;
537}
538extern "C" {
539 pub fn archive_version_string() -> *const ::std::os::raw::c_char;
540}
541extern "C" {
542 pub fn archive_version_details() -> *const ::std::os::raw::c_char;
543}
544extern "C" {
545 pub fn archive_zlib_version() -> *const ::std::os::raw::c_char;
546}
547extern "C" {
548 pub fn archive_liblzma_version() -> *const ::std::os::raw::c_char;
549}
550extern "C" {
551 pub fn archive_bzlib_version() -> *const ::std::os::raw::c_char;
552}
553extern "C" {
554 pub fn archive_liblz4_version() -> *const ::std::os::raw::c_char;
555}
556extern "C" {
557 pub fn archive_libzstd_version() -> *const ::std::os::raw::c_char;
558}
559#[repr(C)]
560#[derive(Debug, Copy, Clone)]
561pub struct archive {
562 _unused: [u8; 0],
563}
564#[repr(C)]
565#[derive(Debug, Clone)]
566pub struct archive_entry {
567 _unused: [u8; 0],
568}
569pub type archive_read_callback = ::std::option::Option<
570 unsafe extern "C" fn(
571 arg1: *mut archive,
572 _client_data: *mut ::std::os::raw::c_void,
573 _buffer: *mut *const ::std::os::raw::c_void,
574 ) -> la_ssize_t,
575>;
576pub type archive_skip_callback = ::std::option::Option<
577 unsafe extern "C" fn(
578 arg1: *mut archive,
579 _client_data: *mut ::std::os::raw::c_void,
580 request: la_int64_t,
581 ) -> la_int64_t,
582>;
583pub type archive_seek_callback = ::std::option::Option<
584 unsafe extern "C" fn(
585 arg1: *mut archive,
586 _client_data: *mut ::std::os::raw::c_void,
587 offset: la_int64_t,
588 whence: ::std::os::raw::c_int,
589 ) -> la_int64_t,
590>;
591pub type archive_write_callback = ::std::option::Option<
592 unsafe extern "C" fn(
593 arg1: *mut archive,
594 _client_data: *mut ::std::os::raw::c_void,
595 _buffer: *const ::std::os::raw::c_void,
596 _length: usize,
597 ) -> la_ssize_t,
598>;
599pub type archive_open_callback = ::std::option::Option<
600 unsafe extern "C" fn(
601 arg1: *mut archive,
602 _client_data: *mut ::std::os::raw::c_void,
603 ) -> ::std::os::raw::c_int,
604>;
605pub type archive_close_callback = ::std::option::Option<
606 unsafe extern "C" fn(
607 arg1: *mut archive,
608 _client_data: *mut ::std::os::raw::c_void,
609 ) -> ::std::os::raw::c_int,
610>;
611pub type archive_free_callback = ::std::option::Option<
612 unsafe extern "C" fn(
613 arg1: *mut archive,
614 _client_data: *mut ::std::os::raw::c_void,
615 ) -> ::std::os::raw::c_int,
616>;
617pub type archive_switch_callback = ::std::option::Option<
618 unsafe extern "C" fn(
619 arg1: *mut archive,
620 _client_data1: *mut ::std::os::raw::c_void,
621 _client_data2: *mut ::std::os::raw::c_void,
622 ) -> ::std::os::raw::c_int,
623>;
624pub type archive_passphrase_callback = ::std::option::Option<
625 unsafe extern "C" fn(
626 arg1: *mut archive,
627 _client_data: *mut ::std::os::raw::c_void,
628 ) -> *const ::std::os::raw::c_char,
629>;
630extern "C" {
631 pub fn archive_read_new() -> *mut archive;
632}
633extern "C" {
634 pub fn archive_read_support_filter_all(arg1: *mut archive) -> ::std::os::raw::c_int;
635}
636extern "C" {
637 pub fn archive_read_support_filter_by_code(
638 arg1: *mut archive,
639 arg2: ::std::os::raw::c_int,
640 ) -> ::std::os::raw::c_int;
641}
642extern "C" {
643 pub fn archive_read_support_filter_bzip2(arg1: *mut archive) -> ::std::os::raw::c_int;
644}
645extern "C" {
646 pub fn archive_read_support_filter_compress(arg1: *mut archive) -> ::std::os::raw::c_int;
647}
648extern "C" {
649 pub fn archive_read_support_filter_gzip(arg1: *mut archive) -> ::std::os::raw::c_int;
650}
651extern "C" {
652 pub fn archive_read_support_filter_grzip(arg1: *mut archive) -> ::std::os::raw::c_int;
653}
654extern "C" {
655 pub fn archive_read_support_filter_lrzip(arg1: *mut archive) -> ::std::os::raw::c_int;
656}
657extern "C" {
658 pub fn archive_read_support_filter_lz4(arg1: *mut archive) -> ::std::os::raw::c_int;
659}
660extern "C" {
661 pub fn archive_read_support_filter_lzip(arg1: *mut archive) -> ::std::os::raw::c_int;
662}
663extern "C" {
664 pub fn archive_read_support_filter_lzma(arg1: *mut archive) -> ::std::os::raw::c_int;
665}
666extern "C" {
667 pub fn archive_read_support_filter_lzop(arg1: *mut archive) -> ::std::os::raw::c_int;
668}
669extern "C" {
670 pub fn archive_read_support_filter_none(arg1: *mut archive) -> ::std::os::raw::c_int;
671}
672extern "C" {
673 pub fn archive_read_support_filter_program(
674 arg1: *mut archive,
675 command: *const ::std::os::raw::c_char,
676 ) -> ::std::os::raw::c_int;
677}
678extern "C" {
679 pub fn archive_read_support_filter_program_signature(
680 arg1: *mut archive,
681 arg2: *const ::std::os::raw::c_char,
682 arg3: *const ::std::os::raw::c_void,
683 arg4: usize,
684 ) -> ::std::os::raw::c_int;
685}
686extern "C" {
687 pub fn archive_read_support_filter_rpm(arg1: *mut archive) -> ::std::os::raw::c_int;
688}
689extern "C" {
690 pub fn archive_read_support_filter_uu(arg1: *mut archive) -> ::std::os::raw::c_int;
691}
692extern "C" {
693 pub fn archive_read_support_filter_xz(arg1: *mut archive) -> ::std::os::raw::c_int;
694}
695extern "C" {
696 pub fn archive_read_support_filter_zstd(arg1: *mut archive) -> ::std::os::raw::c_int;
697}
698extern "C" {
699 pub fn archive_read_support_format_7zip(arg1: *mut archive) -> ::std::os::raw::c_int;
700}
701extern "C" {
702 pub fn archive_read_support_format_all(arg1: *mut archive) -> ::std::os::raw::c_int;
703}
704extern "C" {
705 pub fn archive_read_support_format_ar(arg1: *mut archive) -> ::std::os::raw::c_int;
706}
707extern "C" {
708 pub fn archive_read_support_format_by_code(
709 arg1: *mut archive,
710 arg2: ::std::os::raw::c_int,
711 ) -> ::std::os::raw::c_int;
712}
713extern "C" {
714 pub fn archive_read_support_format_cab(arg1: *mut archive) -> ::std::os::raw::c_int;
715}
716extern "C" {
717 pub fn archive_read_support_format_cpio(arg1: *mut archive) -> ::std::os::raw::c_int;
718}
719extern "C" {
720 pub fn archive_read_support_format_empty(arg1: *mut archive) -> ::std::os::raw::c_int;
721}
722extern "C" {
723 pub fn archive_read_support_format_gnutar(arg1: *mut archive) -> ::std::os::raw::c_int;
724}
725extern "C" {
726 pub fn archive_read_support_format_iso9660(arg1: *mut archive) -> ::std::os::raw::c_int;
727}
728extern "C" {
729 pub fn archive_read_support_format_lha(arg1: *mut archive) -> ::std::os::raw::c_int;
730}
731extern "C" {
732 pub fn archive_read_support_format_mtree(arg1: *mut archive) -> ::std::os::raw::c_int;
733}
734extern "C" {
735 pub fn archive_read_support_format_rar(arg1: *mut archive) -> ::std::os::raw::c_int;
736}
737extern "C" {
738 pub fn archive_read_support_format_rar5(arg1: *mut archive) -> ::std::os::raw::c_int;
739}
740extern "C" {
741 pub fn archive_read_support_format_raw(arg1: *mut archive) -> ::std::os::raw::c_int;
742}
743extern "C" {
744 pub fn archive_read_support_format_tar(arg1: *mut archive) -> ::std::os::raw::c_int;
745}
746extern "C" {
747 pub fn archive_read_support_format_warc(arg1: *mut archive) -> ::std::os::raw::c_int;
748}
749extern "C" {
750 pub fn archive_read_support_format_xar(arg1: *mut archive) -> ::std::os::raw::c_int;
751}
752extern "C" {
753 pub fn archive_read_support_format_zip(arg1: *mut archive) -> ::std::os::raw::c_int;
754}
755extern "C" {
756 pub fn archive_read_support_format_zip_streamable(arg1: *mut archive) -> ::std::os::raw::c_int;
757}
758extern "C" {
759 pub fn archive_read_support_format_zip_seekable(arg1: *mut archive) -> ::std::os::raw::c_int;
760}
761extern "C" {
762 pub fn archive_read_set_format(
763 arg1: *mut archive,
764 arg2: ::std::os::raw::c_int,
765 ) -> ::std::os::raw::c_int;
766}
767extern "C" {
768 pub fn archive_read_append_filter(
769 arg1: *mut archive,
770 arg2: ::std::os::raw::c_int,
771 ) -> ::std::os::raw::c_int;
772}
773extern "C" {
774 pub fn archive_read_append_filter_program(
775 arg1: *mut archive,
776 arg2: *const ::std::os::raw::c_char,
777 ) -> ::std::os::raw::c_int;
778}
779extern "C" {
780 pub fn archive_read_append_filter_program_signature(
781 arg1: *mut archive,
782 arg2: *const ::std::os::raw::c_char,
783 arg3: *const ::std::os::raw::c_void,
784 arg4: usize,
785 ) -> ::std::os::raw::c_int;
786}
787extern "C" {
788 pub fn archive_read_set_open_callback(
789 arg1: *mut archive,
790 arg2: archive_open_callback,
791 ) -> ::std::os::raw::c_int;
792}
793extern "C" {
794 pub fn archive_read_set_read_callback(
795 arg1: *mut archive,
796 arg2: archive_read_callback,
797 ) -> ::std::os::raw::c_int;
798}
799extern "C" {
800 pub fn archive_read_set_seek_callback(
801 arg1: *mut archive,
802 arg2: archive_seek_callback,
803 ) -> ::std::os::raw::c_int;
804}
805extern "C" {
806 pub fn archive_read_set_skip_callback(
807 arg1: *mut archive,
808 arg2: archive_skip_callback,
809 ) -> ::std::os::raw::c_int;
810}
811extern "C" {
812 pub fn archive_read_set_close_callback(
813 arg1: *mut archive,
814 arg2: archive_close_callback,
815 ) -> ::std::os::raw::c_int;
816}
817extern "C" {
818 pub fn archive_read_set_switch_callback(
819 arg1: *mut archive,
820 arg2: archive_switch_callback,
821 ) -> ::std::os::raw::c_int;
822}
823extern "C" {
824 pub fn archive_read_set_callback_data(
825 arg1: *mut archive,
826 arg2: *mut ::std::os::raw::c_void,
827 ) -> ::std::os::raw::c_int;
828}
829extern "C" {
830 pub fn archive_read_set_callback_data2(
831 arg1: *mut archive,
832 arg2: *mut ::std::os::raw::c_void,
833 arg3: ::std::os::raw::c_uint,
834 ) -> ::std::os::raw::c_int;
835}
836extern "C" {
837 pub fn archive_read_add_callback_data(
838 arg1: *mut archive,
839 arg2: *mut ::std::os::raw::c_void,
840 arg3: ::std::os::raw::c_uint,
841 ) -> ::std::os::raw::c_int;
842}
843extern "C" {
844 pub fn archive_read_append_callback_data(
845 arg1: *mut archive,
846 arg2: *mut ::std::os::raw::c_void,
847 ) -> ::std::os::raw::c_int;
848}
849extern "C" {
850 pub fn archive_read_prepend_callback_data(
851 arg1: *mut archive,
852 arg2: *mut ::std::os::raw::c_void,
853 ) -> ::std::os::raw::c_int;
854}
855extern "C" {
856 pub fn archive_read_open1(arg1: *mut archive) -> ::std::os::raw::c_int;
857}
858extern "C" {
859 pub fn archive_read_open(
860 arg1: *mut archive,
861 _client_data: *mut ::std::os::raw::c_void,
862 arg2: archive_open_callback,
863 arg3: archive_read_callback,
864 arg4: archive_close_callback,
865 ) -> ::std::os::raw::c_int;
866}
867extern "C" {
868 pub fn archive_read_open2(
869 arg1: *mut archive,
870 _client_data: *mut ::std::os::raw::c_void,
871 arg2: archive_open_callback,
872 arg3: archive_read_callback,
873 arg4: archive_skip_callback,
874 arg5: archive_close_callback,
875 ) -> ::std::os::raw::c_int;
876}
877extern "C" {
878 pub fn archive_read_open_filename(
879 arg1: *mut archive,
880 _filename: *const ::std::os::raw::c_char,
881 _block_size: usize,
882 ) -> ::std::os::raw::c_int;
883}
884extern "C" {
885 pub fn archive_read_open_filenames(
886 arg1: *mut archive,
887 _filenames: *mut *const ::std::os::raw::c_char,
888 _block_size: usize,
889 ) -> ::std::os::raw::c_int;
890}
891extern "C" {
892 pub fn archive_read_open_filename_w(
893 arg1: *mut archive,
894 _filename: *const wchar_t,
895 _block_size: usize,
896 ) -> ::std::os::raw::c_int;
897}
898extern "C" {
899 pub fn archive_read_open_file(
900 arg1: *mut archive,
901 _filename: *const ::std::os::raw::c_char,
902 _block_size: usize,
903 ) -> ::std::os::raw::c_int;
904}
905extern "C" {
906 pub fn archive_read_open_memory(
907 arg1: *mut archive,
908 buff: *const ::std::os::raw::c_void,
909 size: usize,
910 ) -> ::std::os::raw::c_int;
911}
912extern "C" {
913 pub fn archive_read_open_memory2(
914 a: *mut archive,
915 buff: *const ::std::os::raw::c_void,
916 size: usize,
917 read_size: usize,
918 ) -> ::std::os::raw::c_int;
919}
920extern "C" {
921 pub fn archive_read_open_fd(
922 arg1: *mut archive,
923 _fd: ::std::os::raw::c_int,
924 _block_size: usize,
925 ) -> ::std::os::raw::c_int;
926}
927extern "C" {
928 pub fn archive_read_open_FILE(arg1: *mut archive, _file: *mut FILE) -> ::std::os::raw::c_int;
929}
930extern "C" {
931 pub fn archive_read_next_header(
932 arg1: *mut archive,
933 arg2: *mut *mut archive_entry,
934 ) -> ::std::os::raw::c_int;
935}
936extern "C" {
937 pub fn archive_read_next_header2(
938 arg1: *mut archive,
939 arg2: *mut archive_entry,
940 ) -> ::std::os::raw::c_int;
941}
942extern "C" {
943 pub fn archive_read_header_position(arg1: *mut archive) -> la_int64_t;
944}
945extern "C" {
946 pub fn archive_read_has_encrypted_entries(arg1: *mut archive) -> ::std::os::raw::c_int;
947}
948extern "C" {
949 pub fn archive_read_format_capabilities(arg1: *mut archive) -> ::std::os::raw::c_int;
950}
951extern "C" {
952 pub fn archive_read_data(
953 arg1: *mut archive,
954 arg2: *mut ::std::os::raw::c_void,
955 arg3: usize,
956 ) -> la_ssize_t;
957}
958extern "C" {
959 pub fn archive_seek_data(
960 arg1: *mut archive,
961 arg2: la_int64_t,
962 arg3: ::std::os::raw::c_int,
963 ) -> la_int64_t;
964}
965extern "C" {
966 pub fn archive_read_data_block(
967 a: *mut archive,
968 buff: *mut *const ::std::os::raw::c_void,
969 size: *mut usize,
970 offset: *mut la_int64_t,
971 ) -> ::std::os::raw::c_int;
972}
973extern "C" {
974 pub fn archive_read_data_skip(arg1: *mut archive) -> ::std::os::raw::c_int;
975}
976extern "C" {
977 pub fn archive_read_data_into_fd(
978 arg1: *mut archive,
979 fd: ::std::os::raw::c_int,
980 ) -> ::std::os::raw::c_int;
981}
982extern "C" {
983 pub fn archive_read_set_format_option(
984 _a: *mut archive,
985 m: *const ::std::os::raw::c_char,
986 o: *const ::std::os::raw::c_char,
987 v: *const ::std::os::raw::c_char,
988 ) -> ::std::os::raw::c_int;
989}
990extern "C" {
991 pub fn archive_read_set_filter_option(
992 _a: *mut archive,
993 m: *const ::std::os::raw::c_char,
994 o: *const ::std::os::raw::c_char,
995 v: *const ::std::os::raw::c_char,
996 ) -> ::std::os::raw::c_int;
997}
998extern "C" {
999 pub fn archive_read_set_option(
1000 _a: *mut archive,
1001 m: *const ::std::os::raw::c_char,
1002 o: *const ::std::os::raw::c_char,
1003 v: *const ::std::os::raw::c_char,
1004 ) -> ::std::os::raw::c_int;
1005}
1006extern "C" {
1007 pub fn archive_read_set_options(
1008 _a: *mut archive,
1009 opts: *const ::std::os::raw::c_char,
1010 ) -> ::std::os::raw::c_int;
1011}
1012extern "C" {
1013 pub fn archive_read_add_passphrase(
1014 arg1: *mut archive,
1015 arg2: *const ::std::os::raw::c_char,
1016 ) -> ::std::os::raw::c_int;
1017}
1018extern "C" {
1019 pub fn archive_read_set_passphrase_callback(
1020 arg1: *mut archive,
1021 client_data: *mut ::std::os::raw::c_void,
1022 arg2: archive_passphrase_callback,
1023 ) -> ::std::os::raw::c_int;
1024}
1025extern "C" {
1026 pub fn archive_read_extract(
1027 arg1: *mut archive,
1028 arg2: *mut archive_entry,
1029 flags: ::std::os::raw::c_int,
1030 ) -> ::std::os::raw::c_int;
1031}
1032extern "C" {
1033 pub fn archive_read_extract2(
1034 arg1: *mut archive,
1035 arg2: *mut archive_entry,
1036 arg3: *mut archive,
1037 ) -> ::std::os::raw::c_int;
1038}
1039extern "C" {
1040 pub fn archive_read_extract_set_progress_callback(
1041 arg1: *mut archive,
1042 _progress_func: ::std::option::Option<
1043 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
1044 >,
1045 _user_data: *mut ::std::os::raw::c_void,
1046 );
1047}
1048extern "C" {
1049 pub fn archive_read_extract_set_skip_file(
1050 arg1: *mut archive,
1051 arg2: la_int64_t,
1052 arg3: la_int64_t,
1053 );
1054}
1055extern "C" {
1056 pub fn archive_read_close(arg1: *mut archive) -> ::std::os::raw::c_int;
1057}
1058extern "C" {
1059 pub fn archive_read_free(arg1: *mut archive) -> ::std::os::raw::c_int;
1060}
1061extern "C" {
1062 pub fn archive_write_new() -> *mut archive;
1063}
1064extern "C" {
1065 pub fn archive_write_set_bytes_per_block(
1066 arg1: *mut archive,
1067 bytes_per_block: ::std::os::raw::c_int,
1068 ) -> ::std::os::raw::c_int;
1069}
1070extern "C" {
1071 pub fn archive_write_get_bytes_per_block(arg1: *mut archive) -> ::std::os::raw::c_int;
1072}
1073extern "C" {
1074 pub fn archive_write_set_bytes_in_last_block(
1075 arg1: *mut archive,
1076 bytes_in_last_block: ::std::os::raw::c_int,
1077 ) -> ::std::os::raw::c_int;
1078}
1079extern "C" {
1080 pub fn archive_write_get_bytes_in_last_block(arg1: *mut archive) -> ::std::os::raw::c_int;
1081}
1082extern "C" {
1083 pub fn archive_write_set_skip_file(
1084 arg1: *mut archive,
1085 arg2: la_int64_t,
1086 arg3: la_int64_t,
1087 ) -> ::std::os::raw::c_int;
1088}
1089extern "C" {
1090 pub fn archive_write_add_filter(
1091 arg1: *mut archive,
1092 filter_code: ::std::os::raw::c_int,
1093 ) -> ::std::os::raw::c_int;
1094}
1095extern "C" {
1096 pub fn archive_write_add_filter_by_name(
1097 arg1: *mut archive,
1098 name: *const ::std::os::raw::c_char,
1099 ) -> ::std::os::raw::c_int;
1100}
1101extern "C" {
1102 pub fn archive_write_add_filter_b64encode(arg1: *mut archive) -> ::std::os::raw::c_int;
1103}
1104extern "C" {
1105 pub fn archive_write_add_filter_bzip2(arg1: *mut archive) -> ::std::os::raw::c_int;
1106}
1107extern "C" {
1108 pub fn archive_write_add_filter_compress(arg1: *mut archive) -> ::std::os::raw::c_int;
1109}
1110extern "C" {
1111 pub fn archive_write_add_filter_grzip(arg1: *mut archive) -> ::std::os::raw::c_int;
1112}
1113extern "C" {
1114 pub fn archive_write_add_filter_gzip(arg1: *mut archive) -> ::std::os::raw::c_int;
1115}
1116extern "C" {
1117 pub fn archive_write_add_filter_lrzip(arg1: *mut archive) -> ::std::os::raw::c_int;
1118}
1119extern "C" {
1120 pub fn archive_write_add_filter_lz4(arg1: *mut archive) -> ::std::os::raw::c_int;
1121}
1122extern "C" {
1123 pub fn archive_write_add_filter_lzip(arg1: *mut archive) -> ::std::os::raw::c_int;
1124}
1125extern "C" {
1126 pub fn archive_write_add_filter_lzma(arg1: *mut archive) -> ::std::os::raw::c_int;
1127}
1128extern "C" {
1129 pub fn archive_write_add_filter_lzop(arg1: *mut archive) -> ::std::os::raw::c_int;
1130}
1131extern "C" {
1132 pub fn archive_write_add_filter_none(arg1: *mut archive) -> ::std::os::raw::c_int;
1133}
1134extern "C" {
1135 pub fn archive_write_add_filter_program(
1136 arg1: *mut archive,
1137 cmd: *const ::std::os::raw::c_char,
1138 ) -> ::std::os::raw::c_int;
1139}
1140extern "C" {
1141 pub fn archive_write_add_filter_uuencode(arg1: *mut archive) -> ::std::os::raw::c_int;
1142}
1143extern "C" {
1144 pub fn archive_write_add_filter_xz(arg1: *mut archive) -> ::std::os::raw::c_int;
1145}
1146extern "C" {
1147 pub fn archive_write_add_filter_zstd(arg1: *mut archive) -> ::std::os::raw::c_int;
1148}
1149extern "C" {
1150 pub fn archive_write_set_format(
1151 arg1: *mut archive,
1152 format_code: ::std::os::raw::c_int,
1153 ) -> ::std::os::raw::c_int;
1154}
1155extern "C" {
1156 pub fn archive_write_set_format_by_name(
1157 arg1: *mut archive,
1158 name: *const ::std::os::raw::c_char,
1159 ) -> ::std::os::raw::c_int;
1160}
1161extern "C" {
1162 pub fn archive_write_set_format_7zip(arg1: *mut archive) -> ::std::os::raw::c_int;
1163}
1164extern "C" {
1165 pub fn archive_write_set_format_ar_bsd(arg1: *mut archive) -> ::std::os::raw::c_int;
1166}
1167extern "C" {
1168 pub fn archive_write_set_format_ar_svr4(arg1: *mut archive) -> ::std::os::raw::c_int;
1169}
1170extern "C" {
1171 pub fn archive_write_set_format_cpio(arg1: *mut archive) -> ::std::os::raw::c_int;
1172}
1173extern "C" {
1174 pub fn archive_write_set_format_cpio_bin(arg1: *mut archive) -> ::std::os::raw::c_int;
1175}
1176extern "C" {
1177 pub fn archive_write_set_format_cpio_newc(arg1: *mut archive) -> ::std::os::raw::c_int;
1178}
1179extern "C" {
1180 pub fn archive_write_set_format_cpio_odc(arg1: *mut archive) -> ::std::os::raw::c_int;
1181}
1182extern "C" {
1183 pub fn archive_write_set_format_cpio_pwb(arg1: *mut archive) -> ::std::os::raw::c_int;
1184}
1185extern "C" {
1186 pub fn archive_write_set_format_gnutar(arg1: *mut archive) -> ::std::os::raw::c_int;
1187}
1188extern "C" {
1189 pub fn archive_write_set_format_iso9660(arg1: *mut archive) -> ::std::os::raw::c_int;
1190}
1191extern "C" {
1192 pub fn archive_write_set_format_mtree(arg1: *mut archive) -> ::std::os::raw::c_int;
1193}
1194extern "C" {
1195 pub fn archive_write_set_format_mtree_classic(arg1: *mut archive) -> ::std::os::raw::c_int;
1196}
1197extern "C" {
1198 pub fn archive_write_set_format_pax(arg1: *mut archive) -> ::std::os::raw::c_int;
1199}
1200extern "C" {
1201 pub fn archive_write_set_format_pax_restricted(arg1: *mut archive) -> ::std::os::raw::c_int;
1202}
1203extern "C" {
1204 pub fn archive_write_set_format_raw(arg1: *mut archive) -> ::std::os::raw::c_int;
1205}
1206extern "C" {
1207 pub fn archive_write_set_format_shar(arg1: *mut archive) -> ::std::os::raw::c_int;
1208}
1209extern "C" {
1210 pub fn archive_write_set_format_shar_dump(arg1: *mut archive) -> ::std::os::raw::c_int;
1211}
1212extern "C" {
1213 pub fn archive_write_set_format_ustar(arg1: *mut archive) -> ::std::os::raw::c_int;
1214}
1215extern "C" {
1216 pub fn archive_write_set_format_v7tar(arg1: *mut archive) -> ::std::os::raw::c_int;
1217}
1218extern "C" {
1219 pub fn archive_write_set_format_warc(arg1: *mut archive) -> ::std::os::raw::c_int;
1220}
1221extern "C" {
1222 pub fn archive_write_set_format_xar(arg1: *mut archive) -> ::std::os::raw::c_int;
1223}
1224extern "C" {
1225 pub fn archive_write_set_format_zip(arg1: *mut archive) -> ::std::os::raw::c_int;
1226}
1227extern "C" {
1228 pub fn archive_write_set_format_filter_by_ext(
1229 a: *mut archive,
1230 filename: *const ::std::os::raw::c_char,
1231 ) -> ::std::os::raw::c_int;
1232}
1233extern "C" {
1234 pub fn archive_write_set_format_filter_by_ext_def(
1235 a: *mut archive,
1236 filename: *const ::std::os::raw::c_char,
1237 def_ext: *const ::std::os::raw::c_char,
1238 ) -> ::std::os::raw::c_int;
1239}
1240extern "C" {
1241 pub fn archive_write_zip_set_compression_deflate(arg1: *mut archive) -> ::std::os::raw::c_int;
1242}
1243extern "C" {
1244 pub fn archive_write_zip_set_compression_store(arg1: *mut archive) -> ::std::os::raw::c_int;
1245}
1246extern "C" {
1247 pub fn archive_write_open(
1248 arg1: *mut archive,
1249 arg2: *mut ::std::os::raw::c_void,
1250 arg3: archive_open_callback,
1251 arg4: archive_write_callback,
1252 arg5: archive_close_callback,
1253 ) -> ::std::os::raw::c_int;
1254}
1255extern "C" {
1256 pub fn archive_write_open2(
1257 arg1: *mut archive,
1258 arg2: *mut ::std::os::raw::c_void,
1259 arg3: archive_open_callback,
1260 arg4: archive_write_callback,
1261 arg5: archive_close_callback,
1262 arg6: archive_free_callback,
1263 ) -> ::std::os::raw::c_int;
1264}
1265extern "C" {
1266 pub fn archive_write_open_fd(
1267 arg1: *mut archive,
1268 _fd: ::std::os::raw::c_int,
1269 ) -> ::std::os::raw::c_int;
1270}
1271extern "C" {
1272 pub fn archive_write_open_filename(
1273 arg1: *mut archive,
1274 _file: *const ::std::os::raw::c_char,
1275 ) -> ::std::os::raw::c_int;
1276}
1277extern "C" {
1278 pub fn archive_write_open_filename_w(
1279 arg1: *mut archive,
1280 _file: *const wchar_t,
1281 ) -> ::std::os::raw::c_int;
1282}
1283extern "C" {
1284 pub fn archive_write_open_file(
1285 arg1: *mut archive,
1286 _file: *const ::std::os::raw::c_char,
1287 ) -> ::std::os::raw::c_int;
1288}
1289extern "C" {
1290 pub fn archive_write_open_FILE(arg1: *mut archive, arg2: *mut FILE) -> ::std::os::raw::c_int;
1291}
1292extern "C" {
1293 pub fn archive_write_open_memory(
1294 arg1: *mut archive,
1295 _buffer: *mut ::std::os::raw::c_void,
1296 _buffSize: usize,
1297 _used: *mut usize,
1298 ) -> ::std::os::raw::c_int;
1299}
1300extern "C" {
1301 pub fn archive_write_header(
1302 arg1: *mut archive,
1303 arg2: *mut archive_entry,
1304 ) -> ::std::os::raw::c_int;
1305}
1306extern "C" {
1307 pub fn archive_write_data(
1308 arg1: *mut archive,
1309 arg2: *const ::std::os::raw::c_void,
1310 arg3: usize,
1311 ) -> la_ssize_t;
1312}
1313extern "C" {
1314 pub fn archive_write_data_block(
1315 arg1: *mut archive,
1316 arg2: *const ::std::os::raw::c_void,
1317 arg3: usize,
1318 arg4: la_int64_t,
1319 ) -> la_ssize_t;
1320}
1321extern "C" {
1322 pub fn archive_write_finish_entry(arg1: *mut archive) -> ::std::os::raw::c_int;
1323}
1324extern "C" {
1325 pub fn archive_write_close(arg1: *mut archive) -> ::std::os::raw::c_int;
1326}
1327extern "C" {
1328 pub fn archive_write_fail(arg1: *mut archive) -> ::std::os::raw::c_int;
1329}
1330extern "C" {
1331 pub fn archive_write_free(arg1: *mut archive) -> ::std::os::raw::c_int;
1332}
1333extern "C" {
1334 pub fn archive_write_set_format_option(
1335 _a: *mut archive,
1336 m: *const ::std::os::raw::c_char,
1337 o: *const ::std::os::raw::c_char,
1338 v: *const ::std::os::raw::c_char,
1339 ) -> ::std::os::raw::c_int;
1340}
1341extern "C" {
1342 pub fn archive_write_set_filter_option(
1343 _a: *mut archive,
1344 m: *const ::std::os::raw::c_char,
1345 o: *const ::std::os::raw::c_char,
1346 v: *const ::std::os::raw::c_char,
1347 ) -> ::std::os::raw::c_int;
1348}
1349extern "C" {
1350 pub fn archive_write_set_option(
1351 _a: *mut archive,
1352 m: *const ::std::os::raw::c_char,
1353 o: *const ::std::os::raw::c_char,
1354 v: *const ::std::os::raw::c_char,
1355 ) -> ::std::os::raw::c_int;
1356}
1357extern "C" {
1358 pub fn archive_write_set_options(
1359 _a: *mut archive,
1360 opts: *const ::std::os::raw::c_char,
1361 ) -> ::std::os::raw::c_int;
1362}
1363extern "C" {
1364 pub fn archive_write_set_passphrase(
1365 _a: *mut archive,
1366 p: *const ::std::os::raw::c_char,
1367 ) -> ::std::os::raw::c_int;
1368}
1369extern "C" {
1370 pub fn archive_write_set_passphrase_callback(
1371 arg1: *mut archive,
1372 client_data: *mut ::std::os::raw::c_void,
1373 arg2: archive_passphrase_callback,
1374 ) -> ::std::os::raw::c_int;
1375}
1376extern "C" {
1377 pub fn archive_write_disk_new() -> *mut archive;
1378}
1379extern "C" {
1380 pub fn archive_write_disk_set_skip_file(
1381 arg1: *mut archive,
1382 arg2: la_int64_t,
1383 arg3: la_int64_t,
1384 ) -> ::std::os::raw::c_int;
1385}
1386extern "C" {
1387 pub fn archive_write_disk_set_options(
1388 arg1: *mut archive,
1389 flags: ::std::os::raw::c_int,
1390 ) -> ::std::os::raw::c_int;
1391}
1392extern "C" {
1393 pub fn archive_write_disk_set_standard_lookup(arg1: *mut archive) -> ::std::os::raw::c_int;
1394}
1395extern "C" {
1396 pub fn archive_write_disk_set_group_lookup(
1397 arg1: *mut archive,
1398 arg2: *mut ::std::os::raw::c_void,
1399 arg3: ::std::option::Option<
1400 unsafe extern "C" fn(
1401 arg1: *mut ::std::os::raw::c_void,
1402 arg2: *const ::std::os::raw::c_char,
1403 arg3: la_int64_t,
1404 ) -> la_int64_t,
1405 >,
1406 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1407 ) -> ::std::os::raw::c_int;
1408}
1409extern "C" {
1410 pub fn archive_write_disk_set_user_lookup(
1411 arg1: *mut archive,
1412 arg2: *mut ::std::os::raw::c_void,
1413 arg3: ::std::option::Option<
1414 unsafe extern "C" fn(
1415 arg1: *mut ::std::os::raw::c_void,
1416 arg2: *const ::std::os::raw::c_char,
1417 arg3: la_int64_t,
1418 ) -> la_int64_t,
1419 >,
1420 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1421 ) -> ::std::os::raw::c_int;
1422}
1423extern "C" {
1424 pub fn archive_write_disk_gid(
1425 arg1: *mut archive,
1426 arg2: *const ::std::os::raw::c_char,
1427 arg3: la_int64_t,
1428 ) -> la_int64_t;
1429}
1430extern "C" {
1431 pub fn archive_write_disk_uid(
1432 arg1: *mut archive,
1433 arg2: *const ::std::os::raw::c_char,
1434 arg3: la_int64_t,
1435 ) -> la_int64_t;
1436}
1437extern "C" {
1438 pub fn archive_read_disk_new() -> *mut archive;
1439}
1440extern "C" {
1441 pub fn archive_read_disk_set_symlink_logical(arg1: *mut archive) -> ::std::os::raw::c_int;
1442}
1443extern "C" {
1444 pub fn archive_read_disk_set_symlink_physical(arg1: *mut archive) -> ::std::os::raw::c_int;
1445}
1446extern "C" {
1447 pub fn archive_read_disk_set_symlink_hybrid(arg1: *mut archive) -> ::std::os::raw::c_int;
1448}
1449extern "C" {
1450 pub fn archive_read_disk_entry_from_file(
1451 arg1: *mut archive,
1452 arg2: *mut archive_entry,
1453 arg3: ::std::os::raw::c_int,
1454 arg4: *const stat,
1455 ) -> ::std::os::raw::c_int;
1456}
1457extern "C" {
1458 pub fn archive_read_disk_gname(
1459 arg1: *mut archive,
1460 arg2: la_int64_t,
1461 ) -> *const ::std::os::raw::c_char;
1462}
1463extern "C" {
1464 pub fn archive_read_disk_uname(
1465 arg1: *mut archive,
1466 arg2: la_int64_t,
1467 ) -> *const ::std::os::raw::c_char;
1468}
1469extern "C" {
1470 pub fn archive_read_disk_set_standard_lookup(arg1: *mut archive) -> ::std::os::raw::c_int;
1471}
1472extern "C" {
1473 pub fn archive_read_disk_set_gname_lookup(
1474 arg1: *mut archive,
1475 arg2: *mut ::std::os::raw::c_void,
1476 arg3: ::std::option::Option<
1477 unsafe extern "C" fn(
1478 arg1: *mut ::std::os::raw::c_void,
1479 arg2: la_int64_t,
1480 ) -> *const ::std::os::raw::c_char,
1481 >,
1482 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1483 ) -> ::std::os::raw::c_int;
1484}
1485extern "C" {
1486 pub fn archive_read_disk_set_uname_lookup(
1487 arg1: *mut archive,
1488 arg2: *mut ::std::os::raw::c_void,
1489 arg3: ::std::option::Option<
1490 unsafe extern "C" fn(
1491 arg1: *mut ::std::os::raw::c_void,
1492 arg2: la_int64_t,
1493 ) -> *const ::std::os::raw::c_char,
1494 >,
1495 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1496 ) -> ::std::os::raw::c_int;
1497}
1498extern "C" {
1499 pub fn archive_read_disk_open(
1500 arg1: *mut archive,
1501 arg2: *const ::std::os::raw::c_char,
1502 ) -> ::std::os::raw::c_int;
1503}
1504extern "C" {
1505 pub fn archive_read_disk_open_w(
1506 arg1: *mut archive,
1507 arg2: *const wchar_t,
1508 ) -> ::std::os::raw::c_int;
1509}
1510extern "C" {
1511 pub fn archive_read_disk_descend(arg1: *mut archive) -> ::std::os::raw::c_int;
1512}
1513extern "C" {
1514 pub fn archive_read_disk_can_descend(arg1: *mut archive) -> ::std::os::raw::c_int;
1515}
1516extern "C" {
1517 pub fn archive_read_disk_current_filesystem(arg1: *mut archive) -> ::std::os::raw::c_int;
1518}
1519extern "C" {
1520 pub fn archive_read_disk_current_filesystem_is_synthetic(
1521 arg1: *mut archive,
1522 ) -> ::std::os::raw::c_int;
1523}
1524extern "C" {
1525 pub fn archive_read_disk_current_filesystem_is_remote(
1526 arg1: *mut archive,
1527 ) -> ::std::os::raw::c_int;
1528}
1529extern "C" {
1530 pub fn archive_read_disk_set_atime_restored(arg1: *mut archive) -> ::std::os::raw::c_int;
1531}
1532extern "C" {
1533 pub fn archive_read_disk_set_behavior(
1534 arg1: *mut archive,
1535 flags: ::std::os::raw::c_int,
1536 ) -> ::std::os::raw::c_int;
1537}
1538extern "C" {
1539 pub fn archive_read_disk_set_matching(
1540 arg1: *mut archive,
1541 _matching: *mut archive,
1542 _excluded_func: ::std::option::Option<
1543 unsafe extern "C" fn(
1544 arg1: *mut archive,
1545 arg2: *mut ::std::os::raw::c_void,
1546 arg3: *mut archive_entry,
1547 ),
1548 >,
1549 _client_data: *mut ::std::os::raw::c_void,
1550 ) -> ::std::os::raw::c_int;
1551}
1552extern "C" {
1553 pub fn archive_read_disk_set_metadata_filter_callback(
1554 arg1: *mut archive,
1555 _metadata_filter_func: ::std::option::Option<
1556 unsafe extern "C" fn(
1557 arg1: *mut archive,
1558 arg2: *mut ::std::os::raw::c_void,
1559 arg3: *mut archive_entry,
1560 ) -> ::std::os::raw::c_int,
1561 >,
1562 _client_data: *mut ::std::os::raw::c_void,
1563 ) -> ::std::os::raw::c_int;
1564}
1565extern "C" {
1566 pub fn archive_free(arg1: *mut archive) -> ::std::os::raw::c_int;
1567}
1568extern "C" {
1569 pub fn archive_filter_count(arg1: *mut archive) -> ::std::os::raw::c_int;
1570}
1571extern "C" {
1572 pub fn archive_filter_bytes(arg1: *mut archive, arg2: ::std::os::raw::c_int) -> la_int64_t;
1573}
1574extern "C" {
1575 pub fn archive_filter_code(
1576 arg1: *mut archive,
1577 arg2: ::std::os::raw::c_int,
1578 ) -> ::std::os::raw::c_int;
1579}
1580extern "C" {
1581 pub fn archive_filter_name(
1582 arg1: *mut archive,
1583 arg2: ::std::os::raw::c_int,
1584 ) -> *const ::std::os::raw::c_char;
1585}
1586extern "C" {
1587 pub fn archive_errno(arg1: *mut archive) -> ::std::os::raw::c_int;
1588}
1589extern "C" {
1590 pub fn archive_error_string(arg1: *mut archive) -> *const ::std::os::raw::c_char;
1591}
1592extern "C" {
1593 pub fn archive_format_name(arg1: *mut archive) -> *const ::std::os::raw::c_char;
1594}
1595extern "C" {
1596 pub fn archive_format(arg1: *mut archive) -> ::std::os::raw::c_int;
1597}
1598extern "C" {
1599 pub fn archive_clear_error(arg1: *mut archive);
1600}
1601extern "C" {
1602 pub fn archive_set_error(
1603 arg1: *mut archive,
1604 _err: ::std::os::raw::c_int,
1605 fmt: *const ::std::os::raw::c_char,
1606 ...
1607 );
1608}
1609extern "C" {
1610 pub fn archive_copy_error(dest: *mut archive, src: *mut archive);
1611}
1612extern "C" {
1613 pub fn archive_file_count(arg1: *mut archive) -> ::std::os::raw::c_int;
1614}
1615extern "C" {
1616 pub fn archive_match_new() -> *mut archive;
1617}
1618extern "C" {
1619 pub fn archive_match_free(arg1: *mut archive) -> ::std::os::raw::c_int;
1620}
1621extern "C" {
1622 pub fn archive_match_excluded(
1623 arg1: *mut archive,
1624 arg2: *mut archive_entry,
1625 ) -> ::std::os::raw::c_int;
1626}
1627extern "C" {
1628 pub fn archive_match_path_excluded(
1629 arg1: *mut archive,
1630 arg2: *mut archive_entry,
1631 ) -> ::std::os::raw::c_int;
1632}
1633extern "C" {
1634 pub fn archive_match_set_inclusion_recursion(
1635 arg1: *mut archive,
1636 arg2: ::std::os::raw::c_int,
1637 ) -> ::std::os::raw::c_int;
1638}
1639extern "C" {
1640 pub fn archive_match_exclude_pattern(
1641 arg1: *mut archive,
1642 arg2: *const ::std::os::raw::c_char,
1643 ) -> ::std::os::raw::c_int;
1644}
1645extern "C" {
1646 pub fn archive_match_exclude_pattern_w(
1647 arg1: *mut archive,
1648 arg2: *const wchar_t,
1649 ) -> ::std::os::raw::c_int;
1650}
1651extern "C" {
1652 pub fn archive_match_exclude_pattern_from_file(
1653 arg1: *mut archive,
1654 arg2: *const ::std::os::raw::c_char,
1655 _nullSeparator: ::std::os::raw::c_int,
1656 ) -> ::std::os::raw::c_int;
1657}
1658extern "C" {
1659 pub fn archive_match_exclude_pattern_from_file_w(
1660 arg1: *mut archive,
1661 arg2: *const wchar_t,
1662 _nullSeparator: ::std::os::raw::c_int,
1663 ) -> ::std::os::raw::c_int;
1664}
1665extern "C" {
1666 pub fn archive_match_include_pattern(
1667 arg1: *mut archive,
1668 arg2: *const ::std::os::raw::c_char,
1669 ) -> ::std::os::raw::c_int;
1670}
1671extern "C" {
1672 pub fn archive_match_include_pattern_w(
1673 arg1: *mut archive,
1674 arg2: *const wchar_t,
1675 ) -> ::std::os::raw::c_int;
1676}
1677extern "C" {
1678 pub fn archive_match_include_pattern_from_file(
1679 arg1: *mut archive,
1680 arg2: *const ::std::os::raw::c_char,
1681 _nullSeparator: ::std::os::raw::c_int,
1682 ) -> ::std::os::raw::c_int;
1683}
1684extern "C" {
1685 pub fn archive_match_include_pattern_from_file_w(
1686 arg1: *mut archive,
1687 arg2: *const wchar_t,
1688 _nullSeparator: ::std::os::raw::c_int,
1689 ) -> ::std::os::raw::c_int;
1690}
1691extern "C" {
1692 pub fn archive_match_path_unmatched_inclusions(arg1: *mut archive) -> ::std::os::raw::c_int;
1693}
1694extern "C" {
1695 pub fn archive_match_path_unmatched_inclusions_next(
1696 arg1: *mut archive,
1697 arg2: *mut *const ::std::os::raw::c_char,
1698 ) -> ::std::os::raw::c_int;
1699}
1700extern "C" {
1701 pub fn archive_match_path_unmatched_inclusions_next_w(
1702 arg1: *mut archive,
1703 arg2: *mut *const wchar_t,
1704 ) -> ::std::os::raw::c_int;
1705}
1706extern "C" {
1707 pub fn archive_match_time_excluded(
1708 arg1: *mut archive,
1709 arg2: *mut archive_entry,
1710 ) -> ::std::os::raw::c_int;
1711}
1712extern "C" {
1713 pub fn archive_match_include_time(
1714 arg1: *mut archive,
1715 _flag: ::std::os::raw::c_int,
1716 _sec: time_t,
1717 _nsec: ::std::os::raw::c_long,
1718 ) -> ::std::os::raw::c_int;
1719}
1720extern "C" {
1721 pub fn archive_match_include_date(
1722 arg1: *mut archive,
1723 _flag: ::std::os::raw::c_int,
1724 _datestr: *const ::std::os::raw::c_char,
1725 ) -> ::std::os::raw::c_int;
1726}
1727extern "C" {
1728 pub fn archive_match_include_date_w(
1729 arg1: *mut archive,
1730 _flag: ::std::os::raw::c_int,
1731 _datestr: *const wchar_t,
1732 ) -> ::std::os::raw::c_int;
1733}
1734extern "C" {
1735 pub fn archive_match_include_file_time(
1736 arg1: *mut archive,
1737 _flag: ::std::os::raw::c_int,
1738 _pathname: *const ::std::os::raw::c_char,
1739 ) -> ::std::os::raw::c_int;
1740}
1741extern "C" {
1742 pub fn archive_match_include_file_time_w(
1743 arg1: *mut archive,
1744 _flag: ::std::os::raw::c_int,
1745 _pathname: *const wchar_t,
1746 ) -> ::std::os::raw::c_int;
1747}
1748extern "C" {
1749 pub fn archive_match_exclude_entry(
1750 arg1: *mut archive,
1751 _flag: ::std::os::raw::c_int,
1752 arg2: *mut archive_entry,
1753 ) -> ::std::os::raw::c_int;
1754}
1755extern "C" {
1756 pub fn archive_match_owner_excluded(
1757 arg1: *mut archive,
1758 arg2: *mut archive_entry,
1759 ) -> ::std::os::raw::c_int;
1760}
1761extern "C" {
1762 pub fn archive_match_include_uid(arg1: *mut archive, arg2: la_int64_t)
1763 -> ::std::os::raw::c_int;
1764}
1765extern "C" {
1766 pub fn archive_match_include_gid(arg1: *mut archive, arg2: la_int64_t)
1767 -> ::std::os::raw::c_int;
1768}
1769extern "C" {
1770 pub fn archive_match_include_uname(
1771 arg1: *mut archive,
1772 arg2: *const ::std::os::raw::c_char,
1773 ) -> ::std::os::raw::c_int;
1774}
1775extern "C" {
1776 pub fn archive_match_include_uname_w(
1777 arg1: *mut archive,
1778 arg2: *const wchar_t,
1779 ) -> ::std::os::raw::c_int;
1780}
1781extern "C" {
1782 pub fn archive_match_include_gname(
1783 arg1: *mut archive,
1784 arg2: *const ::std::os::raw::c_char,
1785 ) -> ::std::os::raw::c_int;
1786}
1787extern "C" {
1788 pub fn archive_match_include_gname_w(
1789 arg1: *mut archive,
1790 arg2: *const wchar_t,
1791 ) -> ::std::os::raw::c_int;
1792}
1793extern "C" {
1794 pub fn archive_utility_string_sort(
1795 arg1: *mut *mut ::std::os::raw::c_char,
1796 ) -> ::std::os::raw::c_int;
1797}
1798extern "C" {
1799 pub fn archive_entry_clear(arg1: *mut archive_entry) -> *mut archive_entry;
1800}
1801extern "C" {
1802 pub fn archive_entry_clone(arg1: *mut archive_entry) -> *mut archive_entry;
1803}
1804extern "C" {
1805 pub fn archive_entry_free(arg1: *mut archive_entry);
1806}
1807extern "C" {
1808 pub fn archive_entry_new() -> *mut archive_entry;
1809}
1810extern "C" {
1811 pub fn archive_entry_new2(arg1: *mut archive) -> *mut archive_entry;
1812}
1813extern "C" {
1814 pub fn archive_entry_atime(arg1: *mut archive_entry) -> time_t;
1815}
1816extern "C" {
1817 pub fn archive_entry_atime_nsec(arg1: *mut archive_entry) -> ::std::os::raw::c_long;
1818}
1819extern "C" {
1820 pub fn archive_entry_atime_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1821}
1822extern "C" {
1823 pub fn archive_entry_birthtime(arg1: *mut archive_entry) -> time_t;
1824}
1825extern "C" {
1826 pub fn archive_entry_birthtime_nsec(arg1: *mut archive_entry) -> ::std::os::raw::c_long;
1827}
1828extern "C" {
1829 pub fn archive_entry_birthtime_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1830}
1831extern "C" {
1832 pub fn archive_entry_ctime(arg1: *mut archive_entry) -> time_t;
1833}
1834extern "C" {
1835 pub fn archive_entry_ctime_nsec(arg1: *mut archive_entry) -> ::std::os::raw::c_long;
1836}
1837extern "C" {
1838 pub fn archive_entry_ctime_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1839}
1840extern "C" {
1841 pub fn archive_entry_dev(arg1: *mut archive_entry) -> dev_t;
1842}
1843extern "C" {
1844 pub fn archive_entry_dev_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1845}
1846extern "C" {
1847 pub fn archive_entry_devmajor(arg1: *mut archive_entry) -> dev_t;
1848}
1849extern "C" {
1850 pub fn archive_entry_devminor(arg1: *mut archive_entry) -> dev_t;
1851}
1852extern "C" {
1853 pub fn archive_entry_filetype(arg1: *mut archive_entry) -> mode_t;
1854}
1855extern "C" {
1856 pub fn archive_entry_filetype_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1857}
1858extern "C" {
1859 pub fn archive_entry_fflags(
1860 arg1: *mut archive_entry,
1861 arg2: *mut ::std::os::raw::c_ulong,
1862 arg3: *mut ::std::os::raw::c_ulong,
1863 );
1864}
1865extern "C" {
1866 pub fn archive_entry_fflags_text(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1867}
1868extern "C" {
1869 pub fn archive_entry_gid(arg1: *mut archive_entry) -> __gid_t;
1870}
1871extern "C" {
1872 pub fn archive_entry_gid_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1873}
1874extern "C" {
1875 pub fn archive_entry_gname(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1876}
1877extern "C" {
1878 pub fn archive_entry_gname_utf8(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1879}
1880extern "C" {
1881 pub fn archive_entry_gname_w(arg1: *mut archive_entry) -> *const wchar_t;
1882}
1883extern "C" {
1884 pub fn archive_entry_hardlink(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1885}
1886extern "C" {
1887 pub fn archive_entry_hardlink_utf8(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1888}
1889extern "C" {
1890 pub fn archive_entry_hardlink_w(arg1: *mut archive_entry) -> *const wchar_t;
1891}
1892extern "C" {
1893 pub fn archive_entry_ino(arg1: *mut archive_entry) -> la_int64_t;
1894}
1895extern "C" {
1896 pub fn archive_entry_ino64(arg1: *mut archive_entry) -> la_int64_t;
1897}
1898extern "C" {
1899 pub fn archive_entry_ino_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1900}
1901extern "C" {
1902 pub fn archive_entry_mode(arg1: *mut archive_entry) -> mode_t;
1903}
1904extern "C" {
1905 pub fn archive_entry_mtime(arg1: *mut archive_entry) -> time_t;
1906}
1907extern "C" {
1908 pub fn archive_entry_mtime_nsec(arg1: *mut archive_entry) -> ::std::os::raw::c_long;
1909}
1910extern "C" {
1911 pub fn archive_entry_mtime_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1912}
1913extern "C" {
1914 pub fn archive_entry_nlink(arg1: *mut archive_entry) -> ::std::os::raw::c_uint;
1915}
1916extern "C" {
1917 pub fn archive_entry_pathname(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1918}
1919extern "C" {
1920 pub fn archive_entry_pathname_utf8(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1921}
1922extern "C" {
1923 pub fn archive_entry_pathname_w(arg1: *mut archive_entry) -> *const wchar_t;
1924}
1925extern "C" {
1926 pub fn archive_entry_perm(arg1: *mut archive_entry) -> mode_t;
1927}
1928extern "C" {
1929 pub fn archive_entry_perm_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1930}
1931extern "C" {
1932 pub fn archive_entry_rdev(arg1: *mut archive_entry) -> dev_t;
1933}
1934extern "C" {
1935 pub fn archive_entry_rdevmajor(arg1: *mut archive_entry) -> dev_t;
1936}
1937extern "C" {
1938 pub fn archive_entry_rdevminor(arg1: *mut archive_entry) -> dev_t;
1939}
1940extern "C" {
1941 pub fn archive_entry_sourcepath(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1942}
1943extern "C" {
1944 pub fn archive_entry_sourcepath_w(arg1: *mut archive_entry) -> *const wchar_t;
1945}
1946extern "C" {
1947 pub fn archive_entry_size(arg1: *mut archive_entry) -> la_int64_t;
1948}
1949extern "C" {
1950 pub fn archive_entry_size_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1951}
1952extern "C" {
1953 pub fn archive_entry_strmode(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1954}
1955extern "C" {
1956 pub fn archive_entry_symlink(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1957}
1958extern "C" {
1959 pub fn archive_entry_symlink_utf8(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1960}
1961extern "C" {
1962 pub fn archive_entry_symlink_type(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1963}
1964extern "C" {
1965 pub fn archive_entry_symlink_w(arg1: *mut archive_entry) -> *const wchar_t;
1966}
1967extern "C" {
1968 pub fn archive_entry_uid(arg1: *mut archive_entry) -> __uid_t;
1969}
1970extern "C" {
1971 pub fn archive_entry_uid_is_set(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1972}
1973extern "C" {
1974 pub fn archive_entry_uname(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1975}
1976extern "C" {
1977 pub fn archive_entry_uname_utf8(arg1: *mut archive_entry) -> *const ::std::os::raw::c_char;
1978}
1979extern "C" {
1980 pub fn archive_entry_uname_w(arg1: *mut archive_entry) -> *const wchar_t;
1981}
1982extern "C" {
1983 pub fn archive_entry_is_data_encrypted(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1984}
1985extern "C" {
1986 pub fn archive_entry_is_metadata_encrypted(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1987}
1988extern "C" {
1989 pub fn archive_entry_is_encrypted(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
1990}
1991extern "C" {
1992 pub fn archive_entry_set_atime(
1993 arg1: *mut archive_entry,
1994 arg2: time_t,
1995 arg3: ::std::os::raw::c_long,
1996 );
1997}
1998extern "C" {
1999 pub fn archive_entry_unset_atime(arg1: *mut archive_entry);
2000}
2001extern "C" {
2002 pub fn archive_entry_set_birthtime(
2003 arg1: *mut archive_entry,
2004 arg2: time_t,
2005 arg3: ::std::os::raw::c_long,
2006 );
2007}
2008extern "C" {
2009 pub fn archive_entry_unset_birthtime(arg1: *mut archive_entry);
2010}
2011extern "C" {
2012 pub fn archive_entry_set_ctime(
2013 arg1: *mut archive_entry,
2014 arg2: time_t,
2015 arg3: ::std::os::raw::c_long,
2016 );
2017}
2018extern "C" {
2019 pub fn archive_entry_unset_ctime(arg1: *mut archive_entry);
2020}
2021extern "C" {
2022 pub fn archive_entry_set_dev(arg1: *mut archive_entry, arg2: dev_t);
2023}
2024extern "C" {
2025 pub fn archive_entry_set_devmajor(arg1: *mut archive_entry, arg2: dev_t);
2026}
2027extern "C" {
2028 pub fn archive_entry_set_devminor(arg1: *mut archive_entry, arg2: dev_t);
2029}
2030extern "C" {
2031 pub fn archive_entry_set_filetype(arg1: *mut archive_entry, arg2: ::std::os::raw::c_uint);
2032}
2033extern "C" {
2034 pub fn archive_entry_set_fflags(
2035 arg1: *mut archive_entry,
2036 arg2: ::std::os::raw::c_ulong,
2037 arg3: ::std::os::raw::c_ulong,
2038 );
2039}
2040extern "C" {
2041 pub fn archive_entry_copy_fflags_text(
2042 arg1: *mut archive_entry,
2043 arg2: *const ::std::os::raw::c_char,
2044 ) -> *const ::std::os::raw::c_char;
2045}
2046extern "C" {
2047 pub fn archive_entry_copy_fflags_text_w(
2048 arg1: *mut archive_entry,
2049 arg2: *const wchar_t,
2050 ) -> *const wchar_t;
2051}
2052extern "C" {
2053 pub fn archive_entry_set_gid(arg1: *mut archive_entry, arg2: c_uint);
2054}
2055extern "C" {
2056 pub fn archive_entry_set_gname(arg1: *mut archive_entry, arg2: *const ::std::os::raw::c_char);
2057}
2058extern "C" {
2059 pub fn archive_entry_set_gname_utf8(
2060 arg1: *mut archive_entry,
2061 arg2: *const ::std::os::raw::c_char,
2062 );
2063}
2064extern "C" {
2065 pub fn archive_entry_copy_gname(arg1: *mut archive_entry, arg2: *const ::std::os::raw::c_char);
2066}
2067extern "C" {
2068 pub fn archive_entry_copy_gname_w(arg1: *mut archive_entry, arg2: *const wchar_t);
2069}
2070extern "C" {
2071 pub fn archive_entry_update_gname_utf8(
2072 arg1: *mut archive_entry,
2073 arg2: *const ::std::os::raw::c_char,
2074 ) -> ::std::os::raw::c_int;
2075}
2076extern "C" {
2077 pub fn archive_entry_set_hardlink(
2078 arg1: *mut archive_entry,
2079 arg2: *const ::std::os::raw::c_char,
2080 );
2081}
2082extern "C" {
2083 pub fn archive_entry_set_hardlink_utf8(
2084 arg1: *mut archive_entry,
2085 arg2: *const ::std::os::raw::c_char,
2086 );
2087}
2088extern "C" {
2089 pub fn archive_entry_copy_hardlink(
2090 arg1: *mut archive_entry,
2091 arg2: *const ::std::os::raw::c_char,
2092 );
2093}
2094extern "C" {
2095 pub fn archive_entry_copy_hardlink_w(arg1: *mut archive_entry, arg2: *const wchar_t);
2096}
2097extern "C" {
2098 pub fn archive_entry_update_hardlink_utf8(
2099 arg1: *mut archive_entry,
2100 arg2: *const ::std::os::raw::c_char,
2101 ) -> ::std::os::raw::c_int;
2102}
2103extern "C" {
2104 pub fn archive_entry_set_ino(arg1: *mut archive_entry, arg2: la_int64_t);
2105}
2106extern "C" {
2107 pub fn archive_entry_set_ino64(arg1: *mut archive_entry, arg2: la_int64_t);
2108}
2109extern "C" {
2110 pub fn archive_entry_set_link(arg1: *mut archive_entry, arg2: *const ::std::os::raw::c_char);
2111}
2112extern "C" {
2113 pub fn archive_entry_set_link_utf8(
2114 arg1: *mut archive_entry,
2115 arg2: *const ::std::os::raw::c_char,
2116 );
2117}
2118extern "C" {
2119 pub fn archive_entry_copy_link(arg1: *mut archive_entry, arg2: *const ::std::os::raw::c_char);
2120}
2121extern "C" {
2122 pub fn archive_entry_copy_link_w(arg1: *mut archive_entry, arg2: *const wchar_t);
2123}
2124extern "C" {
2125 pub fn archive_entry_update_link_utf8(
2126 arg1: *mut archive_entry,
2127 arg2: *const ::std::os::raw::c_char,
2128 ) -> ::std::os::raw::c_int;
2129}
2130extern "C" {
2131 pub fn archive_entry_set_mode(arg1: *mut archive_entry, arg2: mode_t);
2132}
2133extern "C" {
2134 pub fn archive_entry_set_mtime(
2135 arg1: *mut archive_entry,
2136 arg2: time_t,
2137 arg3: ::std::os::raw::c_long,
2138 );
2139}
2140extern "C" {
2141 pub fn archive_entry_unset_mtime(arg1: *mut archive_entry);
2142}
2143extern "C" {
2144 pub fn archive_entry_set_nlink(arg1: *mut archive_entry, arg2: ::std::os::raw::c_uint);
2145}
2146extern "C" {
2147 pub fn archive_entry_set_pathname(
2148 arg1: *mut archive_entry,
2149 arg2: *const ::std::os::raw::c_char,
2150 );
2151}
2152extern "C" {
2153 pub fn archive_entry_set_pathname_utf8(
2154 arg1: *mut archive_entry,
2155 arg2: *const ::std::os::raw::c_char,
2156 );
2157}
2158extern "C" {
2159 pub fn archive_entry_copy_pathname(
2160 arg1: *mut archive_entry,
2161 arg2: *const ::std::os::raw::c_char,
2162 );
2163}
2164extern "C" {
2165 pub fn archive_entry_copy_pathname_w(arg1: *mut archive_entry, arg2: *const wchar_t);
2166}
2167extern "C" {
2168 pub fn archive_entry_update_pathname_utf8(
2169 arg1: *mut archive_entry,
2170 arg2: *const ::std::os::raw::c_char,
2171 ) -> ::std::os::raw::c_int;
2172}
2173extern "C" {
2174 pub fn archive_entry_set_perm(arg1: *mut archive_entry, arg2: mode_t);
2175}
2176extern "C" {
2177 pub fn archive_entry_set_rdev(arg1: *mut archive_entry, arg2: dev_t);
2178}
2179extern "C" {
2180 pub fn archive_entry_set_rdevmajor(arg1: *mut archive_entry, arg2: dev_t);
2181}
2182extern "C" {
2183 pub fn archive_entry_set_rdevminor(arg1: *mut archive_entry, arg2: dev_t);
2184}
2185extern "C" {
2186 pub fn archive_entry_set_size(arg1: *mut archive_entry, arg2: la_int64_t);
2187}
2188extern "C" {
2189 pub fn archive_entry_unset_size(arg1: *mut archive_entry);
2190}
2191extern "C" {
2192 pub fn archive_entry_copy_sourcepath(
2193 arg1: *mut archive_entry,
2194 arg2: *const ::std::os::raw::c_char,
2195 );
2196}
2197extern "C" {
2198 pub fn archive_entry_copy_sourcepath_w(arg1: *mut archive_entry, arg2: *const wchar_t);
2199}
2200extern "C" {
2201 pub fn archive_entry_set_symlink(arg1: *mut archive_entry, arg2: *const ::std::os::raw::c_char);
2202}
2203extern "C" {
2204 pub fn archive_entry_set_symlink_type(arg1: *mut archive_entry, arg2: ::std::os::raw::c_int);
2205}
2206extern "C" {
2207 pub fn archive_entry_set_symlink_utf8(
2208 arg1: *mut archive_entry,
2209 arg2: *const ::std::os::raw::c_char,
2210 );
2211}
2212extern "C" {
2213 pub fn archive_entry_copy_symlink(
2214 arg1: *mut archive_entry,
2215 arg2: *const ::std::os::raw::c_char,
2216 );
2217}
2218extern "C" {
2219 pub fn archive_entry_copy_symlink_w(arg1: *mut archive_entry, arg2: *const wchar_t);
2220}
2221extern "C" {
2222 pub fn archive_entry_update_symlink_utf8(
2223 arg1: *mut archive_entry,
2224 arg2: *const ::std::os::raw::c_char,
2225 ) -> ::std::os::raw::c_int;
2226}
2227extern "C" {
2228 pub fn archive_entry_set_uid(arg1: *mut archive_entry, arg2: c_uint);
2229}
2230extern "C" {
2231 pub fn archive_entry_set_uname(arg1: *mut archive_entry, arg2: *const ::std::os::raw::c_char);
2232}
2233extern "C" {
2234 pub fn archive_entry_set_uname_utf8(
2235 arg1: *mut archive_entry,
2236 arg2: *const ::std::os::raw::c_char,
2237 );
2238}
2239extern "C" {
2240 pub fn archive_entry_copy_uname(arg1: *mut archive_entry, arg2: *const ::std::os::raw::c_char);
2241}
2242extern "C" {
2243 pub fn archive_entry_copy_uname_w(arg1: *mut archive_entry, arg2: *const wchar_t);
2244}
2245extern "C" {
2246 pub fn archive_entry_update_uname_utf8(
2247 arg1: *mut archive_entry,
2248 arg2: *const ::std::os::raw::c_char,
2249 ) -> ::std::os::raw::c_int;
2250}
2251extern "C" {
2252 pub fn archive_entry_set_is_data_encrypted(
2253 arg1: *mut archive_entry,
2254 is_encrypted: ::std::os::raw::c_char,
2255 );
2256}
2257extern "C" {
2258 pub fn archive_entry_set_is_metadata_encrypted(
2259 arg1: *mut archive_entry,
2260 is_encrypted: ::std::os::raw::c_char,
2261 );
2262}
2263extern "C" {
2264 pub fn archive_entry_stat(arg1: *mut archive_entry) -> *const stat;
2265}
2266extern "C" {
2267 pub fn archive_entry_copy_stat(arg1: *mut archive_entry, arg2: *const stat);
2268}
2269extern "C" {
2270 pub fn archive_entry_mac_metadata(
2271 arg1: *mut archive_entry,
2272 arg2: *mut usize,
2273 ) -> *const ::std::os::raw::c_void;
2274}
2275extern "C" {
2276 pub fn archive_entry_copy_mac_metadata(
2277 arg1: *mut archive_entry,
2278 arg2: *const ::std::os::raw::c_void,
2279 arg3: usize,
2280 );
2281}
2282extern "C" {
2283 pub fn archive_entry_digest(
2284 arg1: *mut archive_entry,
2285 arg2: ::std::os::raw::c_int,
2286 ) -> *const ::std::os::raw::c_uchar;
2287}
2288extern "C" {
2289 pub fn archive_entry_acl_clear(arg1: *mut archive_entry);
2290}
2291extern "C" {
2292 pub fn archive_entry_acl_add_entry(
2293 arg1: *mut archive_entry,
2294 arg2: ::std::os::raw::c_int,
2295 arg3: ::std::os::raw::c_int,
2296 arg4: ::std::os::raw::c_int,
2297 arg5: ::std::os::raw::c_int,
2298 arg6: *const ::std::os::raw::c_char,
2299 ) -> ::std::os::raw::c_int;
2300}
2301extern "C" {
2302 pub fn archive_entry_acl_add_entry_w(
2303 arg1: *mut archive_entry,
2304 arg2: ::std::os::raw::c_int,
2305 arg3: ::std::os::raw::c_int,
2306 arg4: ::std::os::raw::c_int,
2307 arg5: ::std::os::raw::c_int,
2308 arg6: *const wchar_t,
2309 ) -> ::std::os::raw::c_int;
2310}
2311extern "C" {
2312 pub fn archive_entry_acl_reset(
2313 arg1: *mut archive_entry,
2314 arg2: ::std::os::raw::c_int,
2315 ) -> ::std::os::raw::c_int;
2316}
2317extern "C" {
2318 pub fn archive_entry_acl_next(
2319 arg1: *mut archive_entry,
2320 arg2: ::std::os::raw::c_int,
2321 arg3: *mut ::std::os::raw::c_int,
2322 arg4: *mut ::std::os::raw::c_int,
2323 arg5: *mut ::std::os::raw::c_int,
2324 arg6: *mut ::std::os::raw::c_int,
2325 arg7: *mut *const ::std::os::raw::c_char,
2326 ) -> ::std::os::raw::c_int;
2327}
2328extern "C" {
2329 pub fn archive_entry_acl_to_text_w(
2330 arg1: *mut archive_entry,
2331 arg2: *mut la_ssize_t,
2332 arg3: ::std::os::raw::c_int,
2333 ) -> *mut wchar_t;
2334}
2335extern "C" {
2336 pub fn archive_entry_acl_to_text(
2337 arg1: *mut archive_entry,
2338 arg2: *mut la_ssize_t,
2339 arg3: ::std::os::raw::c_int,
2340 ) -> *mut ::std::os::raw::c_char;
2341}
2342extern "C" {
2343 pub fn archive_entry_acl_from_text_w(
2344 arg1: *mut archive_entry,
2345 arg2: *const wchar_t,
2346 arg3: ::std::os::raw::c_int,
2347 ) -> ::std::os::raw::c_int;
2348}
2349extern "C" {
2350 pub fn archive_entry_acl_from_text(
2351 arg1: *mut archive_entry,
2352 arg2: *const ::std::os::raw::c_char,
2353 arg3: ::std::os::raw::c_int,
2354 ) -> ::std::os::raw::c_int;
2355}
2356extern "C" {
2357 pub fn archive_entry_acl_types(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
2358}
2359extern "C" {
2360 pub fn archive_entry_acl_count(
2361 arg1: *mut archive_entry,
2362 arg2: ::std::os::raw::c_int,
2363 ) -> ::std::os::raw::c_int;
2364}
2365#[repr(C)]
2366#[derive(Debug, Copy, Clone)]
2367pub struct archive_acl {
2368 _unused: [u8; 0],
2369}
2370extern "C" {
2371 pub fn archive_entry_acl(arg1: *mut archive_entry) -> *mut archive_acl;
2372}
2373extern "C" {
2374 pub fn archive_entry_xattr_clear(arg1: *mut archive_entry);
2375}
2376extern "C" {
2377 pub fn archive_entry_xattr_add_entry(
2378 arg1: *mut archive_entry,
2379 arg2: *const ::std::os::raw::c_char,
2380 arg3: *const ::std::os::raw::c_void,
2381 arg4: usize,
2382 );
2383}
2384extern "C" {
2385 pub fn archive_entry_xattr_count(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
2386}
2387extern "C" {
2388 pub fn archive_entry_xattr_reset(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
2389}
2390extern "C" {
2391 pub fn archive_entry_xattr_next(
2392 arg1: *mut archive_entry,
2393 arg2: *mut *const ::std::os::raw::c_char,
2394 arg3: *mut *const ::std::os::raw::c_void,
2395 arg4: *mut usize,
2396 ) -> ::std::os::raw::c_int;
2397}
2398extern "C" {
2399 pub fn archive_entry_sparse_clear(arg1: *mut archive_entry);
2400}
2401extern "C" {
2402 pub fn archive_entry_sparse_add_entry(
2403 arg1: *mut archive_entry,
2404 arg2: la_int64_t,
2405 arg3: la_int64_t,
2406 );
2407}
2408extern "C" {
2409 pub fn archive_entry_sparse_count(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
2410}
2411extern "C" {
2412 pub fn archive_entry_sparse_reset(arg1: *mut archive_entry) -> ::std::os::raw::c_int;
2413}
2414extern "C" {
2415 pub fn archive_entry_sparse_next(
2416 arg1: *mut archive_entry,
2417 arg2: *mut la_int64_t,
2418 arg3: *mut la_int64_t,
2419 ) -> ::std::os::raw::c_int;
2420}
2421#[repr(C)]
2422#[derive(Debug, Copy, Clone)]
2423pub struct archive_entry_linkresolver {
2424 _unused: [u8; 0],
2425}
2426extern "C" {
2427 pub fn archive_entry_linkresolver_new() -> *mut archive_entry_linkresolver;
2428}
2429extern "C" {
2430 pub fn archive_entry_linkresolver_set_strategy(
2431 arg1: *mut archive_entry_linkresolver,
2432 arg2: ::std::os::raw::c_int,
2433 );
2434}
2435extern "C" {
2436 pub fn archive_entry_linkresolver_free(arg1: *mut archive_entry_linkresolver);
2437}
2438extern "C" {
2439 pub fn archive_entry_linkify(
2440 arg1: *mut archive_entry_linkresolver,
2441 arg2: *mut *mut archive_entry,
2442 arg3: *mut *mut archive_entry,
2443 );
2444}
2445extern "C" {
2446 pub fn archive_entry_partial_links(
2447 res: *mut archive_entry_linkresolver,
2448 links: *mut ::std::os::raw::c_uint,
2449 ) -> *mut archive_entry;
2450}