![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <windows.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 <lzma.h>
Macros | |
#define | uint unsigned int |
Functions | |
void | dprintf (char *format,...) |
int __fastcall | progress_pos_m (uint64_t *in_pos, uint64_t *compressed_pos, uint64_t *uncompressed_pos) |
void | pedro_dprintf (int amanda_level, char *format,...) |
WCHAR * | utf8_2_wide_dl (char *pUTF8) |
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 | xz_compress (char *inputfile, char *outputfile, int level) |
Variables | |
int | porcentagem |
int64_t | bytes_processados_m |
int64_t | final_fix_p |
int | threads_z_9 = 1 |
int | intpause_9 |
int | intcancel_9 |
__int64 | tamanho = 0 |
#define uint unsigned int |
void dprintf | ( | char * | format, |
... ) |
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 |
... |
int __fastcall progress_pos_m | ( | uint64_t * | in_pos, |
uint64_t * | compressed_pos, | ||
uint64_t * | uncompressed_pos ) |
WCHAR * utf8_2_wide_dl | ( | char * | pUTF8 | ) |
function to compress files in the standard .xz format the level range from 0 to 9, 9 to best compression
xz files can be decompressed with Winrar
if threads is used the compression level is the default or controled internally, level don't matter (26/sep/2021, 02:45)
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
__int64 tamanho = 0 |
int threads_z_9 = 1 |