![]() |
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 | uchar unsigned char |
| #define | uint unsigned int |
| #define | ushort unsigned short |
| #define | AMARIC__VERSION "7.7.0 build 480" |
| #define | MYCAST int |
| #define | __amandacall __stdcall |
| #define | AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define | AMANDA__SIZE ((32767 * 6) + 2) |
| #define | AMANDA__SIZE_w (32767) |
Typedefs | |
| typedef void * | myfile |
Functions | |
| void | pedro_dprintf (int amanda_level, char *format,...) |
| uint32_t | tuklib_cpucores_z__5 (void) |
| Borrowed from XZ compression. | |
| int __amandacall | get_multithread_progress__5 (void) |
| __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) | |
| uint __stdcall | rspcompress (char *inputfile, char *outfile) |
| int | zcompress_sha512_k__5 (char *input, char *output, int levelin) |
| function to compress a not standard gzip2 file | |
| uint __stdcall | rspuncompress (uchar *outfile, uchar *outfile2) |
| int | zuncompress__5 (char *input, char *output) |
| function to extract a not standard gzip2 file | |
| int | zcompress (char *input, char *output, int level) |
| int | gzclose (myfile file) |
| myfile | gzopen (char *path_now_as_utf8, char *mode) |
| int | gzread (myfile file, char *buf, uint len) |
| char * | gzerror (myfile file, int *errnum) |
| int | gzwrite (myfile file, const char *buf, uint len) |
| void | dprintf (char *format,...) |
| uint __stdcall | rspvalidatefile (uchar *outfile2) |
| uint __stdcall | getporcentagemxcx2 () |
| uint __stdcall | tcompressxcx2 (char *inputfile, char *outfile) |
| int __stdcall | startapi (__attribute__((unused)) int parameter) |
| int __stdcall | interface1___5 (int argumento1, int argumento2, int argumento3, __attribute__((unused)) int argumento4) |
| int __stdcall | compress_g2___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 gzip2 file | |
| int __stdcall | uncompress_g2___rspk_ar (char *Inputfile_arp, char *OutPutFile_arp, int n_threads_z__, char *temp_path_z_S2__, int *cores_used_z__) |
| function to extract a not standard gzip2 file | |
| int __stdcall | get_progress_g2___ar (void) |
| int __stdcall | pause_g2___aakp_g2___ar (void) |
| int __stdcall | resume_g2___aakp_g2___ar (void) |
| int __stdcall | cancel_g2___aakp_g2___ar (void) |
Variables | |
| int * | cores_used_z__5 = NULL |
| char | temp_path_z__5 [AMANDA__SIZE] |
| int | n_threads_z__5 = 1 |
| bool | is_multi_thread_z__5 |
| uint | intstatus__5 = 0 |
| int | zlibpercent__5 |
| uint | pauseflag__5 |
| uint | cancelflag__5 |
| uint | finished__5 |
| #define __amandacall __stdcall |
| #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) |
The maximum size of an utf-8 encoded filename with the max limit of a file in Windows
| #define AMARIC__VERSION "7.7.0 build 480" |
| #define MYCAST int |
| #define uchar unsigned char |
| #define uint unsigned int |
| #define ushort unsigned short |
| typedef void* myfile |
| int __stdcall cancel_g2___aakp_g2___ar | ( | void | ) |
| int __stdcall compress_g2___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 gzip2 file
| Input_amanda_file | utf-8 encoded input file |
| OutPut_ricardo_File | utf-8 encoded output file |
| Compression_juliete_Level | the level to use, range from 0 to 9, 9 best compression |
| void dprintf | ( | char * | format, |
| ... ) |
| int __amandacall get_multithread_progress__5 | ( | void | ) |
| int __stdcall get_progress_g2___ar | ( | void | ) |
| uint __stdcall getporcentagemxcx2 | ( | ) |
| myfile gzopen | ( | char * | path_now_as_utf8, |
| char * | mode ) |
| int __stdcall interface1___5 | ( | int | argumento1, |
| int | argumento2, | ||
| int | argumento3, | ||
| __attribute__((unused)) int | argumento4 ) |
| __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 |
| int __stdcall pause_g2___aakp_g2___ar | ( | void | ) |
| void pedro_dprintf | ( | int | amanda_level, |
| char * | format, | ||
| ... ) |
| int __stdcall resume_g2___aakp_g2___ar | ( | void | ) |
| uint __stdcall rspcompress | ( | char * | inputfile, |
| char * | outfile ) |
| int __stdcall startapi | ( | __attribute__((unused)) int | parameter | ) |
| uint __stdcall tcompressxcx2 | ( | char * | inputfile, |
| char * | outfile ) |
| uint32_t tuklib_cpucores_z__5 | ( | void | ) |
Borrowed from XZ compression.
| int __stdcall uncompress_g2___rspk_ar | ( | char * | Inputfile_arp, |
| char * | OutPutFile_arp, | ||
| int | n_threads_z__, | ||
| char * | temp_path_z_S2__, | ||
| int * | cores_used_z__ ) |
function to extract a not standard gzip2 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 and use all the cores or 1 to 128 |
| temp_path_z_S2__ | the temp path to use, need to be ANSI |
| cores_used_z__ | on exit it will set the number of threads used for decompression, because you may select 128 but only four will be used, notice that if you compress a file with 16 threads it will use 16 to extract, even if you select 128 |
function to compress a not standard gzip2 file
| input | utf-8 encoded input file |
| output | utf-8 encoded output file |
| levelin |
| int zuncompress__5 | ( | char * | input, |
| char * | output ) |
function to extract a not standard gzip2 file
| input | utf-8 encoded input file |
| output | utf-8 encoded output file |
| uint cancelflag__5 |
| uint finished__5 |
| uint intstatus__5 = 0 |
|
extern |
| int n_threads_z__5 = 1 |
| uint pauseflag__5 |
| char temp_path_z__5[AMANDA__SIZE] |
|
extern |