Rizin
unix-like reverse engineering framework and cli tools
|
#include <zip.h>
Go to the source code of this file.
Classes | |
struct | diff_output_t |
Macros | |
#define | PRINTF_LIKE(n, m) |
Functions | |
void | diff_output_init (diff_output_t *output, int verbose, char *const archive_names[]) |
void | diff_output_start_file (diff_output_t *output, const char *name, zip_uint64_t size, zip_uint32_t crc) |
void | diff_output_end_file (diff_output_t *output) |
void | diff_output (diff_output_t *output, int side, const char *fmt,...) PRINTF_LIKE(3 |
void void | diff_output_data (diff_output_t *output, int side, const zip_uint8_t *data, zip_uint64_t data_length, const char *fmt,...) PRINTF_LIKE(5 |
void void void | diff_output_file (diff_output_t *output, char side, const char *name, zip_uint64_t size, zip_uint32_t crc) |
#define PRINTF_LIKE | ( | n, | |
m | |||
) |
Definition at line 17 of file diff_output.h.
void diff_output | ( | diff_output_t * | output, |
int | side, | ||
const char * | fmt, | ||
... | |||
) |
void void diff_output_data | ( | diff_output_t * | output, |
int | side, | ||
const zip_uint8_t * | data, | ||
zip_uint64_t | data_length, | ||
const char * | fmt, | ||
... | |||
) |
void diff_output_end_file | ( | diff_output_t * | output | ) |
Definition at line 34 of file diff_output.c.
References diff_output_t::file_name, NULL, and output.
Referenced by compare_list().
void void void diff_output_file | ( | diff_output_t * | output, |
char | side, | ||
const char * | name, | ||
zip_uint64_t | size, | ||
zip_uint32_t | crc | ||
) |
Definition at line 59 of file diff_output.c.
References ensure_header(), output, printf(), PRIu64, and diff_output_t::verbose.
Referenced by diff_output(), and entry_print().
void diff_output_init | ( | diff_output_t * | output, |
int | verbose, | ||
char *const | archive_names[] | ||
) |
Definition at line 19 of file diff_output.c.
References diff_output_t::archive_names, diff_output_t::file_crc, diff_output_t::file_name, diff_output_t::file_size, NULL, output, verbose, and diff_output_t::verbose.
Referenced by compare_zip().
void diff_output_start_file | ( | diff_output_t * | output, |
const char * | name, | ||
zip_uint64_t | size, | ||
zip_uint32_t | crc | ||
) |
Definition at line 28 of file diff_output.c.
References diff_output_t::file_crc, diff_output_t::file_name, diff_output_t::file_size, name, and output.
Referenced by entry_start_file().