49 bool recurse_on_subfolders_amanda_s_smart_ape,
enum amanda__mode amanda_mode,
bool);
63#define SHOW_DEBUG_SPEED_Z show_debug_z
75 QueryPerformanceFrequency(&first);
76 double a = first.QuadPart;
77 QueryPerformanceCounter(&second);
78 double b = second.QuadPart;
100 static int64_t temp_long_long;
104#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
222 assert(0 &&
"Unsupported encryption method\n");
227 WCHAR *ar_temp = (
void *)malloc(r_temp);
228 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
238 WCHAR *ar_temp = (
void *)malloc(r_temp);
239 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
241 WCHAR *ar_temp3 = (
void *)malloc(r_temp2);
242 WCHAR *ar_temp4 = (
void *)malloc(r_temp2);
255 WCHAR *ar_temp = (
void *)malloc(r_temp);
256 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
344write_ustar_long_name(
const char *
name);
406 aak_ptr->
filename_ar = malloc(strlen(data_ar) + 1);
475 my_ptr2_ar = my_ptr_ar;
476 my_ptr_ar = my_ptr_ar->
next_ar;
532#if defined STAT_TIMESPEC
533 return STAT_TIMESPEC(st, st_ctim).tv_nsec;
534#elif defined STAT_TIMESPEC_NS
535 return STAT_TIMESPEC_NS(st, st_ctim);
553 return STAT_TIMESPEC(st, st_ctim);
556 t.tv_sec = st->st_ctime;
573#if defined STAT_TIMESPEC
574 return STAT_TIMESPEC(st, st_mtim).tv_nsec;
575#elif defined STAT_TIMESPEC_NS
576 return STAT_TIMESPEC_NS(st, st_mtim);
594 return STAT_TIMESPEC(st, st_mtim);
597 t.tv_sec = st->st_mtime;
614#if defined STAT_TIMESPEC
615 return STAT_TIMESPEC(st, st_atim).tv_nsec;
616#elif defined STAT_TIMESPEC_NS
617 return STAT_TIMESPEC_NS(st, st_atim);
635 return STAT_TIMESPEC(st, st_atim);
638 t.tv_sec = st->st_atime;
652to_chars(
int negative, uintmax_t value,
size_t valsize,
653 uintmax_t (*substitute)(
int *),
654 char *where,
size_t size,
const char *type);
682 path[
i] = tolower(path[
i]);
693string_to_chars(
char const *
str,
char *p,
size_t s)
704to_chars(
int negative, uintmax_t value,
size_t valsize,
705 uintmax_t (*substitute)(
int *),
706 char *where,
size_t size,
const char *type);
713uid_substitute(
int *negative)
720 static uid_t uid_nobody;
721 if (!uid_nobody && !0)
734uintmax_to_chars(uintmax_t v,
char *p,
size_t s)
736 return to_chars(0, v,
sizeof v, 0, p, s,
"uintmax_t");
767 uintmax_to_chars((uintmax_t)sum,
header->header.chksum, 7);
803uid_to_chars(
int v,
char *p,
size_t s)
805 return to_chars(v < 0, (uintmax_t)v,
sizeof v, uid_substitute, p, s,
"uid_t");
813gid_substitute(
int *negative)
821 static gid_t gid_nobody;
822 if (!gid_nobody && !
gname_to_gid(
"nobody", &gid_nobody))
838gid_to_chars(
int v,
char *p,
size_t s)
840 return to_chars(v < 0, (uintmax_t)v,
sizeof v, gid_substitute, p, s,
"gid_t");
848mode_to_chars(mode_t v,
char *p,
size_t s)
870 return to_chars(negative, u,
sizeof v, 0, p, s,
"mode_t");
878to_chars(
int negative, uintmax_t value,
size_t valsize,
879 uintmax_t (*substitute)(
int *),
880 char *where,
size_t size,
const char *type);
888 return to_chars(v < 0, (uintmax_t)v,
sizeof v, 0, p, s,
"time_t");
897static struct keyword_list *keyword_global_override_list;
899int __stdcall
create_archive_ar(
char *tar_filename_ar,
char *path_with_the_files_ar,
char *patern_ar,
int compression_mode_external_ar);
904 char const *fullname);
907to_chars(
int negative, uintmax_t
value,
size_t valsize,
908 uintmax_t (*substitute)(
int *),
909 char *where,
size_t size,
const char *type);
913#if (2 <= __GNUC__ || (1210 <= __IBMC__ && defined __IBM__TYPEOF__) || (0x5110 <= __SUNPRO_C && !__STDC__))
914#define _GL_HAVE___TYPEOF__ 1
916#define _GL_HAVE___TYPEOF__ 0
922#if _GL_HAVE___TYPEOF__
925#define _GL_SIGNED_TYPE_OR_EXPR(t) 1
931#define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485)
955#pragma GCC diagnostic push
956#pragma GCC diagnostic ignored "-Wstringop-overflow="
966 while ((
i /= 10) != 0);
974 while ((
i /= 10) != 0);
979#pragma GCC diagnostic pop
987to_chars_subst(
int negative,
int gnu_format, uintmax_t
value,
size_t valsize,
988 uintmax_t (*substitute)(
int *),
989 char *where,
size_t size,
const char *type)
991 uintmax_t maxval = (gnu_format
994 char valbuf[5000 + 1];
995 char minbuf[5000 + 1];
999 uintmax_t m = maxval + 1 ? maxval + 1 : maxval / 2 + 1;
1022 uintmax_t sub = substitute(&negsub) & maxval;
1031 char subbuf[5000 + 1];
1034 *--sub_string =
'-';
1038 return to_chars(negsub, s, valsize, 0, where,
size, type);
1042 pedro_dprintf(2,
"value out of range ***************** cheque");
1059 uintmax_t v =
value;
1060 uintmax_t propagated_sign_bits =
1061 ((uintmax_t)-negative << (CHAR_BIT *
sizeof v -
LG_256));
1066 where[--
i] = v & ((1 <<
LG_256) - 1);
1067 v = propagated_sign_bits | (v >>
LG_256);
1081 uintmax_t v =
value;
1086 where[--
i] =
'0' + (v & ((1 <<
LG_8) - 1));
1095bool to_chars(
int negative, uintmax_t
value,
size_t valsize,
1096 uintmax_t (*substitute)(
int *),
1097 char *where,
size_t size,
const char *type)
1104 where[
size - 1] =
'\0';
1108 else if (gnu_format)
1116 where[0] = negative ? -1 : 1 << (
LG_256 - 1);
1127 else if (negative && valsize * CHAR_BIT <= (
size - 1) *
LG_8)
1129 static int warned_once;
1134 where[
size - 1] =
'\0';
1144 return to_chars_subst(negative, gnu_format,
value, valsize, substitute,
1154 return to_chars(v < 0, (uintmax_t)v,
sizeof v, 0, p, s,
"off_t");
1163 memset(st, 0,
sizeof(*st));
1172 if (keyword_global_override_list)
1179 for (kp = keyword_global_override_list; kp; kp = kp->
next)
1229 for (
i = 0;
i <
len;
i++)
1256 *
gname = strdup(
"");
1284write_gnu_long_link(
struct tar_stat_info *st,
const char *p,
char type)
1286 size_t size = strlen(p) + 1;
1295 static char *uname, *gname;
1315 while (bufsize <
size)
1317 memcpy(
header->buffer, p, bufsize);
1334write_ustar_long_name(
const char *
name)
1336 size_t length = strlen(
name);
1342 pedro_dprintf(2,
"%s: file name is too long (max %d); not dumped",
1347 i = split_long_name(
name, length);
1350 pedro_dprintf(2,
"%s: file name is too long (cannot be split); not dumped",
1358 memcpy(
header->header.name,
name +
i + 1, length -
i - 1);
1387 return write_ustar_long_name(st->
file_name);
1408 st->
stat.st_size = 0;
1432 for (
i = 0;
i <
ret;
i++)
1455 if (0 <= (
int)
bytes)
1462#if defined F_SETFL && O_NONBLOCK
1463 if (
bytes == SAFE_READ_ERROR && errno == EAGAIN)
1465 int flags = fcntl(fd, F_GETFL);
1466 if (0 <=
flags &&
flags & O_NONBLOCK && fcntl(fd, F_SETFL,
flags & ~O_NONBLOCK) != -1)
1481 while (size_left > 0)
1497 off_t size_left = st->
stat.st_size;
1498 off_t block_ordinal;
1516 while (size_left > 0)
1518 size_t bufsize, count, count2 = -1;
1525 if ((int64_t)size_left < (int64_t)bufsize)
1528 bufsize = size_left;
1548 if (count2 == count)
1556 if (count != bufsize)
1558 memset(blk->
buffer + count, 0, bufsize - count);
1581 char const *girlfriend_name,
1582 char *initial_path_ar)
1585 static VAL_data my_VAL_data_copy_i;
1590 __time64_t mtime_tv_sec_arp = 0;
1593 static char file_or_folder_to_process_copy[
AMANDA__SIZE];
1595 bool is_dir_ar =
false;
1596 bool don_t_free_dl =
false;
1599 memset(filename_k_arp, 0,
sizeof(filename_k_arp));
1600 memset(file_or_folder_to_process, 0,
sizeof(file_or_folder_to_process));
1601 memset(file_or_folder_to_process_copy, 0,
sizeof(file_or_folder_to_process_copy));
1602 memset(tar_file_copy, 0,
sizeof(tar_file_copy));
1604 memset(&my_VAL_data, 0,
sizeof(my_VAL_data));
1605 memset(&my_VAL_data_copy_i, 0,
sizeof(my_VAL_data_copy_i));
1607 strcpy(file_or_folder_to_process, initial_path_ar);
1609 if (strlen(file_or_folder_to_process))
1611 if (
'\\' != file_or_folder_to_process[strlen(file_or_folder_to_process) - 1])
1613 strcat(file_or_folder_to_process,
"\\");
1618 assert(0 &&
"path cannot be empty");
1621 strcat(file_or_folder_to_process, girlfriend_name);
1624 pedro_dprintf(-1,
" folder e name %s %s\n", initial_path_ar, girlfriend_name);
1625 pedro_dprintf(-1,
" total %s\n", file_or_folder_to_process);
1627 strcpy(file_or_folder_to_process_copy, file_or_folder_to_process);
1632 if (0 == strcmp(tar_file_copy, file_or_folder_to_process_copy))
1634 strcpy(
warning_message_k,
"Cannot add himself to the tar(VAL) file, skipping...");
1641 assert(0 &&
"cannot be allocated at this point");
1654 WCHAR *ar_temp = (
void *)malloc(r_temp);
1655 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
1662 if (INVALID_FILE_ATTRIBUTES == attributes)
1665 sprintf(
warning_message_k,
"File %s has invalid attributes, skipping", file_or_folder_to_process);
1690 sprintf(
warning_message_k,
"File %s has invalid attributes, skipping...", file_or_folder_to_process);
1696 if (
true == is_dir_ar)
1708 strcat(temp_ar,
"/");
1719 WCHAR *ar_temp = (
void *)malloc(r_temp);
1720 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
1732 FILE_SHARE_READ,
NULL,
1734 FILE_FLAG_BACKUP_SEMANTICS,
1741 if (INVALID_HANDLE_VALUE != hFile)
1745 &lpCreationTime___jumior,
1746 &lpLastAccessTime_junior,
1747 &lpLastWriteTime__junior))
1764 mtime_tv_sec_arp = t.tv_sec;
1774 pedro_dprintf(2,
"Cannot access timestamp of %s", file_or_folder_to_process);
1781 pedro_dprintf(2,
"%s: Cannot get filetime on folder\n", file_or_folder_to_process);
1797 if (
false == don_t_free_dl)
1808 WCHAR *ar_temp = (
void *)malloc(r_temp);
1809 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
1810 char *ar_temp3 = (
void *)malloc(r_temp * 6);
1815 if (
false == don_t_free_dl)
1837 strcpy(temp_arp_3, filename_k_arp);
1840 while (has_itens_is_amanda_update_internal--)
1846 if (0 == strcmp(temp_arp_1, filename_k_arp))
1870 don_t_free_dl =
true;
1873 free(temp_arp_1), free(temp_arp_2), free(temp_arp_3);
1883 WCHAR *ar_temp = (
void *)malloc(r_temp);
1884 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
1893 st->
atime.tv_sec = s_arp_3;
1894 st->
atime.tv_nsec = 0;
1895 st->
mtime.tv_sec = s_arp_3;
1896 st->
mtime.tv_nsec = 0;
1897 st->
ctime.tv_sec = s_arp_3;
1898 st->
ctime.tv_nsec = 0;
1916 st->
stat.st_size += 4 + 64 + 8;
1930#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
1940 mprintf___arp(
"Cannot encrypt or unencrypt files when not in 'full' DLL mode, exiting...");
2055 assert(0 &&
"Unsupported encryption method\n");
2060 WCHAR *ar_temp = (
void *)malloc(r_temp);
2061 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2072 WCHAR *ar_temp = (
void *)malloc(r_temp);
2073 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2085 pedro_dprintf(2,
"Error openning %s---\n", file_or_folder_to_process);
2099 strcpy(temp_arp_3, filename_k_arp);
2101 while (has_itens_is_amanda_update_internal--)
2107 if (0 == strcmp(temp_arp_1, filename_k_arp))
2128 don_t_free_dl =
true;
2130 free(temp_arp_1), free(temp_arp_3);
2139 WCHAR *ar_temp = (
void *)malloc(r_temp);
2140 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2145 pedro_dprintf(-1,
"Cannot open size %d\n", strlen(file_or_folder_to_process));
2146 sprintf(
warning_message_k,
"Cannot open %s to write", file_or_folder_to_process);
2156 status = dump_regular_file(fd_ar, st);
2165 sprintf(
warning_message_k,
"Cannot process file %s", file_or_folder_to_process);
2182 sprintf(
warning_message_k,
"Cannot process file %s", file_or_folder_to_process);
2186 if (
false == don_t_free_dl)
2195 WCHAR *ar_temp = (
void *)malloc(r_temp);
2196 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2197 char *ar_temp3 = (
void *)malloc(r_temp * 6);
2201 if (
false == don_t_free_dl)
2219 WCHAR *ar_temp = (
void *)malloc(r_temp);
2220 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2229#define AMANDA_SIZE__ 500000
2239#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
2249 mprintf___arp(
"Cannot encrypt or unencrypt files when not in 'full' DLL mode, exiting...");
2253 int64_t ricrdo_bytes_read_ = 0;
2354 assert(0 &&
"Unsupported encryption method\n");
2359 WCHAR *ar_temp = (
void *)malloc(r_temp);
2360 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2370 WCHAR *ar_temp = (
void *)malloc(r_temp);
2371 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2385 salvou_arp += _write(
2397 WCHAR *ar_temp = (
void *)malloc(r_temp);
2398 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
2502 bool lookup[n + 1][m + 1];
2505 memset(lookup,
false,
sizeof(lookup));
2508 lookup[0][0] =
true;
2511 for (
int j = 1; j <= m; j++)
2512 if (pattern[j - 1] ==
'*')
2513 lookup[0][j] = lookup[0][j - 1];
2516 for (
int i = 1;
i <= n;
i++)
2518 for (
int j = 1; j <= m; j++)
2526 if (pattern[j - 1] ==
'*')
2527 lookup[
i][j] = lookup[
i][j - 1] || lookup[
i - 1][j];
2533 else if (pattern[j - 1] ==
'?' ||
str[
i - 1] == pattern[j - 1])
2534 lookup[
i][j] = lookup[
i - 1][j - 1];
2538 lookup[
i][j] =
false;
2542 return lookup[n][m];
2560void fix_path_ar(
char *initial_path,
char *composed_path,
char *exit_path_ar)
2563 strcpy(temp_ar, &composed_path[strlen(initial_path) + 1]);
2564 strcpy(exit_path_ar, temp_ar);
2590 strcpy(lpcszFolder, lpcszFolder_ar);
2593 if (strlen(lpcszFolder))
2595 if (
'\\' == lpcszFolder[strlen(lpcszFolder) - 1])
2597 lpcszFolder[strlen(lpcszFolder) - 1] = 0;
2604 if (2 == strlen(lpcszFolder))
2645#define MYCAST __int64
2706 char *path_with_the_files_ar,
2708 int compression_mode_external_ar,
2709 int recurse_in_subfolders_arp,
2722 if (19999 < strlen(patern_ar))
2734 if (recurse_in_subfolders_arp)
2739 return create_archive_ar(tar_filename_ar, path_with_the_files_ar, patern_ar, compression_mode_external_ar);
2790 char *path_with_the_files_ar,
2792 int compression_mode_external_ar,
2793 int recurse_in_subfolders_arp,
2795 char * compression_level_p_)
2798#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
2808 mprintf___arp(
"Cannot use libarchive when not in 'full' DLL mode, exiting...");
2812 if (
MAX_PATH < strlen(tar_filename_ar))
2818 if (
MAX_PATH < strlen(path_with_the_files_ar))
2825 if (19999 < strlen(patern_ar))
2840 if (recurse_in_subfolders_arp)
2860 char *path_with_the_files_ar,
2862 int compression_mode_external_ar)
2874 if (19999 < strlen(patern_ar))
2897 myhandle = CreateThread((LPSECURITY_ATTRIBUTES)0,
2902 (LPDWORD)&ThreadId);
2904 CloseHandle(myhandle);
2975 fatiaa = (double)fatia;
2976 if (max == 0 || fatia == 0)
2980 maxa = ((double)10000 / maxa * fatiaa);
3000#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3010 mprintf___arp(
"Cannot encrypt or unencrypt files when not in 'full' DLL mode, exiting...");
3043#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3053 mprintf___arp(
"Cannot use gzip files when not in 'full' DLL mode, exiting...");
3118#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3128 mprintf___arp(
"Cannot use gzip2 files when not in 'full' DLL mode, exiting...");
3194#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3204 mprintf___arp(
"Cannot use lzip files when not in 'full' DLL mode, exiting...");
3270#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3280 mprintf___arp(
"Cannot use lzma files when not in 'full' DLL mode, exiting...");
3347#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3357 mprintf___arp(
"Cannot use xz files when not in 'full' DLL mode, exiting...");
3425#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3435 mprintf___arp(
"Cannot use compress files when not in 'full' DLL mode, exiting...");
3502#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3512 mprintf___arp(
"Cannot use lzop2 files when not in 'full' DLL mode, exiting...");
3580#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3590 mprintf___arp(
"Cannot use lz4 files when not in 'full' DLL mode, exiting...");
3658#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3668 mprintf___arp(
"Cannot use zstandard files when not in 'full' DLL mode, exiting...");
3736#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3746 mprintf___arp(
"Cannot use brotli files when not in 'full' DLL mode, exiting...");
3814#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3824 mprintf___arp(
"Cannot use bzip2 files when not in 'full' DLL mode, exiting...");
3894#if 0x0 == AMANDA_MODE
3904 mprintf___arp(
"Cannot use bzip3 files when in 'basic' DLL mode, exiting...");
3913#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3923 mprintf___arp(
"Cannot encrypt or unencrypt files when not in 'full' DLL mode, exiting...");
3955#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
3965 mprintf___arp(
"Cannot encrypt or unencrypt files when not in 'full' DLL mode, exiting...");
4002#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4012 mprintf___arp(
"Cannot use lzop2 files when not in 'full' DLL mode, exiting...");
4080#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4090 mprintf___arp(
"Cannot use lz5 files when not in 'full' DLL mode, exiting...");
4158#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4168 mprintf___arp(
"Cannot use brotli2 files when not in 'full' DLL mode, exiting...");
4236#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4246 mprintf___arp(
"Cannot use compress2 files when not in 'full' DLL mode, exiting...");
4314 assert(0 &&
"Cannot handle iso anymore in Parolin, only libarchive");
4334 pedro_dprintf(2,
"Invalid format, file: %s, line: %d\n", __FILE__, __LINE__);
4335 assert(0 &&
"see debugview");
4351#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4408#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4464#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4539 WCHAR *ar_temp = (
void *)malloc(r_temp);
4540 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4584 if (4 > strlen(data_i))
4587 if (3 != strlen(data_i))
4592 if ((
'a' <= tolower(data_i[0]) &&
'z' >= tolower(data_i[0])) && (
':' == data_i[1]) && (
'\\' == data_i[2] ||
'/' == data_i[2]))
4597 if ((
'\\' == data_i[0]) && (
'\\' == data_i[1]))
4605 if ((
'a' <= tolower(data_i[0]) &&
'z' >= tolower(data_i[0])) && (
':' == data_i[1]) && (
'\\' == data_i[2] ||
'/' == data_i[2]))
4610 if ((
'\\' == data_i[0]) && (
'\\' == data_i[1]))
4636 static int64_t bytes_read_p_amandinha;
4637 FILE *my_val_file_p;
4638 int64_t file_size_p;
4642 static char original_destination_tar_file[
AMANDA__SIZE];
4646 bool delete_temp_folder_z =
false;
4650#if 0x0 == AMANDA_MODE
4668 mprintf___arp(
"Cannot use compression files when not in 'full' or 'minimalist' DLL mode, exiting...");
4674#if 0x2 == AMANDA_MODE
4691 mprintf___arp(
"Cannot use compression other than bzip3 (minimalist) when not in 'full' DLL mode, exiting...");
4697 memset(original_destination_tar_file, 0,
sizeof(original_destination_tar_file));
4698 memset(copy_ar, 0,
sizeof(copy_ar));
4699 memset(exit_data_ar, 0,
sizeof(exit_data_ar));
4704#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
4714 mprintf___arp(
"Cannot use libarchive when not in 'full' DLL mode, exiting...");
4718 FILE *temp_file_i =
NULL;
4719 FILE *writ_file_i =
NULL;
4721 int64_t remaining_i;
4729 memset(temp_i, 0,
sizeof(temp_i));
4730 memset(temp_i_f, 0,
sizeof(temp_i_f));
4752 strcpy(
error_message_k,
"Invalid file to create, cannot be relative");
4756 WCHAR *ar_temp = (
void *)malloc(r_temp);
4757 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4782 WCHAR *ar_temp = (
void *)malloc(r_temp);
4783 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4793 bytes_read_p_amandinha = 0;
4801 strcpy(
error_message_k,
"Invalid compression mode for a libarchive format for the moment");
4814 WCHAR *ar_temp = (
void *)malloc(r_temp);
4815 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4828 strcpy(
error_message_k,
"Missing the password for the zip compressed file (cannot be empty), click 'Options' and set the password");
4841 WCHAR *ar_temp = (
void *)malloc(r_temp);
4842 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4867 WCHAR *ar_temp = (
void *)malloc(r_temp);
4868 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4879 strcat(temp_i,
"d");
4882 WCHAR *ar_temp = (
void *)malloc(r_temp);
4883 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4893 strcat(temp_i_f,
"a");
4896 WCHAR *ar_temp = (
void *)malloc(r_temp);
4897 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4911 WCHAR *ar_temp = (
void *)malloc(r_temp);
4912 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4919 if (
NULL == temp_file_i)
4949 time_t s = my_ptr_ar->
mtime_i;
4960 FileTimeToLocalFileTime(
4965 WCHAR *ar_temp = (
void *)malloc(r_temp);
4966 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4970 GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE,
4973 FILE_FLAG_BACKUP_SEMANTICS,
4979 if (INVALID_HANDLE_VALUE != hFile)
4981 SetFileTime(hFile, &ftime_in,
NULL, &ftime_in);
4987 WCHAR *ar_temp = (
void *)malloc(r_temp);
4988 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
4989 char *ar_temp3 = (
void *)malloc(r_temp * 6);
5005 WCHAR *ar_temp = (
void *)malloc(r_temp);
5006 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5013 if (
NULL == writ_file_i)
5022 buf_i = malloc((1 << 17));
5024 while ((len_i = fread(buf_i, 1,
min(remaining_i, (1 << 17)), temp_file_i)))
5027 fwrite(buf_i, 1, len_i, writ_file_i);
5028 remaining_i -= len_i;
5033 fclose(writ_file_i);
5038 time_t s = my_ptr_ar->
mtime_i;
5049 FileTimeToLocalFileTime(
5054 WCHAR *ar_temp = (
void *)malloc(r_temp);
5055 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5059 GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE,
5062 FILE_FLAG_BACKUP_SEMANTICS,
5068 if (INVALID_HANDLE_VALUE != hFile)
5070 SetFileTime(hFile, &ftime_in,
NULL, &ftime_in);
5076 WCHAR *ar_temp = (
void *)malloc(r_temp);
5077 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5093 WCHAR *ar_temp = (
void *)malloc(r_temp);
5094 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5095 char *ar_temp3 = (
void *)malloc(r_temp * 6);
5105 WCHAR *ar_temp = (
void *)malloc(r_temp);
5106 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5108 if (!SetFileAttributesW(
5123 my_ptr_ar = my_ptr_ar->
next_ar;
5132 strcpy(
error_message_k,
"Fatal error in the compression function, can be a wrong combination of the number of threads and compression level, please verify");
5138 WCHAR *ar_temp = (
void *)malloc(r_temp);
5139 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5148 WCHAR *ar_temp = (
void *)malloc(r_temprr1);
5149 WCHAR *ar_temp2 = (
void *)malloc(r_temprr1);
5151 WCHAR *ar_temp3 = (
void *)malloc(r_temprr2);
5152 WCHAR *ar_temp4 = (
void *)malloc(r_temprr2);
5177 fclose(temp_file_i);
5182 WCHAR *ar_temp = (
void *)malloc(r_temp);
5183 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5193 fclose(writ_file_i);
5198 WCHAR *ar_temp = (
void *)malloc(r_temp);
5199 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5209 WCHAR *ar_temp = (
void *)malloc(r_temp);
5210 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5233 strcpy(
error_message_k,
"Invalid file to create, cannot be relative");
5246 strcpy(
error_message_k,
"Invalid folder with files, cannot be relative");
5269 record_start_block = 0;
5277 strcpy(
error_message_k,
"Cannot update already existent ISO file for the moment, only in the future");
5281 assert(0 &&
"Don't support ISO anymore, only in libarchive mode");
5293 delete_temp_folder_z =
true;
5294 strcpy(original_destination_tar_file, tar_filename_ar);
5310 delete_temp_folder_z =
true;
5311 strcpy(original_destination_tar_file, tar_filename_ar);
5328 delete_temp_folder_z =
true;
5329 strcpy(original_destination_tar_file, tar_filename_ar);
5346 delete_temp_folder_z =
true;
5347 strcpy(original_destination_tar_file, tar_filename_ar);
5365 delete_temp_folder_z =
true;
5366 strcpy(original_destination_tar_file, tar_filename_ar);
5382 delete_temp_folder_z =
true;
5383 strcpy(original_destination_tar_file, tar_filename_ar);
5400 delete_temp_folder_z =
true;
5401 strcpy(original_destination_tar_file, tar_filename_ar);
5417 delete_temp_folder_z =
true;
5418 strcpy(original_destination_tar_file, tar_filename_ar);
5435 delete_temp_folder_z =
true;
5436 strcpy(original_destination_tar_file, tar_filename_ar);
5452 delete_temp_folder_z =
true;
5453 strcpy(original_destination_tar_file, tar_filename_ar);
5470 delete_temp_folder_z =
true;
5471 strcpy(original_destination_tar_file, tar_filename_ar);
5487 delete_temp_folder_z =
true;
5488 strcpy(original_destination_tar_file, tar_filename_ar);
5505 delete_temp_folder_z =
true;
5506 strcpy(original_destination_tar_file, tar_filename_ar);
5522 delete_temp_folder_z =
true;
5523 strcpy(original_destination_tar_file, tar_filename_ar);
5540 delete_temp_folder_z =
true;
5541 strcpy(original_destination_tar_file, tar_filename_ar);
5556 delete_temp_folder_z =
true;
5557 strcpy(original_destination_tar_file, tar_filename_ar);
5574 delete_temp_folder_z =
true;
5575 strcpy(original_destination_tar_file, tar_filename_ar);
5591 delete_temp_folder_z =
true;
5592 strcpy(original_destination_tar_file, tar_filename_ar);
5609 delete_temp_folder_z =
true;
5610 strcpy(original_destination_tar_file, tar_filename_ar);
5626 delete_temp_folder_z =
true;
5627 strcpy(original_destination_tar_file, tar_filename_ar);
5643 delete_temp_folder_z =
true;
5644 strcpy(original_destination_tar_file, tar_filename_ar);
5660 delete_temp_folder_z =
true;
5661 strcpy(original_destination_tar_file, tar_filename_ar);
5678 delete_temp_folder_z =
true;
5679 strcpy(original_destination_tar_file, tar_filename_ar);
5695 delete_temp_folder_z =
true;
5696 strcpy(original_destination_tar_file, tar_filename_ar);
5713 delete_temp_folder_z =
true;
5714 strcpy(original_destination_tar_file, tar_filename_ar);
5730 delete_temp_folder_z =
true;
5731 strcpy(original_destination_tar_file, tar_filename_ar);
5748 delete_temp_folder_z =
true;
5749 strcpy(original_destination_tar_file, tar_filename_ar);
5765 delete_temp_folder_z =
true;
5766 strcpy(original_destination_tar_file, tar_filename_ar);
5783 delete_temp_folder_z =
true;
5784 strcpy(original_destination_tar_file, tar_filename_ar);
5800 delete_temp_folder_z =
true;
5801 strcpy(original_destination_tar_file, tar_filename_ar);
5817 delete_temp_folder_z =
true;
5818 strcpy(original_destination_tar_file, tar_filename_ar);
5834 delete_temp_folder_z =
true;
5835 strcpy(original_destination_tar_file, tar_filename_ar);
5858 assert(0 &&
"Unknown file format");
5865#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
5875 mprintf___arp(
"Cannot encrypt or unencrypt files when not in 'full' DLL mode, exiting...");
5886 if (delete_temp_folder_z)
5889 WCHAR *ar_temp = (
void *)malloc(r_temp);
5890 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5909 WCHAR *ar_temp = (
void *)malloc(r_temp);
5910 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
5917 if (INVALID_FILE_ATTRIBUTES == attributes)
5920 sprintf(copy_ar,
"Path %s is invalid", path_with_the_files_ar);
5931 sprintf(copy_ar,
"Path %s is valid but not a directory", path_with_the_files_ar);
5969#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
5979 mprintf___arp(
"Cannot use libarchive when not in 'full' DLL mode, exiting...");
5996 strcpy(
error_message_k,
"Invalid compression mode for a libarchive format for the moment");
6005 strcpy(
error_message_k,
"Missing the password for the zip compressed file (cannot be empty), click 'Options' and set the password");
6048 WCHAR *ar_temp = (
void *)malloc(r_temp);
6049 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6060 strcpy(
error_message_k,
"Cannot open temporary file to the update process");
6083 strcpy(
error_message_k,
"Fatal error in the compression function, can be a wrong combination of the number of threads and compression level, please verify");
6087#define fseek _fseeki64
6088#define ftell _ftelli64
6095#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
6105 mprintf___arp(
"Cannot encrypt or unencrypt files when not in 'full' DLL mode, exiting...");
6109 int64_t file_size_arp;
6113 if (512 < file_size_arp)
6117 WCHAR *ar_temp = (
void *)malloc(r_temp);
6118 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6132 fwrite(buf_amanda, 1, 1, amanda_file);
6139 fwrite(buf_amanda, 1, 1, amanda_file);
6146 fwrite(buf_amanda, 1, 1, amanda_file);
6153 fwrite(buf_amanda, 1, 1, amanda_file);
6160 fwrite(buf_amanda, 1, 1, amanda_file);
6167 fwrite(buf_amanda, 1, 1, amanda_file);
6174 fwrite(buf_amanda, 1, 1, amanda_file);
6181 fwrite(buf_amanda, 1, 1, amanda_file);
6188 fwrite(buf_amanda, 1, 1, amanda_file);
6195 fwrite(buf_amanda, 1, 1, amanda_file);
6202 fwrite(buf_amanda, 1, 1, amanda_file);
6206 fwrite(
"misl", 1, 4, amanda_file);
6207 fclose(amanda_file);
6225 WCHAR *ar_temp = (
void *)malloc(r_temp);
6226 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6235 _fseeki64(my_val_file_p, 24,
SEEK_SET);
6236 fwrite(&file_size_p, 1, 8, my_val_file_p);
6237 fclose(my_val_file_p);
6262 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
6265 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
6268 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
6271 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
6274 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
6277 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
6280 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
6283 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
6289 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
6292 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
6295 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
6298 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
6304 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
6307 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
6316 WCHAR *ar_temp = (
void *)malloc(r_temp);
6317 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6327 volatile int returnvalue_ar = 0;
6355 switch (returnvalue_ar)
6382 "not handled correctly by the programmer",
6391 WCHAR *ar_temp = (
void *)malloc(r_temp);
6392 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6409 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
6412 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
6415 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
6418 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
6421 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
6424 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
6427 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
6430 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
6436 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
6439 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
6442 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
6445 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
6451 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
6454 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
6463 WCHAR *ar_temp = (
void *)malloc(r_temp);
6464 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6475 volatile int returnvalue_ar = 0;
6500 original_destination_tar_file,
6506 switch (returnvalue_ar)
6603 "not handled correctly by the programmer",
6612 WCHAR *ar_temp = (
void *)malloc(r_temp);
6613 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6630 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
6633 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
6636 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
6639 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
6642 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
6645 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
6648 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
6651 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
6657 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
6660 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
6663 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
6666 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
6672 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
6675 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
6684 WCHAR *ar_temp = (
void *)malloc(r_temp);
6685 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6697 volatile int returnvalue_ar = 0;
6720 original_destination_tar_file,
6727 switch (returnvalue_ar)
6769 "not handled correctly by the programmer",
6778 WCHAR *ar_temp = (
void *)malloc(r_temp);
6779 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6796 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
6799 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
6802 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
6805 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
6808 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
6811 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
6814 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
6817 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
6823 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
6826 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
6829 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
6832 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
6838 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
6841 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
6850 WCHAR *ar_temp = (
void *)malloc(r_temp);
6851 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6862 volatile int returnvalue_ar = 0;
6884 original_destination_tar_file,
6891 switch (returnvalue_ar)
6963 "not handled correctly by the programmer",
6972 WCHAR *ar_temp = (
void *)malloc(r_temp);
6973 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
6990 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
6993 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
6996 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
6999 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
7002 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
7005 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
7008 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
7011 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
7017 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
7020 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
7023 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
7026 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
7032 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
7035 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
7044 WCHAR *ar_temp = (
void *)malloc(r_temp);
7045 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7056 volatile int returnvalue_ar = 0;
7067 original_destination_tar_file,
7074 switch (returnvalue_ar)
7146 "not handled correctly by the programmer",
7155 WCHAR *ar_temp = (
void *)malloc(r_temp);
7156 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7174 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
7177 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
7180 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
7183 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
7186 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
7189 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
7192 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
7195 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
7201 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
7204 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
7207 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
7210 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
7216 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
7219 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
7228 WCHAR *ar_temp = (
void *)malloc(r_temp);
7229 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7240 volatile int returnvalue_ar = 0;
7263 original_destination_tar_file,
7271 switch (returnvalue_ar)
7343 "not handled correctly by the programmer",
7352 WCHAR *ar_temp = (
void *)malloc(r_temp);
7353 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7370 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
7373 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
7376 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
7379 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
7382 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
7385 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
7388 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
7391 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
7397 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
7400 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
7403 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
7406 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
7412 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
7415 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
7424 WCHAR *ar_temp = (
void *)malloc(r_temp);
7425 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7437 volatile int returnvalue_ar = 0;
7454 original_destination_tar_file,
7462 switch (returnvalue_ar)
7549 strcpy(
error_message_k,
"When reading from file the temp file is not open");
7559 "not handled correctly by the programmer",
7568 WCHAR *ar_temp = (
void *)malloc(r_temp);
7569 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7586 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
7589 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
7592 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
7595 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
7598 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
7601 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
7604 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
7607 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
7613 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
7616 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
7619 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
7622 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
7628 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
7631 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
7640 WCHAR *ar_temp = (
void *)malloc(r_temp);
7641 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7652 volatile int returnvalue_ar = 0;
7668 original_destination_tar_file,
7672 switch (returnvalue_ar)
7699 "not handled correctly by the programmer",
7708 WCHAR *ar_temp = (
void *)malloc(r_temp);
7709 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7726 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
7729 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
7732 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
7735 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
7738 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
7741 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
7744 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
7747 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
7753 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
7756 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
7759 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
7762 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
7768 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
7771 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
7780 WCHAR *ar_temp = (
void *)malloc(r_temp);
7781 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7792 volatile int returnvalue_ar = 0;
7799 switch (returnvalue_ar)
7831 "not handled correctly by the programmer",
7840 WCHAR *ar_temp = (
void *)malloc(r_temp);
7841 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7858 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
7861 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
7864 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
7867 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
7870 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
7873 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
7876 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
7879 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
7885 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
7888 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
7891 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
7894 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
7900 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
7903 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
7912 WCHAR *ar_temp = (
void *)malloc(r_temp);
7913 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
7924 volatile int returnvalue_ar = 0;
7942 original_destination_tar_file,
7947 switch (returnvalue_ar)
7979 "not handled correctly by the programmer",
7988 WCHAR *ar_temp = (
void *)malloc(r_temp);
7989 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8006 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
8009 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
8012 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
8015 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
8018 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
8021 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
8024 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
8027 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
8033 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
8036 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
8039 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
8042 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
8048 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
8051 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
8060 WCHAR *ar_temp = (
void *)malloc(r_temp);
8061 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8072 volatile int returnvalue_ar = 0;
8081 original_destination_tar_file,
8084 switch (returnvalue_ar)
8131 "not handled correctly by the programmer",
8140 WCHAR *ar_temp = (
void *)malloc(r_temp);
8141 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8158 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
8161 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
8164 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
8167 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
8170 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
8173 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
8176 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
8179 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
8185 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
8188 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
8191 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
8194 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
8200 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
8203 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
8212 WCHAR *ar_temp = (
void *)malloc(r_temp);
8213 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8224 volatile int returnvalue_ar = 0;
8241 original_destination_tar_file,
8246 switch (returnvalue_ar)
8278 "not handled correctly by the programmer",
8287 WCHAR *ar_temp = (
void *)malloc(r_temp);
8288 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8305 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
8308 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
8311 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
8314 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
8317 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
8320 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
8323 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
8326 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
8332 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
8335 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
8338 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
8341 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
8347 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
8350 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
8359 WCHAR *ar_temp = (
void *)malloc(r_temp);
8360 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8371 volatile int returnvalue_ar = 0;
8377 original_destination_tar_file,
8382 switch (returnvalue_ar)
8434 "not handled correctly by the programmer",
8443 WCHAR *ar_temp = (
void *)malloc(r_temp);
8444 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8461 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
8464 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
8467 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
8470 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
8473 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
8476 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
8479 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
8482 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
8488 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
8491 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
8494 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
8497 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
8503 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
8506 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
8515 WCHAR *ar_temp = (
void *)malloc(r_temp);
8516 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8527 volatile int returnvalue_ar = 0;
8611 original_destination_tar_file,
8618 switch (returnvalue_ar)
8649 sprintf(
my_error_as_a_programmer_z,
"Error %d reported by the compressor and not handled correctly by the programmer", returnvalue_ar);
8658 WCHAR *ar_temp = (
void *)malloc(r_temp);
8659 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8676 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
8679 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
8682 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
8685 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
8688 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
8691 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
8694 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
8697 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
8703 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
8706 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
8709 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
8712 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
8718 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
8721 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
8730 WCHAR *ar_temp = (
void *)malloc(r_temp);
8731 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8742 volatile int returnvalue_ar = 0;
8753 original_destination_tar_file,
8759 switch (returnvalue_ar)
8791 "not handled correctly by the programmer",
8800 WCHAR *ar_temp = (
void *)malloc(r_temp);
8801 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8818 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
8821 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
8824 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
8827 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
8830 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
8833 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
8836 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
8839 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
8845 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
8848 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
8851 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
8854 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
8860 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
8863 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
8872 WCHAR *ar_temp = (
void *)malloc(r_temp);
8873 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
8884 volatile int returnvalue_ar = 0;
8911 switch (returnvalue_ar)
8943 "not handled correctly by the programmer",
8953 (
void *)malloc(r_temp);
8955 (
void *)malloc(r_temp);
8972 strcpy(
error_message_k,
"2 - Single-thread encryption error, cannot open output file");
8975 strcpy(
error_message_k,
"3 - Single-thread unencryption error, invalid file");
8978 strcpy(
error_message_k,
"4 - Single-thread unencryption error, sha512 check don't match");
8981 strcpy(
error_message_k,
"8 - Multi-thread, cannot open temp output file");
8984 strcpy(
error_message_k,
"14 - Multi-thread, cannot write to output file");
8987 strcpy(
error_message_k,
"19 - Multi-thread, user cancel (inside thread)");
8990 strcpy(
error_message_k,
"80 - Multi-thread, cannot open output file");
8993 strcpy(
error_message_k,
"81 - Multi-thread, cannot open output temp file with rb+");
8999 strcpy(
error_message_k,
"140 - Multi-thread, cannot write to temp file");
9002 strcpy(
error_message_k,
"160 - Multi-thread, internal thread error, the programmer need to know it");
9005 strcpy(
error_message_k,
"401 - Multi-thread, cannot create temp file");
9008 strcpy(
error_message_k,
"402 - Multi-thread, cannot read from input temp file");
9014 strcpy(
error_message_k,
"430 - Multi-thread, cannot read from input file inside thread running");
9017 strcpy(
error_message_k,
"441 - Multi-thread, cannot seek on input file");
9026 WCHAR *ar_temp = (
void *)malloc(r_temp);
9027 WCHAR *ar_temp2 = (
void *)malloc(r_temp);
9038 assert(0 &&
"Invalid format");
9047 char temp___files_ar[1024] =
" ";
9048 char temp_folders_ar[1024] =
" ";
9055 sprintf(temp___files_ar,
" 1 file ");
9059 sprintf(temp___files_ar,
" %d files ", (
int)
files_count);
9067 sprintf(temp_folders_ar,
" 1 folder ");
9071 sprintf(temp_folders_ar,
" %d folders ", (
int)
folders_count);
9074 if ((1 < strlen(temp___files_ar)) && (1 < strlen(temp_folders_ar)))
9076 snprintf(
error_message_k, 600,
"At least%sand%swas skipped because the path "
9077 "was larger than MAX_PATH (260)",
9078 temp___files_ar, temp_folders_ar);
9082 if (1 == strlen(temp___files_ar))
9084 temp___files_ar[0] = 0;
9086 if (1 == strlen(temp_folders_ar))
9088 temp_folders_ar[0] = 0;
9090 snprintf(
error_message_k, 600,
"At least%s%swas skipped because the path "
9091 "was larger than MAX_PATH (260)",
9092 temp___files_ar, temp_folders_ar);
9142 if (0 == strcmp(
"AES 256 CTR", method_arp))
9146 if (0 == strcmp(
"RC4", method_arp))
9150 if (0 == strcmp(
"SERPENT", method_arp))
9154 if (0 == strcmp(
"MARS", method_arp))
9158 if (0 == strcmp(
"RC6", method_arp))
9162 if (0 == strcmp(
"TWOFISH", method_arp))
9177 if (0 == strcmp(
"AES 256 CTR Multi-Thread", method_arp))
9181 if (0 == strcmp(
"MARS Multi-Thread", method_arp))
9185 if (0 == strcmp(
"RC4 Multi-Thread", method_arp))
9189 if (0 == strcmp(
"RC6 Multi-Thread", method_arp))
9193 if (0 == strcmp(
"SERPENT Multi-Thread", method_arp))
9197 if (0 == strcmp(
"TWOFISH Multi-Thread", method_arp))
9212 for (
i = 0;
i <
len;
i++)
9228 for (
i = 0;
i <
len;
i++)
9247#if 0x0 == AMANDA_MODE || 0x2 == AMANDA_MODE
9277 if (also_encrypt_headers_i_)
#define FILE_ATTRIBUTE_ENCRYPTED
Definition 7zTypes.h:156
#define FILE_ATTRIBUTE_READONLY
Definition 7zTypes.h:143
#define FILE_ATTRIBUTE_COMPRESSED
Definition 7zTypes.h:153
#define FILE_ATTRIBUTE_HIDDEN
Definition 7zTypes.h:144
#define FILE_ATTRIBUTE_SYSTEM
Definition 7zTypes.h:145
void * LPVOID
Definition 7zTypes.h:200
#define FILE_ATTRIBUTE_ARCHIVE
Definition 7zTypes.h:147
UINT32 DWORD
Definition 7zTypes.h:194
#define FILE_ATTRIBUTE_DIRECTORY
Definition 7zTypes.h:146
#define FILE_ATTRIBUTE_NORMAL
Definition 7zTypes.h:149
size_t SIZE_T
Definition 7zTypes.h:209
#define AMANDA__SIZE
Definition arp.h:149
libarchive_compression_modes_AR
Definition arp.h:84
@ P_MODE_IS_ZIP__NO_PASSWORD
Definition arp.h:85
amanda__mode
Definition arp.h:238
@ I_MODE_IS_ENUMFOLDER_1
Definition arp.h:240
@ AAKP_MODE_VAL_LZOP2
Definition arp.h:139
@ AAKP_MODE_TAR_XZ
Definition arp.h:116
@ AAKP_MODE_TAR_ZSTANDARD
Definition arp.h:120
@ AAKP_MODE_VAL_LZOP
Definition arp.h:129
@ AAKP_MODE_TAR_BZ2
Definition arp.h:113
@ AAKP_MODE_TAR_BROTLI
Definition arp.h:121
@ AAKP_MODE_VAL_GZIP
Definition arp.h:123
@ AAKP_MODE_VAL_COMPRESS2
Definition arp.h:145
@ AAKP_MODE_VAL_BZ2
Definition arp.h:124
@ AAKP_MODE_TAR
Definition arp.h:111
@ AAKP_MODE_VAL_XZ
Definition arp.h:127
@ AAKP_MODE_TAR_BROTLI2
Definition arp.h:142
@ AAKP_MODE_TAR_LZOP2
Definition arp.h:138
@ AAKP_MODE_TAR_BZIP3
Definition arp.h:136
@ AAKP_MODE_VAL_BZIP3
Definition arp.h:137
@ AAKP_MODE_VAL_LZMA
Definition arp.h:126
@ AAKP_MODE_VAL_COMPRESS
Definition arp.h:128
@ AAKP_MODE_ISO
Definition arp.h:133
@ AAKP_MODE_VAL_ZSTANDARD
Definition arp.h:131
@ AAKP_MODE_VAL_BROTLI2
Definition arp.h:143
@ AAKP_MODE_VAL
Definition arp.h:122
@ AAKP_MODE_TAR_COMPRESS2
Definition arp.h:144
@ AAKP_MODE_TAR_COMPRESS
Definition arp.h:117
@ AAKP_MODE_TAR_GZIP
Definition arp.h:112
@ AAKP_MODE_TAR_LZ5
Definition arp.h:140
@ AAKP_MODE_TAR_LZOP
Definition arp.h:118
@ AAKP_MODE_VAL_LZIP
Definition arp.h:125
@ AAKP_MODE_TAR_LZIP
Definition arp.h:114
@ AAKP_MODE_VAL_BROTLI
Definition arp.h:132
@ AAKP_MODE_VAL_LZ5
Definition arp.h:141
@ AAKP_MODE_TAR_LZMA
Definition arp.h:115
@ AAKP_MODE_TAR_LZ4
Definition arp.h:119
@ AAKP_MODE_VAL_GZIP2
Definition arp.h:135
@ AAKP_MODE_TAR_GZIP2
Definition arp.h:134
@ AAKP_MODE_VAL_LZ4
Definition arp.h:130
z_encryption_method
Definition arp.h:224
@ Z_OLD_MODE
Definition arp.h:225
@ Z_NEW_MODE
Definition arp.h:226
@ ARP_RC4
Definition arp.h:200
@ ARP_SERPENT
Definition arp.h:202
@ ARP_RC4_MT
Definition arp.h:212
@ ARP_SERPENT_MT
Definition arp.h:214
@ ARP_AES
Definition arp.h:198
@ ARP_TWOFISH
Definition arp.h:208
@ ARP_RC6
Definition arp.h:206
@ ARP_MARS
Definition arp.h:204
@ ARP_MARS_MT
Definition arp.h:216
@ ARP_AES_MT
Definition arp.h:210
@ ARP_TWOFISH_MT
Definition arp.h:220
@ ARP_RC6_MT
Definition arp.h:218
mode_is_include_or_exclude
Definition arp_2.h:4
@ ARP_INCLUDE_FILES
Definition arp_2.h:5
@ ARP_MODE_IS_FIRST_STEP
Definition arp_2.h:12
@ ARP_MODE_NORMAL
Definition arp_2.h:11
wchar_t * permissive_name_m_(const wchar_t *wname, WCHAR *ar_temp)
Definition tar_1_33.c:279
int size_of_WCHAR_mem_r(char *in_string)
Definition tar_1_33.c:694
void pedro_dprintf(int amanda_level, char *format,...)
Definition pedro.c:43
WCHAR * amanda_asciitowide_1_(char *pUTF8, WCHAR *ar_temp)
Definition tar_1_33.c:677
void __fastcall dllinit_arp(void)
Definition compression_support_ar.c:43
void strncpy_z(char *dest_z, char *src_z, size_t len)
Definition smartape.c:243
union block * write_extended(bool global, struct tar_stat_info *st, union block *old_header)
int has_itens
Definition create_zen_ar.c:371
void to_base256(int negative, uintmax_t value, char *where, size_t size)
Definition create_zen_ar.c:1057
int __stdcall GetProgress_ar(void)
Definition create_zen_ar.c:2991
struct timespec get_stat_mtime(struct _stat const *st)
Definition create_zen_ar.c:591
bool mode_is_parolin_p
Definition create_zen_ar.c:59
int64_t bytes_read_p
Definition create_zen_ar.c:55
char warning_flag
Definition create_zen_ar.c:354
long int get_stat_atime_ns(__attribute__((unused)) struct _stat const *st)
Definition create_zen_ar.c:612
void tar_copy_str(char *dst, const char *src, size_t len)
Definition create_zen_ar.c:1225
char path_with_the_files_ar_7zip_maria[AMANDA__SIZE]
Definition create_zen_ar.c:42
int threads_z_v27
Definition create_zen_ar.c:36
bool first_pass_VAL_p
Definition create_zen_ar.c:57
int __stdcall set_thread_number(int value_z)
Definition create_zen_ar.c:282
int __stdcall startapi(int parameter)
int __fastcall split_in_multiple_volumes_p(char *filename_utf_8_p)
Definition multi_volume_p.c:463
char * umaxtostr(uintmax_t i, char *buf)
Definition create_zen_ar.c:952
tar_list_function_ar my_func_2__
Definition create_zen_ar.c:2656
int __stdcall GetReturnValue_ar(void)
Definition create_zen_ar.c:2960
int __stdcall create_archive_ar_v2(char *tar_filename_ar, char *path_with_the_files_ar, char *patern_ar, int compression_mode_external_ar, int recurse_in_subfolders_arp, enum mode_is_include_or_exclude the__patern_ar__mode)
Definition create_zen_ar.c:2705
int __stdcall Pause_ar(void)
Definition create_zen_ar.c:4348
int __stdcall bytetostring(unsigned char *dest, unsigned char *src, int len)
Definition create_zen_ar.c:9225
int first_step
Definition create_zen_ar.c:82
struct my_struct_for_list_ar * aak_
Definition create_zen_ar.c:366
void add_more_one(char *data_ar)
Definition create_zen_ar.c:383
int64_t files_count
Definition create_zen_ar.c:356
void fix_path_ar(char *initial_path, char *composed_path, char *exit_path_ar)
Definition create_zen_ar.c:2560
void to_octal(uintmax_t value, char *where, size_t size)
Definition create_zen_ar.c:1079
void dump_diretory_VAL_arp(VAL_data *my_VAL_data)
Definition val_create.c:146
void close_archive(void)
Definition tar_1_33.c:4069
int encryption_process_new_mode_21_february_2021_z(char *original_filename_z)
Definition create_zen_ar.c:96
int files_that_cannot_be_read_update
Definition create_zen_ar.c:312
bool EnumerateFolder(char *lpcszFolder_ar, __attribute__((unused)) int first_call, bool only_get_number_of_files_ar)
Definition create_zen_ar.c:2585
char temp_encrypted_file_arp[AMANDA__SIZE]
Definition create_zen_ar.c:335
void __stdcall get_create_process_ar(char *message_ar)
Definition create_zen_ar.c:515
struct my_struct_for_list_ar * aak_pointer_
Definition create_zen_ar.c:369
void get_timestamp_arp(char *file_arp, __time64_t *s_arp, VAL_data *VAL_data_arp)
Definition tar_1_33.c:3939
void xheader_write_global(struct xheader *xhdr)
Definition create_zen_ar.c:1170
int return_value_ar
Definition create_zen_ar.c:2651
void dump_file_new_ar(struct tar_stat_info *parent, char const *name, char *initial_path_ar)
Definition create_zen_ar.c:2432
void pad_archive(off_t size_left)
Definition create_zen_ar.c:1477
double get_bucaneiro_tick(void)
Definition create_zen_ar.c:71
our_map_arp * global_ptr_our_map_arp_v27
Definition create_zen_ar.c:334
int __stdcall create_archive_internal_ar(char *tar_filename_ar, char *path_with_the_files_ar, char *patern_ar)
Definition create_zen_ar.c:4634
size_t blocking_read(int fd, void *buf, size_t count)
Definition create_zen_ar.c:1448
int dump_regular_file_VAL_arp(int fd_arp, VAL_data *my_VAL_data)
Definition val_create.c:469
int64_t folders_count
Definition create_zen_ar.c:357
char process_message_k[AMANDA__SIZE]
Definition create_zen_ar.c:506
__int64 ricard0_itens_processed
Definition create_zen_ar.c:2568
int __stdcall set_encryption_mode_z(char *method_arp)
Definition create_zen_ar.c:9139
#define SHOW_DEBUG_SPEED_Z
Definition create_zen_ar.c:63
int __stdcall libarchive_create_archive_ar_v2(char *tar_filename_ar, char *path_with_the_files_ar, char *patern_ar, int compression_mode_external_ar, int recurse_in_subfolders_arp, enum mode_is_include_or_exclude the__patern_ar__mode, char *compression_level_p_)
Definition create_zen_ar.c:2789
bool also_encrypt_headers_i
Definition create_zen_ar.c:38
void tar_name_copy_str(char *dst, const char *src, size_t len)
Definition create_zen_ar.c:1241
int has_itens_copy
Definition create_zen_ar.c:373
int __stdcall paths_with_invalid_attributes(void)
Definition create_zen_ar.c:4555
int __stdcall Resume_ar(void)
Definition create_zen_ar.c:4405
enum libarchive_compression_modes_AR compression_mode_p
Definition create_zen_ar.c:53
struct timespec get_stat_ctime(struct _stat const *st)
Definition create_zen_ar.c:550
int __stdcall libarchive_get_progress_p(void)
Definition create_zen_ar.c:9240
our_map_arp global_our_map_arp
Definition create_zen_ar.c:332
int __stdcall stringtobyte(unsigned char *dest, unsigned char *src, int len)
Definition create_zen_ar.c:9209
int getpor_10000(int max, int fatia)
Definition create_zen_ar.c:2970
int __stdcall set_7zip_encryption_mode_i(int also_encrypt_headers_i_)
Not in use anymore because we are not using the original 7Zip code from Igor but libarchive (even if ...
Definition create_zen_ar.c:9274
int get_list_itens(char *data_out_ar)
Definition create_zen_ar.c:427
char patern__ar[20000]
Definition create_zen_ar.c:2655
int running_ar
Definition create_zen_ar.c:2650
bool use_encryption_i
Definition create_zen_ar.c:40
int paths_with_invalid_attributes_arp
Definition create_zen_ar.c:313
char path_with_the_files__ar[AMANDA__SIZE+300]
Definition create_zen_ar.c:2654
int __stdcall create_archive_ar(char *tar_filename_ar, char *path_with_the_files_ar, char *patern_ar, int compression_mode_external_ar)
Definition create_zen_ar.c:2859
int __stdcall GetStatus_ar(void)
Definition create_zen_ar.c:2945
struct my_struct_for_list_ar * aak_inicio_
Definition create_zen_ar.c:367
int __stdcall set_compression_level_p(char *level_m)
Definition create_zen_ar.c:2661
void __stdcall get_create_warning_ar(char *message_ar)
Definition create_zen_ar.c:500
void dump_file_or_folder(struct tar_stat_info *st, char const *girlfriend_name, char *initial_path_ar)
Definition create_zen_ar.c:1580
int __stdcall get_last_process_information_ar(char *data_out_ar)
Definition create_zen_ar.c:450
void strtolower_ar(char *path)
Definition create_zen_ar.c:669
int amanda_s_smart_ape(__attribute__((unused)) char *initial_path_amanda_s_smart_ape, bool recurse_on_subfolders_amanda_s_smart_ape, enum amanda__mode amanda_mode, bool)
HANDLE hMapFile_arp
Definition create_zen_ar.c:314
char patern_ar_7zip_maria[20000]
Definition create_zen_ar.c:43
__int64 amanda_itens
Definition create_zen_ar.c:2567
void simple_finish_header(union block *header)
Definition create_zen_ar.c:743
int64_t ricrdo_bytes_read
Definition create_zen_ar.c:341
int __amandacall set_encryption_method_z(enum z_encryption_method method_z)
Definition create_zen_ar.c:9111
int __cdecl create_archive_internal_ar_VAL(char *path_with_the_files_ar)
void dump_file(struct tar_stat_info *parent, char const *name, char const *fullname)
GLOBAL enum set_mtime_option_mode set_mtime_option
Definition create_zen_ar.c:657
char tar_filename__ar[AMANDA__SIZE]
Definition create_zen_ar.c:2653
bool off_to_chars(off_t v, char *p, size_t s)
Definition create_zen_ar.c:1152
struct timespec get_stat_atime(struct _stat const *st)
Definition create_zen_ar.c:632
bool time_to_chars(time_t v, char *p, size_t s)
Definition create_zen_ar.c:886
int __stdcall get_cannot_read_warnings(void)
Definition create_zen_ar.c:4567
union block * write_short_name(struct tar_stat_info *st)
Definition create_zen_ar.c:1268
struct _amanda_ our_map_arp
long int get_stat_mtime_ns(__attribute__((unused)) struct _stat const *st)
Definition create_zen_ar.c:571
char warning_message_k[AMANDA__SIZE]
Definition create_zen_ar.c:491
char fixo_path_ar[AMANDA__SIZE]
Definition create_zen_ar.c:2545
void xheader_store(char const *keyword, struct tar_stat_info *st, void const *data)
Definition sparse_2_k.c:2998
void gid_to_gname(__attribute__((unused)) int gid, char **gname)
Definition create_zen_ar.c:1254
int files_that_cannot_be_read
Definition create_zen_ar.c:311
int compression_mode_ar
Definition create_zen_ar.c:351
#define MYCAST
Definition create_zen_ar.c:2647
int clean_list__ar(void)
Definition create_zen_ar.c:462
void __fastcall clean_up_update_ARP(void)
Definition create_zen_ar.c:4521
char final_file_or_folder_ar[AMANDA__SIZE]
Definition create_zen_ar.c:2546
void tar_stat_init(struct tar_stat_info *st)
Definition create_zen_ar.c:1161
long int get_stat_ctime_ns(__attribute__((unused)) struct _stat const *st)
Definition create_zen_ar.c:530
void dump_file_new_arp(struct tar_stat_info *parent)
Definition create_zen_ar.c:2449
char pause_flag_ar
Definition create_zen_ar.c:353
bool flag_iso_arp
Definition create_zen_ar.c:309
int time_point_arp
Definition create_zen_ar.c:308
bool string_ascii_p(char const *p)
Definition create_zen_ar.c:790
void trocadordebackslashfrente(char *path)
Definition create_zen_ar.c:1423
void write_eot(void)
Definition create_zen_ar.c:2466
bool check_valid_path_i(char *data_i)
Definition create_zen_ar.c:4581
our_map_arp * global_ptr_our_map_arp
Definition create_zen_ar.c:333
int64_t amanda_pereira_total_size
Definition create_zen_ar.c:340
int threads_z
Definition create_zen_ar.c:269
int __stdcall Cancel_ar(void)
Definition create_zen_ar.c:4460
void buffer_write_global_xheader(void)
Definition create_zen_ar.c:1203
off_t current_block_ordinal(void)
Definition create_zen_ar.c:1213
char tar_filename_ar_7zip_maria[AMANDA__SIZE]
Definition create_zen_ar.c:41
void dump_directory(struct tar_stat_info *st)
Definition create_zen_ar.c:1404
enum z_encryption_method internal_encryption_z_method
Definition create_zen_ar.c:84
enum mode_is_include_or_exclude mode_is_include_or_exclude__
Definition create_zen_ar.c:349
bool strmatch(char str[], char pattern[], int n, int m)
Definition create_zen_ar.c:2493
int __stdcall init_playlist_z_june_24(void)
Definition libarchive_update_i.c:235
int has_itens_is_amanda_update_june_24
Definition libarchive_update_i.c:54
struct my_struct_for_list_ar_is_amanda_update_june_24 * aak_inicio_is_amanda_update_june_24
Definition libarchive_update_i.c:50
#define assert(condition)
Definition lz4.c:273
char * dst
Definition lz4.h:833
const char * src
Definition lz4.h:866
char * dest
Definition lz4.h:806
#define __attribute__(unused_ric_since_2004)
Definition main_cr.c:84
char * ar_gettemppath_z(void)
Definition tar_1_33.c:11455
__int64 getfilesize_ar(char *infile_ar)
Definition tar_1_33.c:2432
type
Definition test-lz4-speed.py:247
#define O_BINARY
Definition compress42.c:385
#define min(a, b)
Definition compress42.c:304
void yasmin_charlotte_pereira_dprintf(int amanda_level, char *format,...)
Definition pedro.c:35
int dummy
Definition sandbox.c:18
#define UNAME_TO_CHARS(name, buf)
Definition sparse_2_k.c:141
#define S_IXGRP
Definition sparse_2_k.c:153
void finish_header(struct tar_stat_info *st, union block *header, off_t block_ordinal)
#define PREFIX_FIELD_SIZE
Definition sparse_2_k.c:26
union block * start_header(struct tar_stat_info *st)
Definition sparse_2_k.c:1386
set_mtime_option_mode
Definition sparse_2_k.c:61
@ USE_FILE_MTIME
Definition sparse_2_k.c:62
#define STRINGIFY_BIGINT(i, b)
Definition sparse_2_k.c:171
#define S_ISUID
Definition sparse_2_k.c:148
#define GNAME_TO_CHARS(name, buf)
Definition sparse_2_k.c:142
void xheader_finish(struct xheader *xhdr)
Definition sparse_2_k.c:992
#define S_IRGRP
Definition sparse_2_k.c:151
#define LG_256
Definition sparse_2_k.c:175
#define MAX_VAL_WITH_DIGITS(digits, bits_per_digit)
Definition sparse_2_k.c:179
char * xheader_ghdr_name(void)
Definition sparse_2_k.c:971
int gid_t
Definition sparse_2_k.c:116
#define NAME_FIELD_SIZE
Definition sparse_2_k.c:25
void uid_to_uname(uid_t uid, char **uname)
#define S_ISVTX
Definition sparse_2_k.c:150
union block * start_private_header(const char *name, size_t size, time_t t)
Definition sparse_2_k.c:896
#define S_ISGID
Definition sparse_2_k.c:149
void xheader_write(char type, char *name, time_t t, struct xheader *xhdr)
Definition sparse_2_k.c:919
#define LG_8
Definition sparse_2_k.c:173
#define CHKBLANKS
Definition sparse_2_k.c:20
#define S_ISCTG(mode)
Definition sparse_2_k.c:16
#define S_IWGRP
Definition sparse_2_k.c:152
int uid_t
Definition sparse_2_k.c:117
char buf[N_BUF]
Definition spewG.c:36
Definition create_zen_ar.c:319
int cancel___arp
Definition create_zen_ar.c:327
int mode_is_include_or_exclude__
Definition create_zen_ar.c:322
int recurse_on_subfolders_arp
Definition create_zen_ar.c:321
char global_patern_ar[1024]
Definition create_zen_ar.c:320
int progress_arp
Definition create_zen_ar.c:325
int pause____arp
Definition create_zen_ar.c:326
char extract_file_arp[1024]
Definition create_zen_ar.c:324
DWORD VAL_attributes
Definition arp.h:162
int VAL_encryption_method
Definition arp.h:166
time_t VAL_timestamp
Definition arp.h:171
int64_t VAL_file_size
Definition arp.h:170
char * VAL_filename_dl
Definition arp.h:159
FILETIME LastWriteTime__junior
Definition arp.h:165
FILETIME CreationTime___junior
Definition arp.h:163
int VAL_is_dir
Definition arp.h:167
FILETIME LastAccessTime_junior
Definition arp.h:164
__time64_t VAL_timestamp64
Definition arp.h:154
int VAL_is_encrypted
Definition arp.h:168
Definition poolTests.c:28
Definition tar_1_33.c:3105
char * value
Definition tar_1_33.c:3108
struct keyword_list * next
Definition tar_1_33.c:3106
char * pattern
Definition tar_1_33.c:3107
Definition tar_1_33.c:1949
time_t mtime_tv_sec_arp
Definition tar_1_33.c:1961
char * filename_k
Definition tar_1_33.c:1955
struct my_struct_for_list_ar_is_amanda_update_ * next_ar
Definition tar_1_33.c:1960
Definition libarchive_update_i.c:31
int64_t filesize_i
Definition libarchive_update_i.c:35
char * item_entry_i
Definition libarchive_update_i.c:37
bool in_use_i
Definition libarchive_update_i.c:39
bool is_dir_i
Definition libarchive_update_i.c:38
struct my_struct_for_list_ar_is_amanda_update_june_24 * next_ar
Definition libarchive_update_i.c:45
int64_t attributes_i
Definition libarchive_update_i.c:41
int64_t file_offset_i
Definition libarchive_update_i.c:36
time_t mtime_i
Definition libarchive_update_i.c:33
Definition create_zen_ar.c:360
int has_next
Definition create_zen_ar.c:363
char * filename_ar
Definition create_zen_ar.c:361
struct my_struct_for_list_ar * next_ar
Definition create_zen_ar.c:362
char * gname
Definition tar.h:296
struct xheader xhdr
Definition tar.h:340
off_t archive_file_size
Definition tar.h:314
char * file_name
Definition tar.h:289
struct _stat stat
Definition tar.h:306
struct tar_stat_info * parent
Definition tar.h:350
char * orig_file_name
Definition tar.h:288
struct timespec mtime
Definition tar.h:311
struct timespec ctime
Definition tar.h:312
struct timespec atime
Definition tar.h:310
#define TOEXEC
Definition tar.h:77
#define DIRTYPE
Definition tar.h:57
#define TOWRITE
Definition tar.h:76
#define CONTTYPE
Definition tar.h:59
#define TUEXEC
Definition tar.h:71
#define TGREAD
Definition tar.h:72
#define TGEXEC
Definition tar.h:74
#define TUREAD
Definition tar.h:69
#define TSUID
Definition tar.h:65
#define TSGID
Definition tar.h:66
#define GNUTYPE_LONGNAME
Definition tar.h:178
#define TGWRITE
Definition tar.h:73
#define TUWRITE
Definition tar.h:70
#define TOREAD
Definition tar.h:75
archive_format
Definition tar.h:251
@ GNU_FORMAT
Definition tar.h:258
@ OLDGNU_FORMAT
Definition tar.h:254
@ POSIX_FORMAT
Definition tar.h:256
@ STAR_FORMAT
Definition tar.h:257
@ USTAR_FORMAT
Definition tar.h:255
@ V7_FORMAT
Definition tar.h:253
#define TSVTX
Definition tar.h:67
#define OLDGNU_MAGIC
Definition tar.h:159
#define XGLTYPE
Definition tar.h:62
#define BLOCKSIZE
Definition tar.h:248
ResumeExecution_gzip_ar ResumeExecution_gzip_ar_func
Definition tar_1_33.c:2152
#define S_IROTH
Definition tar_1_33.c:4891
double time___compression_charli
Definition tar_1_33.c:104
pause_b3___aakp_b3___ar pause_b3___aakp_b3___ar_func
Definition tar_1_33.c:2326
CancelExecution_gzip_ar CancelExecution_gzip_ar_func
Definition tar_1_33.c:2154
void tar_stat_destroy(struct tar_stat_info *st)
Definition tar_1_33.c:5799
get_progress_lzip_ar get_progress_lzip_ar_func
Definition tar_1_33.c:2186
bool mode_is_update_libarchive_v27
Definition tar_1_33.c:106
GetProgress_bzip2_ar GetProgress_bzip2_ar_func
Definition tar_1_33.c:2167
#define __amandacall
Definition tar_1_33.c:79
char the_pass_arp[1024+1]
Definition tar_1_33.c:804
compress_zs___rspk_ar compress_zs___rspk_ar_func
Definition tar_1_33.c:2275
int parolin_compression_level_p
Definition tar_1_33.c:122
union block * current_block
Definition tar_1_33.c:3303
union block * record_start
Definition tar_1_33.c:3301
compress_lzip_rspk_ar compress_lzip_rspk_ar_func
Definition tar_1_33.c:2182
bool message_box_flag_m
Definition tar_1_33.c:86
get_progress_g2___ar get_progress_g2___ar_func
Definition tar_1_33.c:2309
wchar_t * permissive_name_m_v27(const wchar_t *wname, WCHAR *ar_temp)
copy of permissive_name_m_, because in some API calls you need to conversions to a wide path this is ...
Definition tar_1_33.c:376
bool extract_cancel_flag
Definition tar_1_33.c:629
get_progress_xz___ar get_progress_xz___ar_func
Definition tar_1_33.c:2217
void set_next_block_after(union block *block)
Definition tar_1_33.c:5178
bool recurse_on_subfolders_arp
Definition tar_1_33.c:647
get_progress_bb___ar get_progress_bb___ar_func
Definition tar_1_33.c:2370
char global_patern_ar[20000]
Definition tar_1_33.c:621
#define GLOBAL
Definition tar_1_33.c:3287
void add_more_one_is_amanda_update_(char *filename_k_ar, __int64 size_of_file_arp, time_t mtime_tv_sec_arp, int is_directory_arp, __int64 position_on_file_arp, DWORD VAL_attributes, int VAL_is_encrypted, __time64_t VAL_timestamp64, VAL_data *VAL_data__arp)
Definition tar_1_33.c:1977
int running_update
Definition tar_1_33.c:562
#define S_IXOTH
Definition tar_1_33.c:4917
int compression_level_xcx
Definition tar_1_33.c:97
get_progress_br___ar get_progress_br___ar_func
Definition tar_1_33.c:2294
get_progress_co___ar get_progress_co___ar_func
Definition tar_1_33.c:2234
size_t available_space_after(union block *pointer)
Definition tar_1_33.c:5169
void open_archive(enum access_mode wanted_access)
Definition tar_1_33.c:6987
int64_t bytes_left_in_the_update_file_arp
Definition tar_1_33.c:643
resume_b3___aakp_b3___ar resume_b3___aakp_b3___ar_func
Definition tar_1_33.c:2328
int ret_arp_
Definition tar_1_33.c:592
void assign_string(char **string, const char *value)
Definition tar_1_33.c:5155
GetReturnValue_gzip_ar GetReturnValue_gzip_ar_func
Definition tar_1_33.c:2156
#define S_IWOTH
Definition tar_1_33.c:4904
struct my_struct_for_list_ar_is_amanda_update_ * aak_inicio_is_amanda_update_
Definition tar_1_33.c:1965
get_progress_lzma_ar get_progress_lzma_ar_func
Definition tar_1_33.c:2201
get_progress_l3___ar get_progress_l3___ar_func
Definition tar_1_33.c:2340
libarchive_process_p libarchive_process_p_func
Definition tar_1_33.c:912
GLOBAL int archive
Definition tar_1_33.c:3291
compress_l3___rspk_ar compress_l3___rspk_ar_func
Definition tar_1_33.c:2336
bool mode_is_VAL_arp
Definition tar_1_33.c:594
get_progress_ju___ar get_progress_ju___ar_func
Definition tar_1_33.c:2249
int num_threads_xcx
Definition tar_1_33.c:99
char compression_level_p[300]
Definition tar_1_33.c:139
GetFinished_gzip_ar GetFinished_gzip_ar_func
Definition tar_1_33.c:2146
int progress_lib_v27
Definition tar_1_33.c:112
get_progress_b3___ar get_progress_b3___ar_func
Definition tar_1_33.c:2324
Compress_gzip_ar Compress_gzip_ar_func
Definition tar_1_33.c:2144
int has_itens_is_amanda_update_internal_b_arp
Definition tar_1_33.c:635
get_progress_l5___ar get_progress_l5___ar_func
Definition tar_1_33.c:2355
char archive_name_array_filename[AMANDA__SIZE]
Definition tar_1_33.c:3215
GLOBAL int blocking_factor
Definition tar_1_33.c:3290
int getpor_10000_int64_t_ar(int64_t max, int64_t fatia)
Definition tar_1_33.c:7574
set_progress_p set_progress_p_func
Definition tar_1_33.c:914
#define S_IRUSR
Definition tar_1_33.c:4885
PauseExecution__arp_ PauseExecution__arp_func
Definition tar_1_33.c:1313
char temp_file_update_i[AMANDA__SIZE]
Definition tar_1_33.c:143
char * valquiria_wide_to_utf8(WCHAR *pUSC2_maria, char *ar_temp_char)
Definition tar_1_33.c:766
ResumeExecution_arp_ ResumeExecution_arp_func
Definition tar_1_33.c:1314
int encryption_method_to_create
Definition tar_1_33.c:577
int internal_progress_z(void)
Definition tar_1_33.c:1404
char error_message_k[AMANDA__SIZE]
Definition tar_1_33.c:176
bool only_get_number_of_files_ar_v27
Definition tar_1_33.c:120
compress_g2___rspk_ar compress_g2___rspk_ar_func
Definition tar_1_33.c:2305
int(__stdcall * tar_list_function_ar)(int clear_flag_k)
Definition tar_1_33.c:172
compress_xz___rspk_ar compress_xz___rspk_ar_func
Definition tar_1_33.c:2213
int gname_to_gid(char const *gname, short *gidp)
void init_rsp_arp_encrypt_arp(void)
Definition tar_1_33.c:1327
void mv_begin_write(const char *file_name, off_t totsize, off_t sizeleft)
bool extract_pause__flag
Definition tar_1_33.c:628
bool mode_is_update_arp
Definition tar_1_33.c:636
libarchive_create_archive_init_p libarchive_create_archive_init_p_func
Definition tar_1_33.c:911
int our_update_file_open__arp
Definition tar_1_33.c:641
compress_l4___rspk_ar compress_l4___rspk_ar_func
Definition tar_1_33.c:2260
bool enable_encryption_arp_
Definition tar_1_33.c:803
int step_for_create_arp
Definition tar_1_33.c:638
union block * find_next_block(void)
Definition tar_1_33.c:6798
compress_l5___rspk_ar compress_l5___rspk_ar_func
Definition tar_1_33.c:2351
compress_b3___rspk_ar compress_b3___rspk_ar_func
Definition tar_1_33.c:2320
GetReturnValue_bzip2_ar GetReturnValue_bzip2_ar_func
Definition tar_1_33.c:2177
#define INT_STRLEN_BOUND(t)
Definition tar_1_33.c:76
int number_of_threads_p
Definition tar_1_33.c:149
GetProgress_gzip_ar GetProgress_gzip_ar_func
Definition tar_1_33.c:2148
@ ACCESS_WRITE
Definition tar_1_33.c:3312
compress_c5___rspk_ar compress_c5___rspk_ar_func
Definition tar_1_33.c:2382
GLOBAL size_t record_size
Definition tar_1_33.c:3289
PauseExecution_gzip_ar PauseExecution_gzip_ar_func
Definition tar_1_33.c:2150
get_progress_c5___ar get_progress_c5___ar_func
Definition tar_1_33.c:2386
compress_bb___rspk_ar compress_bb___rspk_ar_func
Definition tar_1_33.c:2366
int encrypt_arp(char *inputfile, char *outputfile, char *key, int encryption_method_z, int ar_threads_z_v27_)
Definition tar_1_33.c:1444
GLOBAL bool numeric_owner_option
Definition tar_1_33.c:3300
compress_ju___rspk_ar compress_ju___rspk_ar_func
Definition tar_1_33.c:2245
#define S_IWUSR
Definition tar_1_33.c:4898
libarchive_close_p libarchive_close_p_func
Definition tar_1_33.c:913
GetStatus_bzip2_ar GetStatus_bzip2_ar_func
Definition tar_1_33.c:2165
get_progress_zs___ar get_progress_zs___ar_func
Definition tar_1_33.c:2279
CancelExecution_arp_ CancelExecution_arp_func
Definition tar_1_33.c:1315
Compress_bzip2_ar Compress_bzip2_ar_func
Definition tar_1_33.c:2163
double inittimer2(int value)
Definition tar_1_33.c:476
void update_progress_arp(int64_t *bytes_read_arp__)
Definition tar_1_33.c:1418
update_progress_arp_ update_progress_arp_func
Definition tar_1_33.c:1317
char my_error_as_a_programmer_z[AMANDA__SIZE]
Definition tar_1_33.c:170
char update_filename_arp[AMANDA__SIZE]
Definition tar_1_33.c:644
dump_status
Definition tar_1_33.c:3095
@ dump_status_ok
Definition tar_1_33.c:3096
@ dump_status_not_implemented
Definition tar_1_33.c:3099
@ dump_status_fail
Definition tar_1_33.c:3098
@ dump_status_short
Definition tar_1_33.c:3097
bool dont_delete_7zip_file_i
Definition tar_1_33.c:118
void __stdcall enable_encryption(int enable_arp)
Definition tar_1_33.c:832
cancel_b3___aakp_b3___ar cancel_b3___aakp_b3___ar_func
Definition tar_1_33.c:2330
GLOBAL bool read_full_records_option
Definition tar_1_33.c:3288
get_progress_l4___ar get_progress_l4___ar_func
Definition tar_1_33.c:2264
bool use_name_i
Definition tar_1_33.c:581
compress_co___rspk_ar compress_co___rspk_ar_func
Definition tar_1_33.c:2230
bool progress_is_libarchive_v27
Definition tar_1_33.c:110
#define S_IXUSR
Definition tar_1_33.c:4911
WCHAR * amanda_utf8towide_2_(char *pUTF8, WCHAR *ar_temp)
Definition tar_1_33.c:729
compress_br___rspk_ar compress_br___rspk_ar_func
Definition tar_1_33.c:2290
compress_lzma_rspk_ar compress_lzma_rspk_ar_func
Definition tar_1_33.c:2197
GLOBAL struct timespec start_time
Definition tar_1_33.c:3299
#define DEFAULT_BLOCKING
Definition tar_1_33.c:3004
FILE * our_update_file_fopen_arp
Definition tar_1_33.c:640
int fatal_exit_k
Definition tar_1_33.c:3217
struct posix_header header
Definition tar.h:375
char buffer[BLOCKSIZE]
Definition tar.h:374
Definition compress42.c:551
void dump_file_or_folder_final_arp(struct tar_stat_info *st)
Definition update_arp_k.c:125
__int64 _telli64(int handle)
int __stdcall status(int newvalue)
Definition bzip2dll.c:513
#define SEEK_SET
Definition zconf.h:498
#define const
Definition zconf.h:230
#define b(i)
Definition sha256.c:42
#define a(i)
Definition sha256.c:41
uint32_t flags
Definition container.h:628
lzma_index ** i
Definition index.h:629
#define NULL
Definition getopt1.c:37
static uint32_t const uint8_t uint32_t len
Definition memcmplen.h:44
char name[NAME_LEN_MAX+1]
Name of the filter.
Definition string_conversion.c:450
#define header(is_bt, len_min, ret_op)
Definition lz_encoder_mf.c:191
const char * str
Table column heading string.
Definition list.c:109
ret
Definition zlib_interface.c:30
#define MAX_PATH
Definition decodecorpus.c:40