Version 0.13.59
#include <zzip/fseeko.h>
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
|  | 
| zzip_entry_fopen(ZZIP_ENTRY * entry, int takeover)
 : zzip__new__ ZZIP_ENTRY_FILE *
 | 
| zzip_entry_ffile(FILE * disk, char *filename)
 : zzip__new__ ZZIP_ENTRY_FILE *
 | 
| zzip_entry_fread(void *ptr, zzip_size_t sized, zzip_size_t nmemb,
                 ZZIP_ENTRY_FILE * file)
 : zzip_size_t
 | 
| zzip_entry_fclose(ZZIP_ENTRY_FILE * file)
 : int
 | 
| zzip_entry_feof(ZZIP_ENTRY_FILE * file)
 : int
 | 
| 
 
  The  | ||
| 
  The  | ||
| 
  The  | ||
|   The  | ||
| 
  The  | 
| zzip_entry_data_offset(ZZIP_ENTRY * entry)
 : zzip_off_t
 | 
| zzip_entry_fread_file_header(ZZIP_ENTRY * entry,
                             struct zzip_file_header *file_header)
 : static zzip_off_t
 | 
| zzip_entry_strdup_name(ZZIP_ENTRY * entry)
 : zzip__new__ char *
 | 
| 
 
  The  | ||
|   The  | ||
|   The  | 
| zzip_entry_findfile(FILE * disk, char *filename,
                    ZZIP_ENTRY * _zzip_restrict entry, zzip_strcmp_fn_t compare)
 : zzip__new__ ZZIP_ENTRY *
 | 
| zzip_entry_findfirst(FILE * disk)
 : zzip__new__ ZZIP_ENTRY *
 | 
| zzip_entry_findnext(ZZIP_ENTRY * _zzip_restrict entry)
 : zzip__new__ ZZIP_ENTRY *
 | 
| zzip_entry_free(ZZIP_ENTRY * entry)
 : int
 | 
| zzip_entry_findmatch(FILE * disk, char *filespec,
                     ZZIP_ENTRY * _zzip_restrict entry,
                     zzip_fnmatch_fn_t compare, int flags)
 : zzip__new__ ZZIP_ENTRY *
 | 
| 
 
  The  | ||
| 
  The  For an actual means, we are going to search backwards from the end of the mmaped block looking for the PK-magic signature of a disk_trailer. If we see one then we check the rootseek value to find the first disk_entry of the root central directory. If we find the correct PK-magic signature of a disk_entry over there then we assume we are done and we are going to return a pointer to that label. The return value is a pointer to the first zzip_disk_entry being checked to be within the bounds of the file area specified by the arguments. If no disk_trailer was found then null is returned, and likewise we only accept a disk_trailer with a seekvalue that points to a disk_entry and both parts have valid PK-magic parts. Beyond some sanity check we try to catch a common brokeness with zip archives that still allows us to find the start of the zip central directory. | ||
| 
  The  | ||
|   the  | ||
| 
  The  |