summaryrefslogtreecommitdiff
path: root/libarchive/archive_private.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2011-03-18 01:49:40 -0400
committerTim Kientzle <kientzle@gmail.com>2011-03-18 01:49:40 -0400
commit11e7a909f561bc62272d6c512bfcf1f599036fcb (patch)
tree7406dd5fe635bee1062a8925059f72ee244e2ba9 /libarchive/archive_private.h
parent76949faae1ed85dc697be4bc97c2d6f05be16c7a (diff)
downloadlibarchive-11e7a909f561bc62272d6c512bfcf1f599036fcb.tar.gz
From Roman Neuhauser: Rework textual options handling.
* New functions archive_{read,write}_set_{format,filter}_option accept three strings: module name, option name, value. This is a better match for C clients of the library, who want to set one option at a time anyway for better error handling. * archive_{read,write}_set_options still accept a single string with possibly multiple options, but are now much simpler internally because they build on the above. * New tests for all of the above. * Update a lot of tests to give good coverage of the new functions. SVN-Revision: 3026
Diffstat (limited to 'libarchive/archive_private.h')
-rw-r--r--libarchive/archive_private.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libarchive/archive_private.h b/libarchive/archive_private.h
index 6889ad4a..72b61d21 100644
--- a/libarchive/archive_private.h
+++ b/libarchive/archive_private.h
@@ -139,9 +139,6 @@ int __archive_check_magic(struct archive *, unsigned int magic,
void __archive_errx(int retvalue, const char *msg) __LA_DEAD;
-int __archive_parse_options(const char *p, const char *fn,
- int keysize, char *key, int valsize, char *val);
-
int __archive_mktemp(const char *tmpdir);
int __archive_clean(struct archive *);