summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-01-05 14:02:58 (GMT)
committerBrad King <brad.king@kitware.com>2012-01-05 14:02:58 (GMT)
commit156cb3bbf257f747672eac945fa2e19d33fc3a63 (patch)
treea411d9b89fb1ad0960b5baf76ca0ff752acf6fa9 /Utilities/cmlibarchive/libarchive/archive.h
parentfd42bf1bdcb95615dd725ae588db02b22a3aebaa (diff)
parent4f4fe6e50bb3dbe59f9bc3cc848cbd07dead324d (diff)
downloadCMake-156cb3bbf257f747672eac945fa2e19d33fc3a63.zip
CMake-156cb3bbf257f747672eac945fa2e19d33fc3a63.tar.gz
CMake-156cb3bbf257f747672eac945fa2e19d33fc3a63.tar.bz2
Merge branch 'libarchive-upstream' into update-libarchive
Conflicts: Utilities/cmlibarchive/CMakeLists.txt Utilities/cmlibarchive/libarchive/archive_windows.c
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive.h')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive.h b/Utilities/cmlibarchive/libarchive/archive.h
index a815e49..9b6b1b0 100644
--- a/Utilities/cmlibarchive/libarchive/archive.h
+++ b/Utilities/cmlibarchive/libarchive/archive.h
@@ -131,27 +131,16 @@ extern "C" {
* easy to compare versions at build time: for version a.b.c, the
* version number is printf("%d%03d%03d",a,b,c). For example, if you
* know your application requires version 2.12.108 or later, you can
- * assert that ARCHIVE_VERSION >= 2012108.
- *
- * This single-number format was introduced with libarchive 1.9.0 in
- * the libarchive 1.x family and libarchive 2.2.4 in the libarchive
- * 2.x family. The following may be useful if you really want to do
- * feature detection for earlier libarchive versions (which defined
- * ARCHIVE_API_VERSION and ARCHIVE_API_FEATURE instead):
- *
- * #ifndef ARCHIVE_VERSION_NUMBER
- * #define ARCHIVE_VERSION_NUMBER \
- * (ARCHIVE_API_VERSION * 1000000 + ARCHIVE_API_FEATURE * 1000)
- * #endif
+ * assert that ARCHIVE_VERSION_NUMBER >= 2012108.
*/
/* Note: Compiler will complain if this does not match archive_entry.h! */
-#define ARCHIVE_VERSION_NUMBER 3000001
+#define ARCHIVE_VERSION_NUMBER 3000002
__LA_DECL int archive_version_number(void);
/*
* Textual name/version of the library, useful for version displays.
*/
-#define ARCHIVE_VERSION_STRING "libarchive 3.0.1b"
+#define ARCHIVE_VERSION_STRING "libarchive 3.0.2"
__LA_DECL const char * archive_version_string(void);
/* Declare our basic types. */
@@ -454,8 +443,6 @@ __LA_DECL int archive_read_data_block(struct archive *a,
* 'into_fd': writes data to specified filedes
*/
__LA_DECL int archive_read_data_skip(struct archive *);
-__LA_DECL int archive_read_data_into_buffer(struct archive *,
- void *buffer, __LA_SSIZE_T len);
__LA_DECL int archive_read_data_into_fd(struct archive *, int fd);
/*