![]() |
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 "bzlib.h"#include "stdio_v2.h"#include "bzip3_structs_z.h"#include "bzip3_thread.c"Macros | |
| #define | CHUNK 131072 /* to never change again */ |
| #define | AMANDA__SIZE ((32767 * 6) + 2) |
| #define | AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define | AMANDA__SIZE_w (32767) |
Functions | |
| 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) | |
| __int64 | lffilesize_dl (const char *szFileName) |
| default function to get the size of files with Unicode support | |
| HANDLE | lfopen_dl (const char *szFileName, char *pMode) |
| int | createtempfilename_and_keep_z_fixed (char *path1, char *out_z, char *signature_z) |
| void | pedro_dprintf (int amanda_level, char *format,...) |
| __int64 | lffilesizexcx (const char *szFileName) |
| HANDLE | lfopen (const char *szFileName, char *pMode) |
| void | lfclose (HANDLE hFile) |
| int | createtempfilename_and_keep_z (char *path1, char *out_z, WCHAR *signature_z) |
| int __valquiriacall | compress2_uncompress_k_real_mt_z_30 (char *input_z, char *output_z) |
Variables | |
| int64_t | max_memory_size_k__p |
| bool | is_multi_thread_z |
| char | temp_files_z [129][2048] |
| char | temp_path_z [] |
| int | finishedxcx |
| int | intcancelxcx |
| int | intpausexcx |
| int | intstatusxcx |
| int | n_threads_z |
| int | thread_return_value_z |
| int64_t | bytes__read_thread_z [129] |
| int64_t | totalbytes_z |
| __INT32_OR_INT64 | my_thread_handlexcx [129] |
| int * | cores_used_zxcx |
| #define AMANDA__SIZE ((32767 * 6) + 2) |
The maximum size of an utf-8 encoded filename with the max limit of a file in Windows
| #define AMANDA__SIZE_w (32767) |
The maximum size of Unicode characters in a path in Windows, Linux is 1024 characters as far I know
| #define AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define CHUNK 131072 /* to never change again */ |
| int __valquiriacall compress2_uncompress_k_real_mt_z_30 | ( | char * | input_z, |
| char * | output_z ) |
| int createtempfilename_and_keep_z | ( | char * | path1, |
| char * | out_z, | ||
| WCHAR * | signature_z ) |
It will just create a windows based temp file using the signature_z information
| path1 | the path where it will create |
| out_z | the utf-8 encoded temp file |
| signature_z | the 3 characters to be used as the initial data on the destination temp file |
| int createtempfilename_and_keep_z_fixed | ( | char * | path1, |
| char * | out_z, | ||
| char * | signature_z ) |
| void lfclose | ( | HANDLE | hFile | ) |
| __int64 lffilesize_dl | ( | const char * | szFileName | ) |
default function to get the size of files with Unicode support
| szFileName | utf-8 encoded file |
| __int64 lffilesizexcx | ( | const char * | szFileName | ) |
| HANDLE lfopen | ( | const char * | szFileName, |
| char * | pMode ) |
| HANDLE lfopen_dl | ( | const char * | szFileName, |
| char * | pMode ) |
| void pedro_dprintf | ( | int | amanda_level, |
| char * | 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 |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |