![]() |
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 "stdio_v2.h"#include "aline_definitive_header_2_.h"Macros | |
| #define | __attribute__(unused) |
| #define | uchar unsigned char |
| #define | uint unsigned int |
| #define | ushort unsigned short |
| #define | __amandacall __stdcall |
| #define | AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define | AMANDA__SIZE ((32767 * 6) + 2) |
| #define | AMANDA__SIZE_w (32767) |
| #define | AMARIC__VERSION "0.5.0 build 0020" |
| #define | __INT32_OR_INT64 int |
Functions | |
| int __amandacall | get_multithread_progress_8 (void) |
| void | pedro_dprintf (int amanda_level, char *format,...) |
| int __stdcall | IsAMD64 (void) |
| int | compress2_uncompress (char *input, char *output) |
| int | compress2_compress (char *input, char *output, int levelin) |
| int | compress2_compress_k (char *input, char *output, int levelin) |
| This is the function to compress using lzop2 (lzop with multi-thread support) | |
| void | removedordeespaconoinicio (char *path) |
| void | removedordeespaconofinal (char *path) |
| char * | getcpuname_k (void) |
| char * | getprocessorbrandstring_k (void) |
| void | dprintf (char *format,...) |
| int __stdcall | interface1_8 (__INT32_OR_INT64 argumento1, __INT32_OR_INT64 argumento2, __INT32_OR_INT64 argumento3, __INT32_OR_INT64 argumento4) |
| int __stdcall | Compresscompress2_ (char *Inputfile, char *OutPutFile, int CompressionLevel) |
| int __stdcall | Compresscompress2__k (char *Inputfile, char *OutPutFile, int CompressionLevel) |
| int __stdcall | Decompresscompress2_ (char *Inputfile, char *OutPutFile) |
| int __stdcall | compress_l3___rspk_ar (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z__, char *temp_path_z__) |
| function to compress a lzop2 file | |
| int __stdcall | uncompress_l3___rspk_ar (char *Inputfile_arp, char *OutPutFile_arp, int n_threads_z__, char *temp_path_z_S2__, int *cores_used_z__) |
| function to uncompress a lzop2 file | |
| int __stdcall | get_progress_l3___ar (void) |
| int __stdcall | pause_l3___aakp_l3___ar (void) |
| int __stdcall | resume_l3___aakp_l3___ar (void) |
| int __stdcall | cancel_l3___aakp_l3___ar (void) |
Variables | |
| int * | cores_used_z_8 = NULL |
| bool | is_multi_thread_z_8 |
| char | temp_path_z_8 [AMANDA__SIZE] |
| int | n_threads_z_8 = 1 |
| int | intpause_8 |
| int | intcancel_8 |
| int | intstatus_8 |
| #define __amandacall __stdcall |
| #define __attribute__ | ( | unused | ) |
| #define __INT32_OR_INT64 int |
| #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 AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define AMARIC__VERSION "0.5.0 build 0020" |
| #define uchar unsigned char |
| #define uint unsigned int |
| #define ushort unsigned short |
| int __stdcall cancel_l3___aakp_l3___ar | ( | void | ) |
This is the function to compress using lzop2 (lzop with multi-thread support)
| input | utf-8 encode uncompressed file |
| output | utf-8 destination compressed lzop2 file |
| levelin | not in use, at least this release |
| int compress2_uncompress | ( | char * | input, |
| char * | output ) |
| int __stdcall compress_l3___rspk_ar | ( | char * | Input_amanda_file, |
| char * | OutPut_ricardo_File, | ||
| int | Compression_juliete_Level, | ||
| int | n_threads_z__, | ||
| char * | temp_path_z__ ) |
function to compress a lzop2 file
| Input_amanda_file | utf-8 file input file |
| OutPut_ricardo_File | utf-8 file output compressed file |
| Compression_juliete_Level | not in use this moment |
| n_threads_z__ | number of threads to use |
| temp_path_z__ | the temp path to use |
| int __stdcall Decompresscompress2_ | ( | char * | Inputfile, |
| char * | OutPutFile ) |
| void dprintf | ( | char * | format, |
| ... ) |
| int __amandacall get_multithread_progress_8 | ( | void | ) |
| int __stdcall get_progress_l3___ar | ( | void | ) |
| char * getcpuname_k | ( | void | ) |
| char * getprocessorbrandstring_k | ( | void | ) |
| int __stdcall interface1_8 | ( | __INT32_OR_INT64 | argumento1, |
| __INT32_OR_INT64 | argumento2, | ||
| __INT32_OR_INT64 | argumento3, | ||
| __INT32_OR_INT64 | argumento4 ) |
| int __stdcall IsAMD64 | ( | void | ) |
| int __stdcall pause_l3___aakp_l3___ar | ( | void | ) |
| void pedro_dprintf | ( | int | amanda_level, |
| char * | format, | ||
| ... ) |
| void removedordeespaconofinal | ( | char * | path | ) |
| void removedordeespaconoinicio | ( | char * | path | ) |
| int __stdcall resume_l3___aakp_l3___ar | ( | void | ) |
| int __stdcall uncompress_l3___rspk_ar | ( | char * | Inputfile_arp, |
| char * | OutPutFile_arp, | ||
| int | n_threads_z__, | ||
| char * | temp_path_z_S2__, | ||
| int * | cores_used_z__ ) |
function to uncompress a lzop2 file
0 - No error
1 - Cannot open input file
2 - Cannot open output file
5 - Cannot read from input file
6 - Cannot write to output file
7 - Invalid lzop2 file
8 - Decompression error
119 - User cancel
403 - File access error
405 - Cannotm open output file
407 - Cannot create temp file
| int intcancel_8 |
| int intpause_8 |
| int intstatus_8 |
|
extern |
| int n_threads_z_8 = 1 |
| char temp_path_z_8[AMANDA__SIZE] |