mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
Allow more formats to be active at a time; discourage outside use.
This commit is contained in:
parent
8ead7c052b
commit
06225a399b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201088
@ -25,6 +25,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef __LIBARCHIVE_BUILD
|
||||
#error This header is only to be used internally to libarchive.
|
||||
#endif
|
||||
|
||||
#ifndef ARCHIVE_READ_PRIVATE_H_INCLUDED
|
||||
#define ARCHIVE_READ_PRIVATE_H_INCLUDED
|
||||
|
||||
@ -160,7 +164,7 @@ struct archive_read {
|
||||
int (*read_data)(struct archive_read *, const void **, size_t *, off_t *);
|
||||
int (*read_data_skip)(struct archive_read *);
|
||||
int (*cleanup)(struct archive_read *);
|
||||
} formats[8];
|
||||
} formats[9];
|
||||
struct archive_format_descriptor *format; /* Active format. */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user