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 uint ; //since we want speed we have no checksum on it
16 */
17 int attrib;
18 /*
19 FILETIME creation;//add it to gzip2?...
20 FILETIME lwrite;
21 */
23
24typedef struct my_thread_struct_z__
25{
27 int * intpause_8 ;
29 int thread_id_z ;
30 int ret ;
31#ifdef ARP_USE_ENHANCED_STDIO
32 FILE * dest ;
33#else
34 FILE * dest ;
35#endif
36 FILE * dest_original ;
37 FILE * input_file ;
38 int64_t offset_z ;
39 int64_t size_of_input_file_z ;
40
41 ar_data ar ;
42 int level ;
43
44 int retvalue ;
46 int64_t *bytes_read_z ;
48
50 char * memory_z ;
51
52 bool dest_is_FILE_z ;
53}
55
56typedef struct {
57 int error;
58 unsigned long long size_in;
59 unsigned long long size_out;
61
62
63#ifdef ARP_USE_ENHANCED_STDIO
65compress_file_c_02(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
66#else
68compress_file_c_02(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
69#endif
70
71int decompress_file_c_01(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
72
73void
75(
76 int amanda_level,
77 char *format, ...
78);
79
80#define __valquiriacall __fastcall
Definition stdio_v3.h:12
int attrib
Definition stdio_v3.h:15
Definition stdio_v3.h:52
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
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
int * intcancel_8
Definition stdio_v3.h:28
bool dest_is_FILE_z
Definition stdio_v3.h:32
enum process_mode our_mode_z
Definition stdio_v3.h:33
char * memory_z
Definition stdio_v3.h:50
FILE * dest
Definition stdio_v3.h:26
int thread_id_z
Definition stdio_v3.h:40
int level
Definition stdio_v3.h:37
int * intpause_8
Definition stdio_v3.h:27
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
struct _ar_data ar_data
struct my_thread_struct_z__ my_thread_struct_z
void pedro_dprintf(int amanda_level, char *format,...)
Definition pedro.c:43
int decompress_file_c_01(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
Definition compress2_z.c:84
process_mode
Definition stdio_v3.h:6
compressResult_t compress_file_c_02(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
Definition compress2_z.c:65
void error(char *msg) const
Definition minigzip.c:356