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

Go to the source code of this file.

Macros

#define _ZIP_COMPILING_DEPRECATED
 

Functions

ZIP_EXTERN void zip_error_get (zip_t *za, int *zep, int *sep)
 
ZIP_EXTERN zip_error_tzip_get_error (zip_t *za)
 
ZIP_EXTERN zip_error_tzip_file_get_error (zip_file_t *f)
 

Macro Definition Documentation

◆ _ZIP_COMPILING_DEPRECATED

#define _ZIP_COMPILING_DEPRECATED

Definition at line 35 of file zip_error_get.c.

Function Documentation

◆ zip_error_get()

ZIP_EXTERN void zip_error_get ( zip_t za,
int zep,
int sep 
)

Definition at line 40 of file zip_error_get.c.

40  {
41  _zip_error_get(&za->error, zep, sep);
42 }
zip_error_t error
Definition: zipint.h:281
void _zip_error_get(const zip_error_t *err, int *zep, int *sep)
Definition: zip_error.c:113
zip_t * za
Definition: ziptool.c:79

References _zip_error_get(), zip::error, and za.

◆ zip_file_get_error()

ZIP_EXTERN zip_error_t* zip_file_get_error ( zip_file_t f)

Definition at line 52 of file zip_error_get.c.

52  {
53  return &f->error;
54 }
#define f(i)
Definition: sha256.c:46

References f.

Referenced by do_read(), and main().

◆ zip_get_error()

ZIP_EXTERN zip_error_t* zip_get_error ( zip_t za)

Definition at line 46 of file zip_error_get.c.

46  {
47  return &za->error;
48 }

References zip::error, and za.

Referenced by do_read(), and source_nul().