Rizin
unix-like reverse engineering framework and cli tools
|
#include "zip_source_file_win32.h"
Go to the source code of this file.
Functions | |
static zip_int64_t | _zip_win32_named_op_commit_write (zip_source_file_context_t *ctx) |
static zip_int64_t | _zip_win32_named_op_create_temp_output (zip_source_file_context_t *ctx) |
static bool | _zip_win32_named_op_open (zip_source_file_context_t *ctx) |
static zip_int64_t | _zip_win32_named_op_remove (zip_source_file_context_t *ctx) |
static void | _zip_win32_named_op_rollback_write (zip_source_file_context_t *ctx) |
static bool | _zip_win32_named_op_stat (zip_source_file_context_t *ctx, zip_source_file_stat_t *st) |
static char * | _zip_win32_named_op_string_duplicate (zip_source_file_context_t *ctx, const char *string) |
static zip_int64_t | _zip_win32_named_op_write (zip_source_file_context_t *ctx, const void *data, zip_uint64_t len) |
static HANDLE | win32_named_open (zip_source_file_context_t *ctx, const char *name, bool temporary, PSECURITY_ATTRIBUTES security_attributes) |
Variables | |
zip_source_file_operations_t | _zip_source_file_win32_named_ops |
|
static |
Definition at line 66 of file zip_source_file_win32_named.c.
References _zip_win32_error_to_errno(), DWORD, ctx::error, HANDLE, if(), ZIP_ER_RENAME, ZIP_ER_WRITE, and zip_error_set().
|
static |
Definition at line 97 of file zip_source_file_win32_named.c.
References _zip_win32_error_to_errno(), zip_win32_file_operations::allocate_tempname, DWORD, ctx::error, FALSE, free(), HANDLE, i, if(), INVALID_HANDLE_VALUE, zip_win32_file_operations::make_tempname, NULL, si, value, win32_named_open(), ZIP_ER_MEMORY, ZIP_ER_TMPOPEN, and zip_error_set().
|
static |
Definition at line 158 of file zip_source_file_win32_named.c.
References h, HANDLE, INVALID_HANDLE_VALUE, NULL, and win32_named_open().
|
static |
Definition at line 171 of file zip_source_file_win32_named.c.
References _zip_win32_error_to_errno(), ctx::error, if(), ZIP_ER_REMOVE, and zip_error_set().
|
static |
Definition at line 184 of file zip_source_file_win32_named.c.
|
static |
Definition at line 195 of file zip_source_file_win32_named.c.
References _zip_filetime_to_time_t(), _zip_win32_error_to_errno(), DWORD, ERANGE, ctx::error, error(), zip_source_file_stat::exists, if(), zip_source_file_stat::mtime, zip_source_file_stat::regular_file, zip_source_file_stat::size, ZIP_ER_READ, and zip_error_set().
|
static |
Definition at line 232 of file zip_source_file_win32_named.c.
References zip_win32_file_operations::string_duplicate.
|
static |
Definition at line 240 of file zip_source_file_win32_named.c.
References _zip_win32_error_to_errno(), DWORD, ctx::error, HANDLE, len, NULL, ZIP_ER_WRITE, and zip_error_set().
|
static |
Definition at line 252 of file zip_source_file_win32_named.c.
References _zip_win32_error_to_errno(), access, DWORD, ctx::error, h, HANDLE, if(), INVALID_HANDLE_VALUE, NULL, ZIP_ER_OPEN, and zip_error_set().
Referenced by _zip_win32_named_op_create_temp_output(), and _zip_win32_named_op_open().
zip_source_file_operations_t _zip_source_file_win32_named_ops |
Definition at line 48 of file zip_source_file_win32_named.c.
Referenced by zip_source_win32a_create(), and zip_source_win32w_create().