diff options
author | Roman Neuhauser <neuhauser@sigpipe.cz> | 2011-03-28 19:17:40 -0400 |
---|---|---|
committer | Roman Neuhauser <neuhauser@sigpipe.cz> | 2011-03-28 19:17:40 -0400 |
commit | 77fc5b1e0e5be5aab8b540965cf63dae8b915260 (patch) | |
tree | 139714973fe20660fe30e25853fbab9b4de695dd /libarchive/archive_read_support_filter_none.c | |
parent | ae22a45b800d054e69396fb8c3b15db2ea32f211 (diff) | |
download | libarchive-77fc5b1e0e5be5aab8b540965cf63dae8b915260.tar.gz |
archive_read_support_compression_*.c -> archive_read_support_filter_*.c
begins a move to symmetry with archive_write, function aliases will
follow shortly.
SVN-Revision: 3112
Diffstat (limited to 'libarchive/archive_read_support_filter_none.c')
-rw-r--r-- | libarchive/archive_read_support_filter_none.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libarchive/archive_read_support_filter_none.c b/libarchive/archive_read_support_filter_none.c new file mode 100644 index 00000000..e05614f9 --- /dev/null +++ b/libarchive/archive_read_support_filter_none.c @@ -0,0 +1,40 @@ +/*- + * Copyright (c) 2003-2007 Tim Kientzle + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "archive_platform.h" +__FBSDID("$FreeBSD$"); + +#include "archive.h" + +/* + * Uncompressed streams are handled implicitly by the read core, + * so this is now a no-op. + */ +int +archive_read_support_compression_none(struct archive *a) +{ + (void)a; /* UNUSED */ + return (ARCHIVE_OK); +} |