![]() |
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 "stdio_v2.h"
#include "../../aline_definitive_header_2_.h"
Macros | |
#define | __amandacall __stdcall |
#define | AMANDA__SIZE ((32767 * 6) + 2) |
#define | AMANDA__SIZE_w (32767) |
#define | AMARIC__VERSION "3.3.1 build 998" |
#define | __INT32_OR_INT64 int |
Functions | |
int __amandacall | get_multithread_progress_14 (void) |
void | pedro_dprintf (int amanda_level, char *format,...) |
int __stdcall | IsAMD64 (void) |
int | compress2_uncompress_14 (char *input, char *output) |
int | compress2_compress (char *input, char *output, int levelin) |
int | compress2_compress_k_14 (char *input, char *output, int levelin) |
void | removedordeespaconoinicio (char *path) |
void | removedordeespaconofinal (char *path) |
char * | getcpuname_k (void) |
char * | getprocessorbrandstring_k (void) |
void | dprintf (char *format,...) |
int __stdcall | interface1_14 (__INT32_OR_INT64 argumento1, __INT32_OR_INT64 argumento2, __INT32_OR_INT64 argumento3, __INT32_OR_INT64 argumento4) |
int __stdcall | compress_c5___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 file in the not standar compress2 method (compress with multi-thread) | |
int __stdcall | uncompress_c5___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 compress2 file. | |
int __stdcall | get_progress_c5___ar (void) |
int __stdcall | pause_c5___aakp_c5___ar (void) |
int __stdcall | resume_c5___aakp_c5___ar (void) |
int __stdcall | cancel_c5___aakp_c5___ar (void) |
Variables | |
int * | cores_used_z_14 = NULL |
bool | is_multi_thread_z_14 |
int | n_threads_z_14 = 1 |
char | temp_path_z_14 [AMANDA__SIZE] |
int | intpause_14 |
int | intcancel_14 |
int | intstatus_14 |
#define __amandacall __stdcall |
#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 AMARIC__VERSION "3.3.1 build 998" |
int __stdcall cancel_c5___aakp_c5___ar | ( | void | ) |
int compress2_uncompress_14 | ( | char * | input, |
char * | output ) |
int __stdcall compress_c5___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 file in the not standar
compress2 method (compress with multi-thread)
Input_amanda_file | utf-8 encoded input file |
OutPut_ricardo_File | utf-8 encoded output file |
Compression_juliete_Level | not in use |
n_threads_z__ | 0 to use all the cores or 1 to 128 threads to use |
temp_path_z__ | ANSI based temp folder (soon utf-8) |
void dprintf | ( | char * | format, |
... ) |
int __amandacall get_multithread_progress_14 | ( | void | ) |
int __stdcall get_progress_c5___ar | ( | void | ) |
char * getcpuname_k | ( | void | ) |
char * getprocessorbrandstring_k | ( | void | ) |
int __stdcall interface1_14 | ( | __INT32_OR_INT64 | argumento1, |
__INT32_OR_INT64 | argumento2, | ||
__INT32_OR_INT64 | argumento3, | ||
__INT32_OR_INT64 | argumento4 ) |
int __stdcall IsAMD64 | ( | void | ) |
int __stdcall pause_c5___aakp_c5___ar | ( | void | ) |
void pedro_dprintf | ( | int | amanda_level, |
char * | format, | ||
... ) |
void removedordeespaconofinal | ( | char * | path | ) |
void removedordeespaconoinicio | ( | char * | path | ) |
int __stdcall resume_c5___aakp_c5___ar | ( | void | ) |
int __stdcall uncompress_c5___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 compress2 file.
Inputfile_arp | utf-8 encoded input compressed file |
OutPutFile_arp | utf-8 encoded output uncompressed file |
n_threads_z__ | 0 to detect the cores and use it, or 1 to 128 threads |
temp_path_z_S2__ | ANSI path to store the temporary file (soon it will be utf-8 based) |
cores_used_z__ | the number of threads being used for decompression, may be different of n_threads_z__, if one thread was selected to compress then the decompression will occur with one thread too |
int intcancel_14 |
int intpause_14 |
int intstatus_14 |
|
extern |
int n_threads_z_14 = 1 |
char temp_path_z_14[AMANDA__SIZE] |