![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <windows.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <errno.h>#include <fcntl.h>#include <ctype.h>#include <math.h>#include <wctype.h>#include <wchar.h>#include <stdarg.h>#include <stddef.h>#include <setjmp.h>#include <locale.h>#include <signal.h>#include <limits.h>#include <float.h>#include <iso646.h>#include <assert.h>#include <stdbool.h>#include <process.h>#include "win64.h"#include <zlib.h>#include "stdio_v2.h"#include "gzip2_include.h"#include "gzip2__thread.c"Macros | |
| #define | CHUNK 131072 /* to never change again */ |
| #define | AMANDA__SIZE_ww ((32767 * 2) + 2) |
Functions | |
| void | pedro_dprintf2 (int amanda_level, char *format,...) |
| pedro_dprintf2 is my variant of my debug function because too much calls to pedro_dprintf these days, I am lazy, sorry.... | |
| WCHAR * | utf8_2_wide_dl (const char *pUTF8) |
| my temporary utf8_2_wide_dl function to add full Unicode support and future (when modified) support to long filenames. (jan/2025) | |
| void | pedro_dprintf (int amanda_level, char *format,...) |
| __int64 | lffilesize (const char *szFileName) |
| simple function to get the size of a utf-8 encoded filename, no support to long filenames yet (above MAX_PATH) | |
| int | createtempfilename_and_keep_z_5 (char *path1, char *out_z, char *signature_z) |
| int __valquiriacall | compress2_uncompress_k_real_mt_z_21 (char *input_z, char *output_z) |
Variables | |
| int64_t | max_memory_size_j |
| int64_t | totalbytes_z__5 |
| int | n_threads_z__5 |
| int | finished__5 |
| int | intstatus__5 |
| int | thread_return_value_z__5 |
| int | pauseflag__5 |
| int | cancelflag__5 |
| int64_t | bytes__read_thread_z__5 [129] |
| uint64_t | bytes_in_each_slice_z_21 [129] |
| uint64_t | offset_of_each_slice_z_21 [129] |
| char | temp_path_z__5 [] |
| char | temp_files_z__5 [129][2048] |
| bool | is_multi_thread_z__5 |
| __INT32_OR_INT64 | my_thread_handle__5 [129] |
| int * | cores_used_z__5 |
| #define AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define CHUNK 131072 /* to never change again */ |
| int __valquiriacall compress2_uncompress_k_real_mt_z_21 | ( | char * | input_z, |
| char * | output_z ) |
| int createtempfilename_and_keep_z_5 | ( | char * | path1, |
| char * | out_z, | ||
| char * | signature_z ) |
| __int64 lffilesize | ( | const char * | szFileName | ) |
simple function to get the size of a utf-8 encoded filename, no support to long filenames yet (above MAX_PATH)
to get the file input size, with support to files above 2gb, and unicode support
| szFileName | utf-8 encoded filename |
| szFileName | the utf-8 encoded input file |
| szFileName | utf-8 encoded filename |
simple function to get the size of a utf-8 encoded filename, no support to long filenames yet (above MAX_PATH)
| szFileName | the utf-8 encoded input file |
| void pedro_dprintf | ( | int | amanda_level, |
| char * | format, | ||
| ... ) |
| void pedro_dprintf2 | ( | int | amanda_level, |
| char * | format, | ||
| ... ) |
pedro_dprintf2 is my variant of my debug function because too much calls to pedro_dprintf these days, I am lazy, sorry....
em brotli or brotli2
| amanda_level | if equal or above 0 print the string |
| format | printf based format |
| ... |
| WCHAR * utf8_2_wide_dl | ( | const char * | pUTF8 | ) |
my temporary utf8_2_wide_dl function to add full Unicode support and future (when modified) support to long filenames. (jan/2025)
| pUTF8 |
|
extern |
| uint64_t bytes_in_each_slice_z_21[129] |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
| uint64_t offset_of_each_slice_z_21[129] |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |