Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
dllxz.c File Reference
#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>

Macros

#define AMANDA__SIZE   ((32767 * 6) + 2)
 
#define AMANDA__SIZE_w   (32767)
 
#define __INT32_OR_INT64   int
 

Functions

void pedro_dprintf (int amanda_level, char *format,...)
 
int xz_compress (char *inputfile, char *outputfile, int level)
 
int xz_uncompress (char *inputfile, char *outputfile)
 internal function to decompress xz file
 
int __stdcall interface1_9 (__INT32_OR_INT64 argumento1, __INT32_OR_INT64 argumento2, __INT32_OR_INT64 argumento3, __INT32_OR_INT64 argumento4)
 
int __stdcall Compress_xz__9 (char *infile__aakp, char *outfile_rspk, int level_juliete, int threads_____z)
 
int __stdcall Uncompress_xz__9 (char *infile__aakp, char *outfile_rspk)
 
int __stdcall Pause_xz__9 (void)
 
int __stdcall Resume_xz__9 (void)
 
int __stdcall Cancel_xz__9 (void)
 
int __stdcall Returnvalue ()
 
int __stdcall Running ()
 
int __stdcall Progress_xz__9 (void)
 

Variables

int threads_z_9
 
int thelevel = 0
 
int running = 0
 
int intpause_9 = 0
 
int intcancel_9 = 0
 
int64_t bytes_processados_m
 
int porcentagem
 

Macro Definition Documentation

◆ __INT32_OR_INT64

#define __INT32_OR_INT64   int

◆ AMANDA__SIZE

#define AMANDA__SIZE   ((32767 * 6) + 2)

The maximum size of an utf-8 encoded filename with the max limit of a file in Windows

◆ AMANDA__SIZE_w

#define AMANDA__SIZE_w   (32767)

The maximum size of Unicode characters in a path in Windows, Linux is 1024 characters as far I know

Function Documentation

◆ Cancel_xz__9()

int __stdcall Cancel_xz__9 ( void )

◆ Compress_xz__9()

int __stdcall Compress_xz__9 ( char * infile__aakp,
char * outfile_rspk,
int level_juliete,
int threads_____z )

◆ interface1_9()

int __stdcall interface1_9 ( __INT32_OR_INT64 argumento1,
__INT32_OR_INT64 argumento2,
__INT32_OR_INT64 argumento3,
__INT32_OR_INT64 argumento4 )

◆ Pause_xz__9()

int __stdcall Pause_xz__9 ( void )

◆ pedro_dprintf()

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

◆ Progress_xz__9()

int __stdcall Progress_xz__9 ( void )

◆ Resume_xz__9()

int __stdcall Resume_xz__9 ( void )

◆ Returnvalue()

int __stdcall Returnvalue ( )

◆ Running()

int __stdcall Running ( )

◆ Uncompress_xz__9()

int __stdcall Uncompress_xz__9 ( char * infile__aakp,
char * outfile_rspk )

◆ xz_compress()

int xz_compress ( char * inputfile,
char * outputfile,
int level )

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)

◆ xz_uncompress()

int xz_uncompress ( char * inputfile,
char * outputfile )

internal function to decompress xz file

Parameters
inputfile
outputfile
Returns
int

Variable Documentation

◆ bytes_processados_m

int64_t bytes_processados_m

◆ intcancel_9

int intcancel_9 = 0

◆ intpause_9

int intpause_9 = 0

◆ porcentagem

int porcentagem

◆ running

int running = 0

◆ thelevel

int thelevel = 0

◆ threads_z_9

int threads_z_9
extern