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#include <stdbool.h>
4
5#define ARP_USE_ENHANCED_STDIO
6
7
8//#define MAX_MEMORY_SIZE_Z (16 * 1024 * 1024)
9
10typedef struct _ar_data
11{
12 char string[4];
13 /*
14 uint rsp32; //since we want speed we have no checksum on it
15 */
16 int attrib;
17 /*
18 FILETIME creation;//add it to gzip2?...
19 FILETIME lwrite;
20 */
22
23typedef struct my_thread_struct_z__
24{
25 ar_data ar ;
26 bool dest_is_FILE_z ;
27 FILE * input_file ;
29 int level ;
30 int ret ;
31 int retvalue ;
32 int thread_id_z ;
35 int64_t offset_z ;
38 int64_t size_of_input_file_z ;
39 int64_t * bytes_read_z ;
41
42#ifdef ARP_USE_ENHANCED_STDIO
43 FILE * dest ;
44#else
45 FILE * dest ;
46#endif
47}
49
50typedef struct {
51 int error;
52 unsigned long long size_in;
53 unsigned long long size_out;
55
56
57#ifdef ARP_USE_ENHANCED_STDIO
59compress_file_19(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
60#else
62compress_file_19(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
63#endif
64
65int decompress_file_19(FILE* f_in, FILE* f_out, my_thread_struct_z * amanda);
66
67void
69(
70 int amanda_level,
71 char *format, ...
72);
73
74#define __valquiriacall __fastcall
75int __valquiriacall compress2_uncompress_k_real_mt_z (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
Definition stdio_v3.h:23
int * intcancel__6
Definition stdio_v3.h:33
int64_t offset_z
Definition stdio_v3.h:44
int64_t size_of_input_file_copy_z
Definition stdio_v3.h:46
int * intpause__6
Definition stdio_v3.h:34
int64_t size_of_destination_file_z
Definition stdio_v3.h:45
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
int64_t bytes_saved_charli
Definition stdio_v3.h:40
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
struct _ar_data ar_data
struct my_thread_struct_z__ my_thread_struct_z
#define __valquiriacall
Definition stdio_v3.h:83
void pedro_dprintf(int amanda_level, char *format,...)
Definition pedro.c:43
int decompress_file_19(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
Definition lz4_frame_arp.c:497
compressResult_t compress_file_19(FILE *f_in, FILE *f_out, my_thread_struct_z *amanda)
Definition lz4_frame_arp.c:254
int __valquiriacall compress2_uncompress_k_real_mt_z(char *input_z, char *output_z)
Definition lz5_multi.c:155
void error(char *msg) const
Definition minigzip.c:356