![]() |
![]()
| ![]() |
![]()
NAMEzzip_entry_data_offset, zzip_entry_fread_file_header, zzip_entry_strdup_name - helper functions for (fseeko) zip access api SYNOPSIS#include <zzip/fseeko.h> zzip_off_t zzip_entry_data_offset(ZZIP_ENTRY* entry) static zzip_off_t zzip_entry_fread_file_header(ZZIP_ENTRY* entry, struct zzip_file_header* file_header) zzip__new__ char* zzip_entry_strdup_name(ZZIP_ENTRY* entry) DESCRIPTIONThe zzip_entry_data_offset functions returns the seekval offset of the data portion of the file referenced by the given zzip_entry. It requires an intermediate check of the file_header structure (i.e. it reads it from disk). After this call, the contained diskfile readposition is already set to the data_offset returned here. The zzip_entry_data_offset function Returns -1 on error. (errno = EINVAL|EBADMSG)
The zzip_entry_fread_file_header function Returns zero on error. (errno = EINVAL|EBADMSG|EBADF|EIO)
AUTHORGuido Draheim <guidod@gmx.de> COPYRIGHTCopyright (c) Guido Draheim, use under copyleft (LGPL,MPL)
|