Go to the source code of this file.
◆ zip_source_file()
Definition at line 37 of file zip_source_file_win32_utf8.c.
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void start
ZIP_EXTERN zip_source_t * zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error)
References zip::error, create_tags_rz::fname, len, NULL, start, za, and zip_source_file_create().
Referenced by add_file().
◆ zip_source_file_create()
Definition at line 47 of file zip_source_file_win32_utf8.c.
58 size = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS,
fname, -1,
NULL, 0);
63 if ((wfname = (
wchar_t *)
malloc(
sizeof(
wchar_t) *
size)) ==
NULL) {
67 MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS,
fname, -1, wfname,
size);
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
RZ_API void Ht_() free(HtName_(Ht) *ht)
ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int)
void * malloc(size_t size)
void error(const char *msg)
ZIP_EXTERN zip_source_t * zip_source_win32w_create(const wchar_t *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error)
References error(), create_tags_rz::fname, free(), length, malloc(), NULL, source, start, ZIP_ER_INVAL, ZIP_ER_MEMORY, zip_error_set(), and zip_source_win32w_create().
Referenced by zip_source_file().