![]() |
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 "aline_definitive_header_2_.h"Macros | |
| #define | __amandacall __stdcall |
| #define | AMANDA__SIZE ((32767 * 6) + 2) |
| #define | AMANDA__SIZE_w (32767) |
| #define | AMARIC__VERSION "5.5.8 build 370" |
| #define | __INT32_OR_INT64 int |
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.... | |
| int __amandacall | get_multithread_progress__6 (void) |
| void | pedro_dprintf (int amanda_level, char *format,...) |
| int __stdcall | IsAMD64 (void) |
| int | lz5uncompress (char *input, char *output) |
| int | lz5compress (char *input, char *output, int levelin) |
| int | lz5compress_k (char *input, char *output, int levelin) |
| void | removedordeespaconoinicio (char *path) |
| void | removedordeespaconofinal (char *path) |
| char * | getcpuname_k (void) |
| char * | getprocessorbrandstring_k (void) |
| void | dprintf (char *format,...) |
| int __stdcall | interface1__6 (__INT32_OR_INT64 argumento1, __INT32_OR_INT64 argumento2, __INT32_OR_INT64 argumento3, __INT32_OR_INT64 argumento4) |
| int __stdcall | Compresslz5 (char *Inputfile, char *OutPutFile, int CompressionLevel) |
| int __stdcall | CompressLz5_k (char *Inputfile, char *OutPutFile, int CompressionLevel) |
| int __stdcall | DecompressLz5 (char *Inputfile, char *OutPutFile) |
| void | yasmin_charlotte_pereira_dprintf (int amanda_level, char *format,...) |
| int __stdcall | compress_l5___rspk_ar (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z__, char *temp_path_z__) |
| function to compress a not standard lz5 file | |
| int __stdcall | uncompress_l5___rspk_ar (char *Inputfile_arp, char *OutPutFile_arp, int n_threads_z__, char *temp_path_z_S2__, int *cores_used_z__) |
| function to uncompress a lz5 file | |
| int __stdcall | get_progress_l5___ar (void) |
| int __stdcall | pause_l5___aakp_l5___ar (void) |
| int __stdcall | resume_l5___aakp_l5___ar (void) |
| int __stdcall | cancel_l5___aakp_l5___ar (void) |
Variables | |
| int * | cores_used_z__6 = NULL |
| bool | is_multi_thread_z__6 |
| char | temp_path_z__6 [AMANDA__SIZE] |
| the temp path to be used... | |
| int | n_threads_z__6 = 1 |
| int | intpause__6 |
| int | intcancel__6 |
| int | intstatus__6 |
| int | lzop2percent |
| int | unicodemode__6 = 0 |
| #define __amandacall __stdcall |
| #define __INT32_OR_INT64 int |
| #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 AMARIC__VERSION "5.5.8 build 370" |
| int __stdcall cancel_l5___aakp_l5___ar | ( | void | ) |
| int __stdcall compress_l5___rspk_ar | ( | char * | Input_amanda_file, |
| char * | OutPut_ricardo_File, | ||
| int | Compression_juliete_Level, | ||
| int | n_threads_z__, | ||
| char * | temp_path_z__ ) |
function to compress a not standard lz5 file
| Input_amanda_file | utf-8 encoded input file |
| OutPut_ricardo_File | utf-8 encoded output file |
| Compression_juliete_Level | the level to use, not in use this moment... |
| n_threads_z__ | number of threads to use, 0 to detect the number of cores |
| temp_path_z__ | the temp path to use, need to be ANSI for the moment (soon we will solve it) |
| int __stdcall DecompressLz5 | ( | char * | Inputfile, |
| char * | OutPutFile ) |
| void dprintf | ( | char * | format, |
| ... ) |
| int __amandacall get_multithread_progress__6 | ( | void | ) |
| int __stdcall get_progress_l5___ar | ( | void | ) |
| char * getcpuname_k | ( | void | ) |
| char * getprocessorbrandstring_k | ( | void | ) |
| int __stdcall interface1__6 | ( | __INT32_OR_INT64 | argumento1, |
| __INT32_OR_INT64 | argumento2, | ||
| __INT32_OR_INT64 | argumento3, | ||
| __INT32_OR_INT64 | argumento4 ) |
| int __stdcall IsAMD64 | ( | void | ) |
| int lz5uncompress | ( | char * | input, |
| char * | output ) |
| int __stdcall pause_l5___aakp_l5___ar | ( | void | ) |
| 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 |
| ... |
| void removedordeespaconofinal | ( | char * | path | ) |
| void removedordeespaconoinicio | ( | char * | path | ) |
| int __stdcall resume_l5___aakp_l5___ar | ( | void | ) |
| int __stdcall uncompress_l5___rspk_ar | ( | char * | Inputfile_arp, |
| char * | OutPutFile_arp, | ||
| int | n_threads_z__, | ||
| char * | temp_path_z_S2__, | ||
| int * | cores_used_z__ ) |
function to uncompress a lz5 file
| Inputfile_arp | utf-8 encoded input file |
| OutPutFile_arp | utf-8 encoded output file |
| n_threads_z__ | number of threads to use, 0 to detect cores to use or 1 to 128 threads to use |
| temp_path_z_S2__ | ANSI encoded temp path (soon utf-8) |
| cores_used_z__ | it will show the number of threads being used during decompression, because it may not be the number of threads selected on the n_threads_z__ variable |
0 - No error
1 - Cannot open input file
2 - Cannot open output file
5 - Cannot read from input file
6 - Cannot write to output file
7 - Invalid lz5 compressed file
119 - User cancel
405 - Cannot open output file
407 - Cannot create a temp file
| void yasmin_charlotte_pereira_dprintf | ( | int | amanda_level, |
| char * | format, | ||
| ... ) |
| int intcancel__6 |
| int intpause__6 |
| int intstatus__6 |
|
extern |
|
extern |
| int n_threads_z__6 = 1 |
| char temp_path_z__6[AMANDA__SIZE] |
the temp path to be used...
| int unicodemode__6 = 0 |