Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
arp_dll.c File Reference

Main API functions for Zstandard 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

void pedro_dprintf2 (int amanda_level, char *format,...)
 esta em brotli ou brotli2
 
int main (int const argCount, const char **argv)
 
int main_8 (int argCount, const char *argv[])
 
int __stdcall compress_zs___rspk_ar (char *Input_amanda_file_utf_8, char *OutPut_ricardo_File_utf_8, __attribute__((unused)) int Compression_juliete_Level_unused___, int threads_z)
 function to compress a file with Zstandard method
 
int __stdcall uncompress_zs___rspk_ar (char *Input_amanda_file_utf_8, char *OutPut_ricardo_File_utf_8)
 function to uncompress a standard Zstandard file
 
int __stdcall get_progress_zs___ar (void)
 Get the progress of the compression or decompression.
 
int __stdcall pause_zs___aakp_zs___ar (void)
 to pause the execution
 
int __stdcall resume_zs___aakp_zs___ar (void)
 To resume the execution.
 
int __stdcall cancel_zs___aakp_zs___ar (void)
 To cancel the execution.
 

Detailed Description

Main API functions for Zstandard compression.

Author
Ric
Version
1.0.1
Date
2024-dec-30 15:19

Macro Definition Documentation

◆ __attribute__

#define __attribute__ ( unused)
Value:
/* chloe */

◆ uchar

#define uchar   unsigned char

◆ uint

#define uint   unsigned int

◆ ushort

#define ushort   unsigned short

Function Documentation

◆ cancel_zs___aakp_zs___ar()

int __stdcall cancel_zs___aakp_zs___ar ( void )

To cancel the execution.

◆ compress_zs___rspk_ar()

int __stdcall compress_zs___rspk_ar ( char * Input_amanda_file_utf_8,
char * OutPut_ricardo_File_utf_8,
__attribute__((unused)) int Compression_juliete_Level_unused___,
int threads_z )

function to compress a file with Zstandard method

Parameters
Input_amanda_file_utf_8utf-8 encoded input filename
OutPut_ricardo_File_utf_8utf-8 output compressed Zstandard file
threads_zthe number of threads to use
Returns
int
0 - No error
8 - Error during compression
119 - User cancel

◆ get_progress_zs___ar()

int __stdcall get_progress_zs___ar ( void )

Get the progress of the compression or decompression.

Returns
int the progress value, it range from 0 to 10000

◆ main()

int main ( int const argCount,
const char ** argv )
extern

◆ main_8()

int main_8 ( int argCount,
const char * argv[] )

◆ pause_zs___aakp_zs___ar()

int __stdcall pause_zs___aakp_zs___ar ( void )

to pause the execution

Returns
int always 0

◆ pedro_dprintf2()

void pedro_dprintf2 ( int amanda_level,
char * format,
... )

esta em brotli ou brotli2

Parameters
amanda_level
format
...

esta em brotli ou brotli2

em brotli or brotli2

Parameters
amanda_levelif equal or above 0 print the string
formatprintf based format
...

◆ resume_zs___aakp_zs___ar()

int __stdcall resume_zs___aakp_zs___ar ( void )

To resume the execution.

◆ uncompress_zs___rspk_ar()

int __stdcall uncompress_zs___rspk_ar ( char * Input_amanda_file_utf_8,
char * OutPut_ricardo_File_utf_8 )

function to uncompress a standard Zstandard file

Parameters
Input_amanda_file_utf_8the utf-8 encoded Zstandard file
OutPut_ricardo_File_utf_8the utf-8 uncompressed file
Returns
int
0 - No error
7 - Error during decompression 119 - User cancel