![]() |
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 "aline_definitive_header_2_.h"
Macros | |
#define | __attribute__(unused) |
#define | uchar unsigned char |
#define | uint unsigned int |
#define | ushort unsigned short |
#define | AMARIC__VERSION "3.1.8 build 186" |
#define | __attribute__(unused_ric) |
#define | AMANDA__SIZE ((32767 * 6) + 2) |
#define | AMANDA__SIZE_w (32767) |
#define | THESIZE (300 * 6) |
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) | |
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.... | |
void | pedro_dprintf (int amanda_level, char *format,...) |
int | main_ar (int numArgs, char **) |
char *__stdcall | widetoutf8 (WCHAR *pUSC2) |
int | lgetpor_ar (__int64 max, __int64 fatia) |
__int64 | lffilesize_ar (const char *szFileName) |
simplistic function to get the size of a file, developed 30 years ago | |
int | soc_lzma_compress_ar (char *myinfile__ar, char *myoutfile__ar, __attribute__((unused)) int level_ar) |
int | soc_lzma_uncompress_ar (char *myinfile__ar, char *myoutfile__ar) |
int __stdcall | compress_lzma_aakp_rspk (char *valquiria_input__file_utf_8, char *juliete___output_file_utf_8, int junior_compression_level___) |
function to compress in the standard lzma format | |
int __stdcall | uncompress_lzma_aakp_rspk (char *valquiria_input__file_utf_8, char *juliete___output_file_utf_8) |
Function to uncompress a standard lzma compressed file. | |
int __stdcall | Compress___lzma_c (char *infile_ar, char *outfile_ar) |
int __stdcall | Uncompress_no_no (char *infile_ar, char *outfile_ar) |
int __stdcall | Resume__lzma () |
undocumented because not in use at this moment | |
int __stdcall | Pause__lzma () |
int __stdcall | Cancel__lzma () |
int __stdcall | Returnvalue__lzma () |
int __stdcall | Running__lzma () |
int __stdcall | Progress__lzma () |
Variables | |
char | myinfile_ar [MAX_PATH+1] |
char | myoutfile_ar [MAX_PATH+1] |
int | intreturn_ar_lzma = 0 |
int | comando_ar_lzma = 0 |
int | running_ar_lzma = 0 |
int | intpause_ar_lzma = 0 |
int | intcancel_ar_lzma = 0 |
int | porcentagem_ar_lzma = 0 |
int | unicodemode_ar_lzma = 1 |
__int64 | file_tamanho_ar_lzma = 0 |
#define __attribute__ | ( | unused | ) |
#define __attribute__ | ( | unused_ric | ) |
#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 "3.1.8 build 186" |
#define THESIZE (300 * 6) |
#define uchar unsigned char |
#define uint unsigned int |
#define ushort unsigned short |
int __stdcall Cancel__lzma | ( | ) |
int __stdcall Compress___lzma_c | ( | char * | infile_ar, |
char * | outfile_ar ) |
int __stdcall compress_lzma_aakp_rspk | ( | char * | valquiria_input__file_utf_8, |
char * | juliete___output_file_utf_8, | ||
int | junior_compression_level___ ) |
function to compress in the standard lzma format
valquiria_input__file_utf_8 | utf-8 encoded input file |
juliete___output_file_utf_8 | utf-8 encoded output compressed file |
junior_compression_level___ | not in use, and this version 24.09 uses 300 mb of memory to compress uncompress |
__int64 lffilesize_ar | ( | const char * | szFileName | ) |
simplistic function to get the size of a file, developed 30 years ago
szFileName | utf-8 encoded file |
int lgetpor_ar | ( | __int64 | max, |
__int64 | fatia ) |
int __stdcall Pause__lzma | ( | ) |
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 __stdcall Progress__lzma | ( | ) |
int __stdcall Resume__lzma | ( | ) |
undocumented because not in use at this moment
int __stdcall Returnvalue__lzma | ( | ) |
int __stdcall Running__lzma | ( | ) |
int soc_lzma_compress_ar | ( | char * | myinfile__ar, |
char * | myoutfile__ar, | ||
__attribute__((unused)) int | level_ar ) |
int soc_lzma_uncompress_ar | ( | char * | myinfile__ar, |
char * | myoutfile__ar ) |
int __stdcall uncompress_lzma_aakp_rspk | ( | char * | valquiria_input__file_utf_8, |
char * | juliete___output_file_utf_8 ) |
Function to uncompress a standard lzma compressed file.
valquiria_input__file_utf_8 | utf-8 encoded compressed file |
juliete___output_file_utf_8 | utf-8 encoded output file |
int __stdcall Uncompress_no_no | ( | char * | infile_ar, |
char * | outfile_ar ) |
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 |
char *__stdcall widetoutf8 | ( | WCHAR * | pUSC2 | ) |
int comando_ar_lzma = 0 |
__int64 file_tamanho_ar_lzma = 0 |
int intcancel_ar_lzma = 0 |
int intpause_ar_lzma = 0 |
int intreturn_ar_lzma = 0 |
char myinfile_ar[MAX_PATH+1] |
char myoutfile_ar[MAX_PATH+1] |
int porcentagem_ar_lzma = 0 |
int running_ar_lzma = 0 |
int unicodemode_ar_lzma = 1 |