Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
stdio_v3.h
Go to the documentation of this file.
1//2021 by amanda & ricardo
2
3#define ARP_USE_ENHANCED_STDIO
4
10
11typedef struct _ar_data
12{
13 char string[4];
14
15 int attrib;
16 /*
17 FILETIME creation;//add it to gzip2?...
18 FILETIME lwrite;
19 */
21
23{
24
25#ifdef ARP_USE_ENHANCED_STDIO
26 FILE * dest ;
27#else
28 FILE * dest ;
29#endif
30
35 FILE * input_file ;
37 int level ;
38 int ret ;
42 int * intpause_7 ;
43 int64_t *bytes_read_z ;
44 int64_t offset_z ;
48
49}
51
52typedef struct {
53 int error;
54 unsigned long long size_in;
55 unsigned long long size_out;
57
58
59#ifdef ARP_USE_ENHANCED_STDIO
61compress_file(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
62#else
64compress_file(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
65#endif
66
67
69compress_file_18(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
70
71int decompress_file(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
72int decompress_file_18(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
73
74void
76(
77 int amanda_level,
78 char *format, ...
79);
80
81//#define MAX_MEMORY_SIZE_Z (16 * 1024 * 1024)
82
83#define __valquiriacall __fastcall
84int __valquiriacall compress2_uncompress_k_real_mt_z_7 (char *input_z, char *output_z)/*for your pleasure */ ;
Definition stdio_v3.h:12
int attrib
Definition stdio_v3.h:15
Definition stdio_v3.h:52
int error
Definition stdio_v3.h:53
unsigned long long size_in
Definition stdio_v3.h:54
unsigned long long size_out
Definition stdio_v3.h:55
Definition stdio_v3.h:23
int64_t offset_z
Definition stdio_v3.h:44
int64_t size_of_input_file_copy_z
Definition stdio_v3.h:46
int * intpause_7
Definition stdio_v3.h:42
int64_t size_of_destination_file_z
Definition stdio_v3.h:45
FILE * dest_original
Definition stdio_v3.h:34
int retvalue
Definition stdio_v3.h:39
int ret
Definition stdio_v3.h:38
ar_data ar
Definition stdio_v3.h:31
int64_t * bytes_read_z
Definition stdio_v3.h:43
bool dest_is_FILE_z
Definition stdio_v3.h:32
enum process_mode our_mode_z
Definition stdio_v3.h:33
int * intcancel_7
Definition stdio_v3.h:41
FILE * dest
Definition stdio_v3.h:26
int thread_id_z
Definition stdio_v3.h:40
int level
Definition stdio_v3.h:37
int internal_error_arp
Definition stdio_v3.h:36
FILE * input_file
Definition stdio_v3.h:35
int64_t size_of_input_file_z
Definition stdio_v3.h:47
process_mode
Definition stdio_v3.h:6
@ Z_MODE_IS_COMPRESSION
Definition stdio_v3.h:7
@ Z_MODE_IN_DECOMPRESSION
Definition stdio_v3.h:8
compressResult_t compress_file(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
struct _ar_data ar_data
int __valquiriacall compress2_uncompress_k_real_mt_z_7(char *input_z, char *output_z)
Definition brotli2_multi.c:101
int decompress_file(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
struct my_thread_struct_z__ my_thread_struct_z
#define __valquiriacall
Definition stdio_v3.h:83
compressResult_t compress_file_18(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
int decompress_file_18(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
Definition brotli.c:1609
void pedro_dprintf(int amanda_level, char *format,...)
Definition pedro.c:43
process_mode
Definition stdio_v3.h:6