__zzip_fetch_disk_trailer − internal.
#include <zzip/lib.h>
static int
__zzip_fetch_disk_trailer(int fd, zzip_off_t filesize,
struct _disk_trailer *_zzip_restrict trailer,
zzip_plugin_io_t io)
The __zzip_fetch_disk_trailer function is used by zzip_file_open. It tries to find the zip’s central directory info that is usually a few bytes off the end of the file.
Guido Draheim <[email protected]> Tomi Ollila <[email protected]>
Copyright (c) Guido Draheim, use under copyleft (LGPL,MPL)