Rizin
unix-like reverse engineering framework and cli tools
zip_err_str.c File Reference
#include "zipint.h"

Go to the source code of this file.

Macros

#define L   ZIP_ET_LIBZIP
 
#define N   ZIP_ET_NONE
 
#define S   ZIP_ET_SYS
 
#define Z   ZIP_ET_ZLIB
 
#define E   ZIP_DETAIL_ET_ENTRY
 
#define G   ZIP_DETAIL_ET_GLOBAL
 

Variables

const struct _zip_err_info _zip_err_str []
 
const int _zip_err_str_count = sizeof(_zip_err_str)/sizeof(_zip_err_str[0])
 
const struct _zip_err_info _zip_err_details []
 
const int _zip_err_details_count = sizeof(_zip_err_details)/sizeof(_zip_err_details[0])
 

Macro Definition Documentation

◆ E

#define E   ZIP_DETAIL_ET_ENTRY

Definition at line 12 of file zip_err_str.c.

◆ G

#define G   ZIP_DETAIL_ET_GLOBAL

Definition at line 13 of file zip_err_str.c.

◆ L

#define L   ZIP_ET_LIBZIP

Definition at line 7 of file zip_err_str.c.

◆ N

#define N   ZIP_ET_NONE

Definition at line 8 of file zip_err_str.c.

◆ S

#define S   ZIP_ET_SYS

Definition at line 9 of file zip_err_str.c.

◆ Z

#define Z   ZIP_ET_ZLIB

Definition at line 10 of file zip_err_str.c.

Variable Documentation

◆ _zip_err_details

const struct _zip_err_info _zip_err_details[]
Initial value:
= {
{G, "no"},
{G, "central"},
{G, "archive"},
{G, "central"},
{E, "central"},
{G, "central"},
{E, "local"},
{G, "wrong"},
{G, "EOCD64"},
{G, "EOCD64"},
{G, "EOCD64"},
{G, "invalid"},
{E, "variable"},
{E, "invalid"},
{E, "invalid"},
{E, "invalid"},
{E, "invalid"},
{E, "garbage"},
{E, "extra"},
{E, "file"},
}
#define E
Definition: zip_err_str.c:12
#define G
Definition: zip_err_str.c:13

Definition at line 51 of file zip_err_str.c.

Referenced by zip_error_strerror().

◆ _zip_err_details_count

const int _zip_err_details_count = sizeof(_zip_err_details)/sizeof(_zip_err_details[0])

Definition at line 76 of file zip_err_str.c.

Referenced by zip_error_strerror().

◆ _zip_err_str

const struct _zip_err_info _zip_err_str[]

◆ _zip_err_str_count

const int _zip_err_str_count = sizeof(_zip_err_str)/sizeof(_zip_err_str[0])