blob: 0f30797602fb3a8bc09d60c9c2a4ca7b22776166 [file]
/* error types: default error message (no filename), */
#define ERRDEF 0
/* or file error, which also outputs filename (and zipfilename), */
#define ERRFILE 1
/* or zipfile error, which only outputs the zipfilename, */
#define ERRZIP 2
/* or file error with additional strerror(errno) output, */
#define ERRSTR 3
/* or zipfile error with additional strerror(errno) output */
#define ERRZIPSTR 4
void myerror(int errtype, char *fmt, ...);
void seterrinfo(char *fn, char *zipn);