archive_read_support_filter_all() enables the code to use external programs if an appropriate library was not available at build time. (See https://www.freebsd.org/cgi/man.cgi?query=archive_read_support_filter_all&sektion=3&apropos=0&manpath=FreeBSD%2B10.0-RELEASE).
But libarchive (https://github.com/libarchive/libarchive/wiki/Examples) itself extracts data from various formats and this function is a part of libarchive. So when should this be used and what does it do?
What is the difference between
- archive_read_support_format_all() (https://manpages.debian.org/testing/libarchive-dev/archive_read_format.3.en.html)
- archive_read_support_filter_all()
I am using Libarchive to extract data from ODF files, I came across this function in Libarchive's documentation and examples and am not sure what is the use of this function.