![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
file with the function calls to brotli compression More...
#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 "helper_utilities_by_amanda_and_ricardo.c"
Macros | |
#define | __attribute__(unused) |
#define | uchar unsigned char |
#define | uint unsigned int |
#define | ushort unsigned short |
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.... | |
__int64 | lffilesize_dl (const char *szFileName) |
default function to get the size of files with Unicode support | |
int | main_10 (int const argCount, const char **argv) |
int __stdcall | compress_br___rspk_ar (char *Input_amanda_file_utf_8, char *OutPut_ricardo_File_utf_8, __attribute__((unused)) int Compression_juliete_Level_unused___) |
this is the function to compress using brotli format | |
int __stdcall | uncompress_br___rspk_ar (char *Input_amanda_file_utf_8, char *OutPut_ricardo_File_utf_8) |
function to uncompress a brotli file | |
int __stdcall | get_progress_br___ar (void) |
Get the progress of the compression or decompression. | |
int __stdcall | pause_br___aakp_br___ar (void) |
to pause the compression por decompression | |
int __stdcall | resume_br___aakp_br___ar (void) |
to resume the compression or decompression | |
int __stdcall | cancel_br___aakp_br___ar (void) |
to cancel the compression or decompression | |
file with the function calls to brotli compression
#define __attribute__ | ( | unused | ) |
#define uchar unsigned char |
#define uint unsigned int |
#define ushort unsigned short |
int __stdcall cancel_br___aakp_br___ar | ( | void | ) |
to cancel the compression or decompression
int __stdcall compress_br___rspk_ar | ( | char * | Input_amanda_file_utf_8, |
char * | OutPut_ricardo_File_utf_8, | ||
__attribute__((unused)) int | Compression_juliete_Level_unused___ ) |
this is the function to compress using brotli format
You can read more abour brotli compression
at: https://en.wikipedia.org/wiki/Brotli
Input_amanda_file_utf_8 | utf-8 encoded input file |
OutPut_ricardo_File_utf_8 | utf-8 encoded output file |
int __stdcall get_progress_br___ar | ( | void | ) |
Get the progress of the compression or decompression.
__int64 lffilesize_dl | ( | const char * | szFileName | ) |
default function to get the size of files with Unicode support
szFileName | utf-8 encoded file |
int __stdcall pause_br___aakp_br___ar | ( | void | ) |
to pause the compression por decompression
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 resume_br___aakp_br___ar | ( | void | ) |
to resume the compression or decompression
int __stdcall uncompress_br___rspk_ar | ( | char * | Input_amanda_file_utf_8, |
char * | OutPut_ricardo_File_utf_8 ) |
function to uncompress a brotli file
You can read more abour brotli compression
at: https://en.wikipedia.org/wiki/Brotli
Input_amanda_file_utf_8 | utf-8 encoded brotli compressed file |
OutPut_ricardo_File_utf_8 | utf-8 encoded destination file |
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 |