Rizin
unix-like reverse engineering framework and cli tools
|
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include "getopt.h"
#include "zip.h"
Go to the source code of this file.
Functions | |
zip_source_t * | source_hole_create (const char *, int flags, zip_error_t *) |
static int | copy_source (zip_source_t *from, zip_source_t *to) |
static zip_source_t * | open_compressed (const char *fname, int flags) |
static zip_source_t * | open_file (const char *fname) |
static void | usage (void) |
int | main (int argc, char **argv) |
Variables | |
const char * | progname |
|
static |
Definition at line 53 of file hole.c.
References from, n, progname, to, zip_error_strerror(), zip_source_begin_write(), zip_source_close(), zip_source_commit_write(), zip_source_error(), zip_source_open(), zip_source_read(), zip_source_rollback_write(), and zip_source_write().
Referenced by main().
Definition at line 139 of file hole.c.
References argv, c, compress(), copy_source(), decompress(), err, test-lz4-list::exit, from, getopt(), open_compressed(), open_file(), optind, progname, to, usage(), ZIP_CREATE, and zip_source_free().
|
static |
Definition at line 97 of file hole.c.
References error(), test-lz4-list::exit, flags, create_tags_rz::fname, NULL, progname, source_hole_create(), src, zip_error_fini(), zip_error_init(), and zip_error_strerror().
Referenced by main().
|
static |
Definition at line 114 of file hole.c.
References error(), test-lz4-list::exit, create_tags_rz::fname, NULL, progname, src, zip_error_fini(), zip_error_init(), zip_error_strerror(), and zip_source_file_create().
Referenced by main().
zip_source_t * source_hole_create | ( | const char * | fname, |
int | flags, | ||
zip_error_t * | error | ||
) |
Definition at line 94 of file source_hole.c.
References error(), flags, create_tags_rz::fname, hole_new(), NULL, source_hole_cb(), and zip_source_function_create().
Referenced by open_compressed().
|
static |
const char* progname |
Definition at line 49 of file hole.c.
Referenced by copy_source(), main(), open_compressed(), open_file(), and usage().