23#ifndef MUPDF_FITZ_ARCHIVE_H
24#define MUPDF_FITZ_ARCHIVE_H
445#define fz_new_derived_archive(C,F,M) \
446 ((M*)Memento_label(fz_new_archive_of_size(C, F, sizeof(M)), #M))
int fz_has_archive_entry(fz_context *ctx, fz_archive *arch, const char *name)
fz_archive * fz_open_directory(fz_context *ctx, const char *path)
const char * fz_list_archive_entry(fz_context *ctx, fz_archive *arch, int idx)
const char * fz_archive_format(fz_context *ctx, fz_archive *arch)
struct fz_zip_writer fz_zip_writer
Definition archive.h:329
void fz_mount_multi_archive(fz_context *ctx, fz_archive *arch_, fz_archive *sub, const char *path)
fz_archive * fz_open_zip_archive(fz_context *ctx, const char *path)
void fz_write_zip_entry(fz_context *ctx, fz_zip_writer *zip, const char *name, fz_buffer *buf, int compress)
fz_archive * fz_open_tar_archive(fz_context *ctx, const char *filename)
int fz_is_directory(fz_context *ctx, const char *path)
fz_buffer * fz_read_archive_entry(fz_context *ctx, fz_archive *arch, const char *name)
fz_archive * fz_open_archive_with_stream(fz_context *ctx, fz_stream *file)
int fz_is_zip_archive(fz_context *ctx, fz_stream *file)
fz_archive * fz_open_libarchive_archive(fz_context *ctx, const char *filename)
int fz_is_tar_archive(fz_context *ctx, fz_stream *file)
fz_archive * fz_open_tar_archive_with_stream(fz_context *ctx, fz_stream *file)
fz_archive * fz_open_archive_fn(fz_context *, fz_stream *)
Definition archive.h:411
FZ_DATA const fz_archive_handler fz_libarchive_archive_handler
void fz_close_zip_writer(fz_context *ctx, fz_zip_writer *zip)
int fz_recognize_archive_fn(fz_context *, fz_stream *)
Definition archive.h:410
fz_archive * fz_open_zip_archive_with_memory(fz_context *ctx, const unsigned char *data, size_t size)
void fz_register_archive_handler(fz_context *ctx, const fz_archive_handler *handler)
void fz_drop_zip_writer(fz_context *ctx, fz_zip_writer *zip)
fz_archive * fz_new_multi_archive(fz_context *ctx)
fz_archive * fz_keep_archive(fz_context *ctx, fz_archive *arch)
int fz_is_libarchive_archive(fz_context *ctx, fz_stream *file)
void fz_drop_archive(fz_context *ctx, fz_archive *arch)
int fz_is_cfb_archive(fz_context *ctx, fz_stream *file)
fz_zip_writer * fz_new_zip_writer_with_output(fz_context *ctx, fz_output *out)
fz_archive * fz_open_libarchive_archive_with_stream(fz_context *ctx, fz_stream *file)
fz_archive * fz_try_open_archive_with_stream(fz_context *ctx, fz_stream *file)
fz_zip_writer * fz_new_zip_writer(fz_context *ctx, const char *filename)
fz_archive * fz_open_zip_archive_with_stream(fz_context *ctx, fz_stream *file)
fz_archive * fz_open_archive(fz_context *ctx, const char *filename)
int fz_count_archive_entries(fz_context *ctx, fz_archive *arch)
fz_stream * fz_try_open_archive_entry(fz_context *ctx, fz_archive *arch, const char *name)
fz_archive * fz_open_cfb_archive(fz_context *ctx, const char *filename)
void fz_tree_archive_add_buffer(fz_context *ctx, fz_archive *arch_, const char *name, fz_buffer *buf)
fz_stream * fz_open_archive_entry(fz_context *ctx, fz_archive *arch, const char *name)
fz_archive * fz_new_tree_archive(fz_context *ctx, fz_tree *tree)
void fz_tree_archive_add_data(fz_context *ctx, fz_archive *arch_, const char *name, const void *data, size_t size)
fz_buffer * fz_try_read_archive_entry(fz_context *ctx, fz_archive *arch, const char *name)
fz_archive * fz_new_archive_of_size(fz_context *ctx, fz_stream *file, int size)
fz_archive * fz_open_cfb_archive_with_stream(fz_context *ctx, fz_stream *file)
#define FZ_DATA
Definition export.h:49
fz_recognize_archive_fn * recognize
Definition archive.h:415
fz_open_archive_fn * open
Definition archive.h:416
int refs
Definition archive.h:430
int(* count_entries)(fz_context *ctx, fz_archive *arch)
Definition archive.h:436
void(* drop_archive)(fz_context *ctx, fz_archive *arch)
Definition archive.h:435
const char * format
Definition archive.h:433
int(* has_entry)(fz_context *ctx, fz_archive *arch, const char *name)
Definition archive.h:438
fz_stream * file
Definition archive.h:431
struct fz_tree fz_tree
Definition tree.h:33