Deleted Added
full compact
archive.h (338795) archive.h (342360)
1/*-
2 * Copyright (c) 2003-2010 Tim Kientzle
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 8 unchanged lines hidden (view full) ---

17 * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
1/*-
2 * Copyright (c) 2003-2010 Tim Kientzle
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 8 unchanged lines hidden (view full) ---

17 * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: stable/11/contrib/libarchive/libarchive/archive.h 338795 2018-09-19 09:41:33Z mm $
25 * $FreeBSD: stable/11/contrib/libarchive/libarchive/archive.h 342360 2018-12-21 23:33:05Z mm $
26 */
27
28#ifndef ARCHIVE_H_INCLUDED
29#define ARCHIVE_H_INCLUDED
30
31/*
32 * The version number is expressed as a single integer that makes it
33 * easy to compare versions at build time: for version a.b.c, the

--- 299 unchanged lines hidden (view full) ---

333#define ARCHIVE_FORMAT_AR_GNU (ARCHIVE_FORMAT_AR | 1)
334#define ARCHIVE_FORMAT_AR_BSD (ARCHIVE_FORMAT_AR | 2)
335#define ARCHIVE_FORMAT_MTREE 0x80000
336#define ARCHIVE_FORMAT_RAW 0x90000
337#define ARCHIVE_FORMAT_XAR 0xA0000
338#define ARCHIVE_FORMAT_LHA 0xB0000
339#define ARCHIVE_FORMAT_CAB 0xC0000
340#define ARCHIVE_FORMAT_RAR 0xD0000
26 */
27
28#ifndef ARCHIVE_H_INCLUDED
29#define ARCHIVE_H_INCLUDED
30
31/*
32 * The version number is expressed as a single integer that makes it
33 * easy to compare versions at build time: for version a.b.c, the

--- 299 unchanged lines hidden (view full) ---

333#define ARCHIVE_FORMAT_AR_GNU (ARCHIVE_FORMAT_AR | 1)
334#define ARCHIVE_FORMAT_AR_BSD (ARCHIVE_FORMAT_AR | 2)
335#define ARCHIVE_FORMAT_MTREE 0x80000
336#define ARCHIVE_FORMAT_RAW 0x90000
337#define ARCHIVE_FORMAT_XAR 0xA0000
338#define ARCHIVE_FORMAT_LHA 0xB0000
339#define ARCHIVE_FORMAT_CAB 0xC0000
340#define ARCHIVE_FORMAT_RAR 0xD0000
341#define ARCHIVE_FORMAT_RAR_V5 (ARCHIVE_FORMAT_RAR | 1)
341#define ARCHIVE_FORMAT_7ZIP 0xE0000
342#define ARCHIVE_FORMAT_WARC 0xF0000
343
344/*
345 * Codes returned by archive_read_format_capabilities().
346 *
347 * This list can be extended with values between 0 and 0xffff.
348 * The original purpose of this list was to let different archive

--- 95 unchanged lines hidden (view full) ---

444__LA_DECL int archive_read_support_format_cab(struct archive *);
445__LA_DECL int archive_read_support_format_cpio(struct archive *);
446__LA_DECL int archive_read_support_format_empty(struct archive *);
447__LA_DECL int archive_read_support_format_gnutar(struct archive *);
448__LA_DECL int archive_read_support_format_iso9660(struct archive *);
449__LA_DECL int archive_read_support_format_lha(struct archive *);
450__LA_DECL int archive_read_support_format_mtree(struct archive *);
451__LA_DECL int archive_read_support_format_rar(struct archive *);
342#define ARCHIVE_FORMAT_7ZIP 0xE0000
343#define ARCHIVE_FORMAT_WARC 0xF0000
344
345/*
346 * Codes returned by archive_read_format_capabilities().
347 *
348 * This list can be extended with values between 0 and 0xffff.
349 * The original purpose of this list was to let different archive

--- 95 unchanged lines hidden (view full) ---

445__LA_DECL int archive_read_support_format_cab(struct archive *);
446__LA_DECL int archive_read_support_format_cpio(struct archive *);
447__LA_DECL int archive_read_support_format_empty(struct archive *);
448__LA_DECL int archive_read_support_format_gnutar(struct archive *);
449__LA_DECL int archive_read_support_format_iso9660(struct archive *);
450__LA_DECL int archive_read_support_format_lha(struct archive *);
451__LA_DECL int archive_read_support_format_mtree(struct archive *);
452__LA_DECL int archive_read_support_format_rar(struct archive *);
453__LA_DECL int archive_read_support_format_rar5(struct archive *);
452__LA_DECL int archive_read_support_format_raw(struct archive *);
453__LA_DECL int archive_read_support_format_tar(struct archive *);
454__LA_DECL int archive_read_support_format_warc(struct archive *);
455__LA_DECL int archive_read_support_format_xar(struct archive *);
456/* archive_read_support_format_zip() enables both streamable and seekable
457 * zip readers. */
458__LA_DECL int archive_read_support_format_zip(struct archive *);
459/* Reads Zip archives as stream from beginning to end. Doesn't

--- 732 unchanged lines hidden ---
454__LA_DECL int archive_read_support_format_raw(struct archive *);
455__LA_DECL int archive_read_support_format_tar(struct archive *);
456__LA_DECL int archive_read_support_format_warc(struct archive *);
457__LA_DECL int archive_read_support_format_xar(struct archive *);
458/* archive_read_support_format_zip() enables both streamable and seekable
459 * zip readers. */
460__LA_DECL int archive_read_support_format_zip(struct archive *);
461/* Reads Zip archives as stream from beginning to end. Doesn't

--- 732 unchanged lines hidden ---