Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
tar_1_33.c File Reference

tar like file compressor More...

#include "microsoft_header_fix_m.h"
#include "arp_2.h"
#include "arp.h"
#include "tar.h"
#include "compression_support_ar.c"
#include "sparse_2_k.c"
#include "xheader_k.c"
#include "extract_kkk.c"
#include "create_zen_ar.c"
#include "enum_files_and_folders_1.c"
#include "cpu_fixed_z.c"
#include "multi_volume_p.c"
#include "main_cr.c"
#include "./xcx_gz/dll.c"
#include "./xcx_bzip2/bzip2dll.c"

Data Structures

struct  _amanda_i_
 
struct  final_fix_dl
 
struct  my_struct_for_list_ar_is_amanda_update_
 
struct  my_struct_for_list_ar_is_list_
 
struct  my_struct_for_list_ar_is_extract_
 
struct  xhdr_tab
 
struct  keyword_list
 
struct  bufmap
 
struct  zip_magic
 

Macros

#define DEBUG_MICROSOFT_AMANDA_S_SMART_APE_______LIKE_PEDRO_VALUE__   ((0) /* if -1 not working, as usual... */)
 
#define ARP_ALLOW_MULTIPLE_PASSWORDS_   0
 
#define INT_BITS_STRLEN_BOUND(b)
 
#define _GL_SIGNED_TYPE_OR_EXPR(t)
 
#define INT_STRLEN_BOUND(t)
 
#define __amandacall   __stdcall
 
#define __valquiriacall   __fastcall
 
#define AMANDA__SIZE   ((32767 * 6) + 2)
 
#define AMANDA__SIZE_w   (32767)
 
#define AMANDA__SIZE_ww   ((32767 * 2) + 2)
 
#define INT_BUFSIZE_BOUND(t)
 
#define UINTMAX_STRSIZE_BOUND   INT_BUFSIZE_BOUND(uintmax_t)
 
#define xmalloc   malloc
 
#define obstack_chunk_alloc   xmalloc
 
#define MODE_IS_ARP_DEBUG   1
 
#define obstack_chunk_free   free
 
#define major(device)
 
#define minor(device)
 
#define makedev(major, minor)
 
#define major_t   int
 
#define minor_t   int
 
#define MACHINE_ARP_   "32"
 
#define IS_TAR_DLL_I
 
#define BUF_SIZE_ARP_I   (sizeof(our_map_arp_i))
 
#define FALLTHROUGH   __attribute__((__fallthrough__))
 
#define DEFAULT_BLOCKING   20
 
#define XHDR_PROTECTED   0x01
 
#define XHDR_GLOBAL   0x02
 
#define NAME_FIELD_SIZE   100 /* look at this, it is too low even for 30 years ago */
 
#define TYPE_SIGNED(t)
 
#define TYPE_WIDTH(t)
 
#define TYPE_MINIMUM(t)
 
#define TYPE_MAXIMUM(t)
 
#define OFF_FROM_HEADER(where)
 
#define WARN_ALONE_ZERO_BLOCK   0x00000001
 
#define WARN_BAD_DUMPDIR   0x00000002
 
#define WARN_CACHEDIR   0x00000004
 
#define WARN_CONTIGUOUS_CAST   0x00000008
 
#define WARN_FILE_CHANGED   0x00000010
 
#define WARN_FILE_IGNORED   0x00000020
 
#define WARN_FILE_REMOVED   0x00000040
 
#define WARN_FILE_SHRANK   0x00000080
 
#define WARN_FILE_UNCHANGED   0x00000100
 
#define WARN_FILENAME_WITH_NULS   0x00000200
 
#define WARN_IGNORE_ARCHIVE   0x00000400
 
#define WARN_IGNORE_NEWER   0x00000800
 
#define WARN_NEW_DIRECTORY   0x00001000
 
#define WARN_RENAME_DIRECTORY   0x00002000
 
#define WARN_SYMLINK_CAST   0x00004000
 
#define WARN_TIMESTAMP   0x00008000
 
#define WARN_UNKNOWN_CAST   0x00010000
 
#define WARN_UNKNOWN_KEYWORD   0x00020000
 
#define WARN_XDEV   0x00040000
 
#define WARN_DECOMPRESS_PROGRAM   0x00080000
 
#define WARN_EXISTING_FILE   0x00100000
 
#define WARN_XATTR_WRITE   0x00200000
 
#define WARN_RECORD_SIZE   0x00400000
 
#define WARN_FAILED_READ   0x00800000
 
#define WARN_VERBOSE_WARNINGS
 
#define WARN_ALL   (~WARN_VERBOSE_WARNINGS)
 
#define WARNING_ENABLED(opt)
 
#define WARNOPT(opt, args)
 
#define GLOBAL
 
#define S_ISOFD(p)
 
#define S_ISOFL(p)
 
#define S_ISWHT(m)
 
#define S_IRUSR   00400
 
#define S_IROTH   (S_IRUSR >> 6)
 
#define S_IWUSR   00200
 
#define S_IWOTH   (S_IWUSR >> 6)
 
#define S_IXUSR   00100
 
#define S_IXOTH   (S_IXUSR >> 6)
 
#define GID_FROM_HEADER(where)
 
#define MAJOR_FROM_HEADER(where)
 
#define MINOR_FROM_HEADER(where)
 
#define MODE_FROM_HEADER(where, hbits)
 
#define TIME_FROM_HEADER(where)
 
#define UID_FROM_HEADER(where)
 
#define ISOCTAL(c)
 
#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE_UNIX   0
 
#define DOUBLE_SLASH_IS_DISTINCT_ROOT_UNIX   0
 
#define ISSLASH_UNIX(C)
 
#define IS_ABSOLUTE_PATH_UNIX(P)
 
#define IS_PATH_WITH_DIR_UNIX(P)
 
#define FILE_SYSTEM_PREFIX_LEN_UNIX(P)
 
#define LG_8   3
 
#define LG_64   6
 
#define LG_256   8
 
#define ISODIGIT(c)
 
#define NMAGIC   (sizeof(magic) / sizeof(magic[0]))
 
#define AMANDA_SIZE___   (1 << 17)
 

Typedefs

typedef int(__stdcall * meu_fn_pk) (int, int64_t)
 
typedef void(* add_more_one_func) (char *)
 
typedef int(__stdcall * tar_list_function_ar) (int clear_flag_k)
 
typedef int(__stdcall * get_tar_info_p) (int *Isdir_k_ar, int *Second_k_ar, int *Minute_k_ar, int *Hour_k_ar, int *Year_k_ar, int *Month_k_ar, int *Day_k_ar, __int64 *Size_k_ar, char *filename_k_ar, int *Numdir_k_ar, int *Numfiles_k_ar, char *typeflag_ar_)
 
typedef int(__stdcall * libarchive_list_entries_p) (char *filename_utf_8_p, char *password_p, tar_list_function_ar our_function_p, char *error_message_p, char *archive_format_p)
 
typedef int(__stdcall * libarchive_extract_entries_p) (char *filename_utf_8_p, char *password_p, tar_list_function_ar our_function_p, char *error_message_p, char *archive_format_p, char *dir_to_extract_i, char *extracting_filename_ar, char *warning_info, char *creating_folder_maria, bool *extract_pause__flag, bool *extract_cancel_flag, int *folders_ar, int *files_ar)
 
typedef int(__stdcall * libarchive_create_archive_init_p) (int archive_kind_p, char *file_utf_8_p, char *passphrase_p, char *compression_level_p, int number_of_threads_p_)
 
typedef int(__stdcall * libarchive_process_p) (char *new_entry_relative_p, char *new_entry_complete_p)
 
typedef int(__stdcall * libarchive_close_p) (void)
 
typedef int(__stdcall * set_progress_p) (int64_t *pointer_value_p)
 
typedef int(__stdcall * progress_extract_i) (void)
 
typedef int(__stdcall * init_playlist_z_june_24_i) (void)
 
typedef void(__stdcall * add_more_one_z_june_24_i) (time_t atime_i, time_t mtime_i, time_t birthtime_i, int64_t filesize_i, int64_t file_offset_i, char *item_entry_i, bool is_dir_i, bool in_use_i, int64_t attributes_i)
 
typedef int(__stdcall * check_item_z_june_24_i) (char *filename_utf8)
 
typedef int(__stdcall * extract_to_file_i) (char *temp_path_i, bool enable_i, char *temp_file_i, init_playlist_z_june_24_i init_playlist_z_june_24_ii, add_more_one_z_june_24_i add_more_one_z_june_24_ii, check_item_z_june_24_i check_item_z_june_24_ii)
 
typedef struct _amanda_i_ our_map_arp_i
 
typedef int(* decrypt_arp_) (char *inputfile, char *outputfile, char *key, int64_t *the_arp_file_size, char *encryption_method_i, int *cores_S2_used_z)
 
typedef int(* encrypt_arp_) (char *inputfile, char *outputfile, char *key, int is_rc4_arp, int ar__threads_z_v27)
 
typedef int(__stdcall * PauseExecution__arp_) (void)
 
typedef int(__stdcall * ResumeExecution_arp_) (void)
 
typedef int(__stdcall * CancelExecution_arp_) (void)
 
typedef int(__stdcall * GetProgress_____arp_) (void)
 
typedef int(__stdcall * internal_progress_z_arp_) (void)
 
typedef void(* update_progress_arp_) (int64_t *valor_a_atualizar_arp)
 
typedef int(__stdcall * Compress_gzip_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)
 
typedef int(__stdcall * GetFinished_gzip_ar) (void)
 
typedef int(__stdcall * GetProgress_gzip_ar) (void)
 
typedef void(__stdcall * PauseExecution_gzip_ar) (void)
 
typedef void(__stdcall * ResumeExecution_gzip_ar) (void)
 
typedef void(__stdcall * CancelExecution_gzip_ar) (void)
 
typedef int(__stdcall * GetReturnValue_gzip_ar) (void)
 
typedef int(__stdcall * Uncompress_gzip_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * Compress_bzip2_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)
 
typedef int(__stdcall * GetStatus_bzip2_ar) (void)
 
typedef int(__stdcall * GetProgress_bzip2_ar) (void)
 
typedef int(__stdcall * PauseCompress_bzip2_ar) (void)
 
typedef int(__stdcall * ResumeCompress_bzip2_ar) (void)
 
typedef int(__stdcall * CancelCompress_bzip2_ar) (void)
 
typedef int(__stdcall * Decompress_bzip2_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * GetReturnValue_bzip2_ar) (void)
 
typedef int(__stdcall * compress_lzip_rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)
 
typedef int(__stdcall * uncompress_lzip_rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_lzip_ar) (void)
 
typedef int(__stdcall * pause_lzip_aakp_lzip_ar) (void)
 
typedef int(__stdcall * resume_lzip_aakp_lzip_ar) (void)
 
typedef int(__stdcall * cancel_lzip_aakp_lzip_ar) (void)
 
typedef int(__stdcall * compress_lzma_rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)
 
typedef int(__stdcall * uncompress_lzma_rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_lzma_ar) (void)
 
typedef int(__stdcall * pause_lzma_aakp_lzma_ar) (void)
 
typedef int(__stdcall * resume_lzma_aakp_lzma_ar) (void)
 
typedef int(__stdcall * cancel_lzma_aakp_lzma_ar) (void)
 
typedef int(__stdcall * compress_xz___rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel, int threads____z)
 
typedef int(__stdcall * uncompress_xz___rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_xz___ar) (void)
 
typedef int(__stdcall * pause_xz___aakp_xz___ar) (void)
 
typedef int(__stdcall * resume_xz___aakp_xz___ar) (void)
 
typedef int(__stdcall * cancel_xz___aakp_xz___ar) (void)
 
typedef int(__stdcall * compress_co___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)
 
typedef int(__stdcall * uncompress_co___rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_co___ar) (void)
 
typedef int(__stdcall * pause_co___aakp_co___ar) (void)
 
typedef int(__stdcall * resume_co___aakp_co___ar) (void)
 
typedef int(__stdcall * cancel_co___aakp_co___ar) (void)
 
typedef int(__stdcall * compress_ju___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)
 
typedef int(__stdcall * uncompress_ju___rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_ju___ar) (void)
 
typedef int(__stdcall * pause_ju___aakp_ju___ar) (void)
 
typedef int(__stdcall * resume_ju___aakp_ju___ar) (void)
 
typedef int(__stdcall * cancel_ju___aakp_ju___ar) (void)
 
typedef int(__stdcall * compress_l4___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)
 
typedef int(__stdcall * uncompress_l4___rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_l4___ar) (void)
 
typedef int(__stdcall * pause_l4___aakp_l4___ar) (void)
 
typedef int(__stdcall * resume_l4___aakp_l4___ar) (void)
 
typedef int(__stdcall * cancel_l4___aakp_l4___ar) (void)
 
typedef int(__stdcall * compress_zs___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int threads_z)
 
typedef int(__stdcall * uncompress_zs___rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_zs___ar) (void)
 
typedef int(__stdcall * pause_zs___aakp_zs___ar) (void)
 
typedef int(__stdcall * resume_zs___aakp_zs___ar) (void)
 
typedef int(__stdcall * cancel_zs___aakp_zs___ar) (void)
 
typedef int(__stdcall * compress_br___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)
 
typedef int(__stdcall * uncompress_br___rspk_ar) (char *Inputfile, char *OutPutFile)
 
typedef int(__stdcall * get_progress_br___ar) (void)
 
typedef int(__stdcall * pause_br___aakp_br___ar) (void)
 
typedef int(__stdcall * resume_br___aakp_br___ar) (void)
 
typedef int(__stdcall * cancel_br___aakp_br___ar) (void)
 
typedef int(__stdcall * compress_g2___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)
 
typedef int(__stdcall * uncompress_g2___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)
 
typedef int(__stdcall * get_progress_g2___ar) (void)
 
typedef int(__stdcall * pause_g2___aakp_g2___ar) (void)
 
typedef int(__stdcall * resume_g2___aakp_g2___ar) (void)
 
typedef int(__stdcall * cancel_g2___aakp_g2___ar) (void)
 
typedef int(__stdcall * compress_b3___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)
 
typedef int(__stdcall * uncompress_b3___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)
 
typedef int(__stdcall * get_progress_b3___ar) (void)
 
typedef int(__stdcall * pause_b3___aakp_b3___ar) (void)
 
typedef int(__stdcall * resume_b3___aakp_b3___ar) (void)
 
typedef int(__stdcall * cancel_b3___aakp_b3___ar) (void)
 
typedef int(__stdcall * compress_l3___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)
 
typedef int(__stdcall * uncompress_l3___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)
 
typedef int(__stdcall * get_progress_l3___ar) (void)
 
typedef int(__stdcall * pause_l3___aakp_l3___ar) (void)
 
typedef int(__stdcall * resume_l3___aakp_l3___ar) (void)
 
typedef int(__stdcall * cancel_l3___aakp_l3___ar) (void)
 
typedef int(__stdcall * compress_l5___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)
 
typedef int(__stdcall * uncompress_l5___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)
 
typedef int(__stdcall * get_progress_l5___ar) (void)
 
typedef int(__stdcall * pause_l5___aakp_l5___ar) (void)
 
typedef int(__stdcall * resume_l5___aakp_l5___ar) (void)
 
typedef int(__stdcall * cancel_l5___aakp_l5___ar) (void)
 
typedef int(__stdcall * compress_bb___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)
 
typedef int(__stdcall * uncompress_bb___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)
 
typedef int(__stdcall * get_progress_bb___ar) (void)
 
typedef int(__stdcall * pause_bb___aakp_bb___ar) (void)
 
typedef int(__stdcall * resume_bb___aakp_bb___ar) (void)
 
typedef int(__stdcall * cancel_bb___aakp_bb___ar) (void)
 
typedef int(__stdcall * compress_c5___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)
 
typedef int(__stdcall * uncompress_c5___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)
 
typedef int(__stdcall * get_progress_c5___ar) (void)
 
typedef int(__stdcall * pause_c5___aakp_c5___ar) (void)
 
typedef int(__stdcall * resume_c5___aakp_c5___ar) (void)
 
typedef int(__stdcall * cancel_c5___aakp_c5___ar) (void)
 
typedef void(* do_something_k) (void)
 

Enumerations

enum  amanda_commands {
  AAKP_CLEAR , AAKP_LIST_PROCESS , AAKP_LIST_FINISH , AAKP_EXTRACT_PROCESS ,
  AAKP_EXTRACT_FINISH , AAKP_ERROR , AAKP_CREATE_ERROR , AAKP_CREATE_WARNING ,
  AAKP_CREATE_FINISH , AAKP_CREATE_PROCESS
}
 
enum  read_header {
  HEADER_STILL_UNREAD , HEADER_SUCCESS , HEADER_SUCCESS_EXTENDED , HEADER_ZERO_BLOCK ,
  HEADER_END_OF_FILE , HEADER_FAILURE
}
 
enum  compressed_formats {
  ct_compress_k = 1001 , ct_gzip_k , ct_bzip2_k , ct_lzip_k ,
  ct_lzma_k , ct_lzop_k , ct_xz_k , ct_lz4_k ,
  ct_zstd_k , ct_brotli_k , ct_val_k , ct_gzip2a_k ,
  ct_gzip2c_k , ct_bzip3_k , ct_lzop2_k , ct_lz5_k ,
  ct_brotli2_k , ct_compress2_k
}
 
enum  dump_status { dump_status_ok , dump_status_short , dump_status_fail , dump_status_not_implemented }
 
enum  read_header_mode { read_header_auto , read_header_x_raw , read_header_x_global }
 
enum  compress_type {
  ct_none , ct_tar , ct_compress , ct_gzip ,
  ct_bzip2 , ct_lzip , ct_lzma , ct_lzop ,
  ct_xz , ct_lz4 , ct_zstd , ct_val ,
  ct_gzip2a , ct_gzip2c , ct_bzip3 , ct_lzop2 ,
  ct_lz5 , ct_brotli2 , ct_compress2
}
 
enum  access_mode { ACCESS_READ , ACCESS_WRITE , ACCESS_UPDATE }
 
enum  { NAO_DEFINIDO_XCX , MODO_EH_COMPRESS , MODO_EH_UNCOMPRESS }
 

Functions

void yasmin_charlotte_pereira_dprintf (int amanda_level, char *format,...)
 
void pedro_dprintf2 (int amanda_level, char *format,...)
 
int __stdcall memory_usage__z2 (char *data_z)
 
int __amandacall memory_usage__z (char *data_z)
 
bool check_valid_path_i (char *data_i)
 
int __stdcall get_rand (int min, int max)
 
int remove_temp_folder_i (void)
 
int feline_read_xml (char *filename_utf8_feline, char *root__________feline, char *node__________feline, char *attribute_____feline, char *out_data______feline)
 
int feline_write_xml (char *filename_utf8_feline, char *root__________feline, char *node__________feline, char *attribute_____feline, char *in_data_______feline_)
 
int stripfilenameandpath (char *path, char *onlypath, char *onlyfilename)
 
__int64 getfilesize_ar (char *infile_ar)
 
double get_bucaneiro_tick (void)
 
int __fastcall split_in_multiple_volumes_p (char *filename_utf_8_p)
 
int __stdcall split_compressed_file_p (int64_t slice_in_bytes_p_)
 
int __fastcall detect_multi_volume_p (char *filename_utf_8_p, char *adjusted_filename_in_temp_p)
 
char * valquiria_wide_to_utf8 (WCHAR *pUSC2_maria, char *ar_temp_char)
 
void pedro_dprintf (int amanda_level, char *format,...)
 
void pedro_dprintfW (int amanda_level, wchar_t *format,...)
 
wchar_t * remove_permissive_name_m_ (wchar_t *wname, WCHAR *ar_temp)
 as the name says it will convert a wide characters (up to 32767 characters) path to a standard path (MAX_PATH as the maximum size)
 
wchar_t * permissive_name_m_ (const wchar_t *wname, WCHAR *ar_temp)
 
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 when this function is required
 
double inittimer2 (int value)
 
void strncpy_z (char *dest_z, char *src_z, size_t len_)
 
int __amandacall set_temp_folder_z (char *folder_z)
 
char * ar_gettemppath_z (void)
 
int ispathfile (char *path)
 
char * umaxtostr (uintmax_t i, char *buf)
 
char * strsep (char **stringp, const char *delim)
 
int getpor_10000_int64_t_ar (int64_t max, int64_t fatia)
 
bool strmatch (char str[], char pattern[], int n, int m)
 
int getpor_10000 (int max, int fatia)
 
void strtolower_ar (char *path)
 
WCHAR * amanda_asciitowide_1_ (char *pUTF8, WCHAR *ar_temp)
 
int size_of_WCHAR_mem_r (char *in_string)
 
WCHAR * amanda_utf8towide_2_ (char *pUTF8, WCHAR *ar_temp)
 
WCHAR * utf8_2_wide_dl (char *pUTF8)
 
void rspgettemppath_arp (char *path_arp)
 
void __stdcall pass_password (char *the_pass_arp_, char *the_pass_arp_as_utf_8_i_)
 
void __stdcall enable_encryption (int enable_arp)
 
unsigned __stdcall my_thread_function_v27 (__attribute__((unused)) void *my_argument_z)
 
void init_psftp_arp (void)
 
int __stdcall pass_sftp_data_z (char *remote_path_z, char *user_name_z, char *password_z, char *host_z, char *local_file)
 
int __stdcall get_sftp_return_value_z (void)
 
int __stdcall get_remote_directory_z (char *path_z)
 
int __stdcall get_key_fingerprint_z (char *key_z)
 Get the key fingerprint from the SFTP connection, obviously only available after the handshake of the SFTP.
 
int __stdcall is_sftp_running_z (void)
 
int __stdcall pause_sftp (void)
 
int __stdcall resume_sftp (void)
 
int __stdcall cancel_sftp (void)
 
int __stdcall progress_sftp (void)
 
void init_rsp_arp_encrypt_arp (void)
 
int internal_progress_z (void)
 
void update_progress_arp (int64_t *bytes_read_arp__)
 
int encrypt_arp (char *inputfile, char *outputfile, char *key, int encryption_method_z, int ar_threads_z_v27_)
 
int decrypt_arp (char *inputfile, char *outputfile, char *key, int64_t *the_arp_file_size, char *encryption_method_i, int *cores_S2)
 
char * get_ava_name (void)
 Get the ava name object, or the name of the xml file to save and restory sample code informations required, only the sample project need these functions.
 
int write_xml_z (char *key_name_z, char *data_z)
 
int __stdcall write_xml_z_amanda_s_smart_ape (char *filename_amanda_s_smart_ape, char *key_name_z, char *data_z)
 
int __stdcall read_xml_z_amanda_s_smart_ape (char *filename_amanda_s_smart_ape, char *key_name_z, char *data_z, int output_len_z)
 
int read_xml_z (char *key_name_z, char *data_z, int output_len_z)
 
void convert_char_to_wchar_idiot_z (char *input_z, WCHAR *output_z)
 
void convert_wchar_to_char_jerk_z (WCHAR *input_z, char *output_z)
 
int old_ini_get (char *key_arp, char *data_arp, char *if_has_data_use_this_z, int output_len_z)
 
int old_ini_write (char *key_arp_z, char *data_arp_z, char *if_has_data_use_this_z)
 
int __stdcall get__settings_arp (char *key_arp_z, char *data_arp_z, int output_len_z)
 
int __stdcall save_settings_arp (char *key_arp_z, char *data_arp_z)
 
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)
 
int clean_list__ar_is_amanda_update_ (void)
 
int clean_list_itens_is_amanda_update_ (void)
 
void __stdcall get_tar_info_ar (int *Isdir_k_ar, int *Second_k_ar, int *Minute_k_ar, int *Hour_k_ar, int *Year_k_ar, int *Month_k_ar, int *Day_k_ar, __int64 *Size_k_ar, char *filename_k_ar, int *Numdir_k_ar, int *Numfiles_k_ar, char *typeflag_ar_)
 
void add_more_one_is_list_ (int Isdir_k_ar, int Second_k_ar, int Minute_k_ar, int Hour_k_ar, int Year_k_ar, int Month_k_ar, int Day_k_ar, __int64 Size_k_ar, char *filename_k_ar, int Numdir_k_ar, int Numfiles_k_ar, char *typeflag_ar_)
 
int clean_list__ar_is_list_ (void)
 
int clean_list_itens_is_list_ (void)
 
int __stdcall get_list__itens__is_list_ (char *filename_k_ar, char *typeflag_ar_, int *Isdir_k_ar, int *Second_k_ar, int *Minute_k_ar, int *Hour_k_ar, int *Year_k_ar, int *Month_k_ar, int *Day_k_ar, int64_t *Size_k_ar, int *Numdir_k_ar, int *Numfiles_k_ar, int output_len_z)
 
void add_more_one_is_extract_ (char *extracting_filename_ar__, char *warning_info_ar_, char *creating_folder_maria__)
 
int __stdcall get_listview_progress_arp (void)
 
int clean_list__ar_is_extract_ (void)
 
int get_list_itens_is_extract_ ()
 
int __stdcall get_last_process_information_ar_is_extract_ (char *extracting_filename_ar__, char *creating_folder_maria__, char *warning_info__, int *Folders_ar, int *Files_ar)
 
int __stdcall extract_function_ar_ok (int clear_flag_k)
 
int __stdcall list_function_ar_ok (int clear_flag_k)
 
int __stdcall process_tar (int true_if_it_is_extract_ar, char *tar_file_ar, tar_list_function_ar my_func__)
 
void * xmemdup (void const *p, size_t s)
 
char * xstrdup (char const *string)
 Safe strdup() that never returns NULL.
 
enum read_header tar_checksum (union block *header, bool silent)
 
off_t off_from_header (const char *p, size_t s)
 
off_t seek_archive (off_t size)
 
void archive_read_error (void)
 
off_t current_block_ordinal (void)
 
int getpagesize (void)
 
void flush_archive (void)
 
union blockfind_next_block (void)
 
void open_archive (enum access_mode wanted_access)
 
void flush_read (void)
 
void tar_stat_destroy (struct tar_stat_info *st)
 
bool tar_stat_close (struct tar_stat_info *st)
 
void close_diag (char const *name)
 
void open_diag (char const *name)
 
void open_warn (char const *name)
 
void open_error (char const *name)
 
void close_warn (char const *name)
 
void close_error (char const *name)
 
void xheader_xattr_free (struct xattr_array *xattr_map, size_t xattr_map_size)
 
enum read_header read_header (union block **return_block, struct tar_stat_info *info, enum read_header_mode m)
 
void set_next_block_after (union block *block)
 
size_t available_space_after (union block *pointer)
 
void xheader_read (struct xheader *xhdr, union block *p, off_t size)
 
void xheader_decode_global (struct xheader *xhdr)
 
void xheader_destroy (struct xheader *xhdr)
 
void assign_string (char **string, const char *value)
 
char * last_component (char const *name)
 
size_t base_len_unix (char const *name)
 
char * last_component_unix (char const *name)
 
bool strip_trailing_slashes_unix (char *file)
 
void decode_header (union block *header, struct tar_stat_info *stat_info, enum archive_format *format_pointer, int do_user_group)
 
void assign_string_n (char **string, const char *value, size_t n)
 
void xheader_xattr_init (struct tar_stat_info *st)
 
int uname_to_uid (char const *uname, short *uidp)
 
int gname_to_gid (char const *gname, short *gidp)
 
void xheader_decode (struct tar_stat_info *st)
 
bool sparse_member_p (struct tar_stat_info *st)
 
bool sparse_fixup_header (struct tar_stat_info *st)
 
void skip_member (void)
 
void mv_begin_read (struct tar_stat_info *st)
 
void mv_begin_write (const char *file_name, off_t totsize, off_t sizeleft)
 
enum dump_status sparse_skip_file (struct tar_stat_info *st)
 
void mv_size_left (off_t size)
 
void mv_end (void)
 
void list_archive (void)
 
void print_header (struct tar_stat_info *st, union block *blk, off_t block_ordinal)
 
bool all_names_found (struct tar_stat_info *p)
 
size_t sys_write_archive_buffer (void)
 
void TimetToFileTime (time_t t, LPFILETIME pft)
 
LONGLONG FileTime_to_POSIX_m (FILETIME ft)
 
BOOL GetLastWriteTime_complete_arp_v27 (HANDLE hFile, char *lpszString_amanda, __attribute__((unused)) DWORD dwSize, __time64_t *s_arp, VAL_data *VAL_data_arp)
 
BOOL GetLastWriteTime_complete_arp (HANDLE hFile, char *lpszString_amanda, __attribute__((unused)) DWORD dwSize, __time64_t *s_arp, VAL_data *VAL_data_arp)
 
void get_timestamp_arp (char *file_arp, __time64_t *s_arp, VAL_data *VAL_data_arp)
 
void printf_time (time_t s_arp, __attribute__((unused)) char *file_arp)
 
char consttartime (struct timespec t, __attribute__((unused)) bool full_time)
 
void close_archive (void)
 
void simple_print_header (struct tar_stat_info *st, union block *blk, __attribute__((unused)) off_t block_ordinal)
 
void tartime_VAL (void)
 
void simple_print_header_VAL (void)
 
void tartime_iso (void)
 
void simple_print_header_iso (void)
 
void skip_file (off_t size)
 
void mv_begin_write (__attribute__((unused)) const char *file_name, __attribute__((unused)) off_t totsize, __attribute__((unused)) off_t sizeleft)
 
int gname_to_gid (__attribute__((unused)) char const *gname, __attribute__((unused)) short *gidp)
 
int uname_to_uid (__attribute__((unused)) char const *uname, __attribute__((unused)) short *uidp)
 
enum read_header read_header_old_1_32 (union block **return_block, struct tar_stat_info *info, enum read_header_mode mode)
 
void close_error (__attribute__((unused)) char const *name)
 
void close_warn (__attribute__((unused)) char const *name)
 
void open_error (__attribute__((unused)) char const *name)
 
void open_warn (__attribute__((unused)) char const *name)
 
int check_brotli_file_aakp (char *data_rspk)
 
int check_iso_file_aakp (char *data_rspk)
 
int check_lzma_file_aakp (char *data_rspk)
 
void * ptr_align (void *ptr, size_t alignment)
 
void * page_aligned_alloc (void **ptr, size_t size)
 
int __stdcall IsListRunning (void)
 
int __stdcall GetReturnValueFromList (void)
 
void __stdcall get_error_message (char *data_ar)
 
int __stdcall list_tar_file_ar (char *tar_file_ar)
 
int __stdcall startapi_ar_2 (__attribute__((unused)) int parameter)
 
int __stdcall startapi_ar_3 (__attribute__((unused)) int parameter)
 
int __stdcall libarchive_list_tar_file_ar (char *tar_file_ar)
 
int __stdcall ExtractPause_ar (void)
 
int __stdcall ExtractResume_ar (void)
 
int __stdcall ExtractCancel_ar (void)
 
int __stdcall extract_tar_file_ar (char *tar_file_ar, char *destination_folder_ar)
 
int __stdcall libarchive_extract_tar_file_ar (char *tar_file_ar, char *destination_folder_ar)
 
int __stdcall GetListProgress_ar (void)
 
int __stdcall GetExtrationProgress_ar (void)
 
int __stdcall get_tar_format_arp (char *format_arp)
 
void check_mislaine_encrypted (void)
 
int __stdcall Initial_Progress_z (void)
 
int __stdcall set_iso_settings (int iso_mode)
 
int __stdcall process_iso (__attribute__((unused)) int true_if_it_is_extract_ar, __attribute__((unused)) char *tar_file_ar)
 
char *__amandacall cpu_speed_z (void)
 
int __stdcall update_archive_ar_v2_internal (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)
 
int __stdcall startapi_ar_6 (int parameter)
 
int __stdcall update_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)
 
int __stdcall libarchive_update_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_char_i_)
 
int set_folder_time (char *in_folder_i, char *out_folder_i)
 
int file_copy_i (char *input_i, char *out_put_i)
 
bool check_temp_folder_passed_i (char *temp_folder_i, char *new_entry_i)
 
bool ScanFolder (char *lpcszFolder_ar, __attribute__((unused)) int first_call, bool recurse_i)
 
int __stdcall libarchive_update_archive_ar_v2_internal (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)
 
int __stdcall startapi_ar_6 (__attribute__((unused)) int parameter)
 
int __amandacall decompression_cores_used__z (void)
 
int fixed_abs (int value_to_fix)
 
int __stdcall get_DLL_mode_m (char *mode_j)
 
int __stdcall process_folder_pk (char *folder_pk, meu_fn_pk meu_pk)
 
int __stdcall get_files_pk (char *files_pk, char *date_pk)
 
__int64 lffilesize_dl (const char *szFileName)
 default function to get the size of files with Unicode support
 

Variables

bool message_box_flag_m = false
 
char file_got_pk [1024]
 
char date_got_pk [1024]
 
char charli_and_yasmin_global_filename [MAX_PATH+1]
 
meu_fn_pk meu_fn_pk_ = NULL
 
int compression_level_xcx = 6
 
int num_threads_xcx = 1
 
double time_uncompression_charli
 
double time___compression_charli
 
bool mode_is_update_libarchive_v27 = false
 
bool use_7zip_extraction_progress_i = false
 
bool progress_is_libarchive_v27 = false
 
int progress_lib_v27
 
bool mode_is_libarchive_update_i = false
 
bool dont_delete_7zip_file_i = false
 
bool only_get_number_of_files_ar_v27 = false
 
int parolin_compression_level_p
 
char encryption_format_S2_ [300] = {0}
 
char encryption_method__i [300] = {0}
 
char compression_level_p [300]
 
char compression_level_char_i [300] = "6"
 
FILE * my___temp_file_i
 
char temp_file_update_i [AMANDA__SIZE]
 
int64_t attributes_i
 
int number_of_threads_p = 1
 
__time64_t atime_i
 
__time64_t ctime_i
 
__time64_t mtime_i
 
int show_debug_z = -1
 
int cores_used_z = 1
 
bool is_update_i = false
 
bool mode_is_libarchive_list_p = false
 
bool mode_is_libarchive_extract_p = false
 
char key_fingerprint_i [1027]
 
int64_t real_VAL_filesize
 
char my_error_as_a_programmer_z [AMANDA__SIZE] = {0}
 
char error_message_k [AMANDA__SIZE] = {0}
 
char remote_path_i [AMANDA__SIZE] = {0}
 
FILE * decoder_file_z = NULL
 
int init_decoder_z = 0
 
bool keep_temp_file_flag_z = false
 
int running_update = 0
 
bool is_encrypted_by_extension = false
 
char file_to_keep_z [AMANDA__SIZE]
 
char temp_file_for_encrypted [AMANDA__SIZE]
 
char temp_file_for_encrypted_v2 [AMANDA__SIZE]
 
int already_arp
 
int encryption_method_arp
 
int encryption_method_to_create = ARP_AES
 
int time_point_arp_2 = 0
 
bool use_name_i = false
 
int iso_mode_value = ARP_MODE_JOLIET_PLUS_ROCK_RIDGE
 
int32_t decompression_progress_mode_arp = -1
 
VAL_data my_VAL_data_arp = {0}
 
bool is_mislaine_encrypted_
 
bool is_mislaine_encrypted_v2_z
 
int ret_arp_
 
bool mode_is_VAL_arp
 
int detected_format_arp
 
char string_format_arp [1024] = "unknown"
 
char temp_folder_z [AMANDA__SIZE]
 
bool file_is_VAL_arp
 
char global_patern_ar [20000]
 
__int64 file_size_total_int64 = 0
 
__int64 file_total__read_int64 = 0
 
bool extract_pause__flag
 
bool extract_cancel_flag
 
int last_list_error_int_arp
 
char last_list_error_message_arp [AMANDA__SIZE]
 
bool mode_is_list_arp
 
int has_itens_is_amanda_update_internal_b_arp
 
bool mode_is_update_arp = false
 
int step_for_create_arp
 
FILE * our_update_file_fopen_arp = NULL
 
int our_update_file_open__arp = -1
 
int bytes_written_to_update_file_arp
 
int64_t bytes_left_in_the_update_file_arp
 
char update_filename_arp [AMANDA__SIZE]
 
char update_temp_dir_arp [AMANDA__SIZE]
 
bool recurse_on_subfolders_arp = true
 
char creating_folder_maria [AMANDA__SIZE]
 
int running_2_ar = 0
 
int return_value_from_list = 0
 
bool enable_encryption_arp_ = false
 
char the_pass_arp [1024+1] = {0}
 
char the_pass_arp_utf8_i [1024+1] = {0}
 
HMODULE my_libarchive_dll = NULL
 
get_tar_info_p get_tar_info_p_func = NULL
 
libarchive_list_entries_p libarchive_list_entries_p_func = NULL
 
libarchive_extract_entries_p libarchive_extract_entries_p_func = NULL
 
libarchive_create_archive_init_p libarchive_create_archive_init_p_func = NULL
 
libarchive_process_p libarchive_process_p_func = NULL
 
libarchive_close_p libarchive_close_p_func = NULL
 
set_progress_p set_progress_p_func = NULL
 
progress_extract_i progress_extract_i_func = NULL
 
extract_to_file_i extract_to_file_i_func = NULL
 
HMODULE my_rsp_arp_encrypt_dll = NULL
 
char remote_path_z_i [1027]
 
char user_name_z_i [1027]
 
char password_z_i [1027]
 
char host_z_i [1027]
 
char local_file_i [AMANDA__SIZE]
 
int returnvalue_i = 0
 
__INT32_OR_INT64 my_thread_handle = 0
 
bool sftp_already_running = false
 
HANDLE hMapFile_arp_i = NULL
 
our_map_arp_i global_our_map_arp_i = {0}
 
our_map_arp_iglobal_ptr_our_map_arp_v27_i = NULL
 
decrypt_arp_ decrypt_arp_func = NULL
 
encrypt_arp_ encrypt_arp_func = NULL
 
PauseExecution__arp_ PauseExecution__arp_func = NULL
 
ResumeExecution_arp_ ResumeExecution_arp_func = NULL
 
CancelExecution_arp_ CancelExecution_arp_func = NULL
 
GetProgress_____arp_ GetProgress_____arp_func = NULL
 
update_progress_arp_ update_progress_arp_func = NULL
 
internal_progress_z_arp_ internal_progress_z_arp_func = NULL
 
struct my_struct_for_list_ar_is_amanda_update_aak_is_amanda_update_
 
struct my_struct_for_list_ar_is_amanda_update_aak_inicio_is_amanda_update_
 
struct my_struct_for_list_ar_is_amanda_update_aak_pointer_is_amanda_update_
 
int has_itens_is_amanda_update_ = 0
 
int has_itens_copy_is_amanda_update_ = 0
 
HMODULE my_gzip_dll = NULL
 
HMODULE my_bz2__dll = NULL
 
HMODULE my_lzip__dll = NULL
 
HMODULE my_lzma__dll = NULL
 
HMODULE my_xz____dll = NULL
 
HMODULE my_co____dll = NULL
 
HMODULE my_ju____dll = NULL
 
HMODULE my_l4____dll = NULL
 
HMODULE my_zs____dll = NULL
 
HMODULE my_br____dll = NULL
 
HMODULE my_g2____dll = NULL
 
HMODULE my_b3____dll = NULL
 
HMODULE my_l3____dll = NULL
 
HMODULE my_l5____dll = NULL
 
HMODULE my_bb____dll = NULL
 
HMODULE my_c5____dll = NULL
 
Compress_gzip_ar Compress_gzip_ar_func = NULL
 
GetFinished_gzip_ar GetFinished_gzip_ar_func = NULL
 
GetProgress_gzip_ar GetProgress_gzip_ar_func = NULL
 
PauseExecution_gzip_ar PauseExecution_gzip_ar_func = NULL
 
ResumeExecution_gzip_ar ResumeExecution_gzip_ar_func = NULL
 
CancelExecution_gzip_ar CancelExecution_gzip_ar_func = NULL
 
GetReturnValue_gzip_ar GetReturnValue_gzip_ar_func = NULL
 
Uncompress_gzip_ar Uncompress_gzip_ar_func = NULL
 
Compress_bzip2_ar Compress_bzip2_ar_func = NULL
 
GetStatus_bzip2_ar GetStatus_bzip2_ar_func = NULL
 
GetProgress_bzip2_ar GetProgress_bzip2_ar_func = NULL
 
PauseCompress_bzip2_ar PauseCompress_bzip2_ar_func = NULL
 
ResumeCompress_bzip2_ar ResumeCompress_bzip2_ar_func = NULL
 
CancelCompress_bzip2_ar CancelCompress_bzip2_ar_func = NULL
 
Decompress_bzip2_ar Decompress_bzip2_ar_func = NULL
 
GetReturnValue_bzip2_ar GetReturnValue_bzip2_ar_func = NULL
 
compress_lzip_rspk_ar compress_lzip_rspk_ar_func = NULL
 
uncompress_lzip_rspk_ar uncompress_lzip_rspk_ar_func = NULL
 
get_progress_lzip_ar get_progress_lzip_ar_func = NULL
 
pause_lzip_aakp_lzip_ar pause_lzip_aakp_lzip_ar_func = NULL
 
resume_lzip_aakp_lzip_ar resume_lzip_aakp_lzip_ar_func = NULL
 
cancel_lzip_aakp_lzip_ar cancel_lzip_aakp_lzip_ar_func = NULL
 
compress_lzma_rspk_ar compress_lzma_rspk_ar_func = NULL
 
uncompress_lzma_rspk_ar uncompress_lzma_rspk_ar_func = NULL
 
get_progress_lzma_ar get_progress_lzma_ar_func = NULL
 
pause_lzma_aakp_lzma_ar pause_lzma_aakp_lzma_ar_func = NULL
 
resume_lzma_aakp_lzma_ar resume_lzma_aakp_lzma_ar_func = NULL
 
cancel_lzma_aakp_lzma_ar cancel_lzma_aakp_lzma_ar_func = NULL
 
compress_xz___rspk_ar compress_xz___rspk_ar_func = NULL
 
uncompress_xz___rspk_ar uncompress_xz___rspk_ar_func = NULL
 
get_progress_xz___ar get_progress_xz___ar_func = NULL
 
pause_xz___aakp_xz___ar pause_xz___aakp_xz___ar_func = NULL
 
resume_xz___aakp_xz___ar resume_xz___aakp_xz___ar_func = NULL
 
cancel_xz___aakp_xz___ar cancel_xz___aakp_xz___ar_func = NULL
 
compress_co___rspk_ar compress_co___rspk_ar_func = NULL
 
uncompress_co___rspk_ar uncompress_co___rspk_ar_func = NULL
 
get_progress_co___ar get_progress_co___ar_func = NULL
 
pause_co___aakp_co___ar pause_co___aakp_co___ar_func = NULL
 
resume_co___aakp_co___ar resume_co___aakp_co___ar_func = NULL
 
cancel_co___aakp_co___ar cancel_co___aakp_co___ar_func = NULL
 
compress_ju___rspk_ar compress_ju___rspk_ar_func = NULL
 
uncompress_ju___rspk_ar uncompress_ju___rspk_ar_func = NULL
 
get_progress_ju___ar get_progress_ju___ar_func = NULL
 
pause_ju___aakp_ju___ar pause_ju___aakp_ju___ar_func = NULL
 
resume_ju___aakp_ju___ar resume_ju___aakp_ju___ar_func = NULL
 
cancel_ju___aakp_ju___ar cancel_ju___aakp_ju___ar_func = NULL
 
compress_l4___rspk_ar compress_l4___rspk_ar_func = NULL
 
uncompress_l4___rspk_ar uncompress_l4___rspk_ar_func = NULL
 
get_progress_l4___ar get_progress_l4___ar_func = NULL
 
pause_l4___aakp_l4___ar pause_l4___aakp_l4___ar_func = NULL
 
resume_l4___aakp_l4___ar resume_l4___aakp_l4___ar_func = NULL
 
cancel_l4___aakp_l4___ar cancel_l4___aakp_l4___ar_func = NULL
 
compress_zs___rspk_ar compress_zs___rspk_ar_func = NULL
 
uncompress_zs___rspk_ar uncompress_zs___rspk_ar_func = NULL
 
get_progress_zs___ar get_progress_zs___ar_func = NULL
 
pause_zs___aakp_zs___ar pause_zs___aakp_zs___ar_func = NULL
 
resume_zs___aakp_zs___ar resume_zs___aakp_zs___ar_func = NULL
 
cancel_zs___aakp_zs___ar cancel_zs___aakp_zs___ar_func = NULL
 
compress_br___rspk_ar compress_br___rspk_ar_func = NULL
 
uncompress_br___rspk_ar uncompress_br___rspk_ar_func = NULL
 
get_progress_br___ar get_progress_br___ar_func = NULL
 
pause_br___aakp_br___ar pause_br___aakp_br___ar_func = NULL
 
resume_br___aakp_br___ar resume_br___aakp_br___ar_func = NULL
 
cancel_br___aakp_br___ar cancel_br___aakp_br___ar_func = NULL
 
compress_g2___rspk_ar compress_g2___rspk_ar_func = NULL
 
uncompress_g2___rspk_ar uncompress_g2___rspk_ar_func = NULL
 
get_progress_g2___ar get_progress_g2___ar_func = NULL
 
pause_g2___aakp_g2___ar pause_g2___aakp_g2___ar_func = NULL
 
resume_g2___aakp_g2___ar resume_g2___aakp_g2___ar_func = NULL
 
cancel_g2___aakp_g2___ar cancel_g2___aakp_g2___ar_func = NULL
 
compress_b3___rspk_ar compress_b3___rspk_ar_func = NULL
 
uncompress_b3___rspk_ar uncompress_b3___rspk_ar_func = NULL
 
get_progress_b3___ar get_progress_b3___ar_func = NULL
 
pause_b3___aakp_b3___ar pause_b3___aakp_b3___ar_func = NULL
 
resume_b3___aakp_b3___ar resume_b3___aakp_b3___ar_func = NULL
 
cancel_b3___aakp_b3___ar cancel_b3___aakp_b3___ar_func = NULL
 
compress_l3___rspk_ar compress_l3___rspk_ar_func = NULL
 
uncompress_l3___rspk_ar uncompress_l3___rspk_ar_func = NULL
 
get_progress_l3___ar get_progress_l3___ar_func = NULL
 
pause_l3___aakp_l3___ar pause_l3___aakp_l3___ar_func = NULL
 
resume_l3___aakp_l3___ar resume_l3___aakp_l3___ar_func = NULL
 
cancel_l3___aakp_l3___ar cancel_l3___aakp_l3___ar_func = NULL
 
compress_l5___rspk_ar compress_l5___rspk_ar_func = NULL
 
uncompress_l5___rspk_ar uncompress_l5___rspk_ar_func = NULL
 
get_progress_l5___ar get_progress_l5___ar_func = NULL
 
pause_l5___aakp_l5___ar pause_l5___aakp_l5___ar_func = NULL
 
resume_l5___aakp_l5___ar resume_l5___aakp_l5___ar_func = NULL
 
cancel_l5___aakp_l5___ar cancel_l5___aakp_l5___ar_func = NULL
 
compress_bb___rspk_ar compress_bb___rspk_ar_func = NULL
 
uncompress_bb___rspk_ar uncompress_bb___rspk_ar_func = NULL
 
get_progress_bb___ar get_progress_bb___ar_func = NULL
 
pause_bb___aakp_bb___ar pause_bb___aakp_bb___ar_func = NULL
 
resume_bb___aakp_bb___ar resume_bb___aakp_bb___ar_func = NULL
 
cancel_bb___aakp_bb___ar cancel_bb___aakp_bb___ar_func = NULL
 
compress_c5___rspk_ar compress_c5___rspk_ar_func = NULL
 
uncompress_c5___rspk_ar uncompress_c5___rspk_ar_func = NULL
 
get_progress_c5___ar get_progress_c5___ar_func = NULL
 
pause_c5___aakp_c5___ar pause_c5___aakp_c5___ar_func = NULL
 
resume_c5___aakp_c5___ar resume_c5___aakp_c5___ar_func = NULL
 
cancel_c5___aakp_c5___ar cancel_c5___aakp_c5___ar_func = NULL
 
get_tar_info_p get_tar_info_libarchive_func = NULL
 
int got_a_warning_ar = 0
 
int processed_itens_ar = 0
 
int numero_de_itens = 0
 
int folders_ar
 
int files_ar
 
char extracting_filename_ar [AMANDA__SIZE]
 
char warning_info [AMANDA__SIZE]
 
struct my_struct_for_list_ar_is_list_aak_is_list_
 
struct my_struct_for_list_ar_is_list_aak_inicio_is_list_
 
struct my_struct_for_list_ar_is_list_aak_pointer_is_list_
 
int has_itens_is_list_ = 0
 
int has_itens_copy_is_list_ = 0
 
struct my_struct_for_list_ar_is_extract_aak_is_extract_
 
struct my_struct_for_list_ar_is_extract_aak_inicio_is_extract_
 
struct my_struct_for_list_ar_is_extract_aak_pointer_is_extract_
 
int has_itens_is_extract_ = 0
 
int has_itens_copy_is_extract_ = 0
 
tar_list_function_ar my_func_ar_ = NULL
 
__int64 Size_k
 
char filename_k [AMANDA__SIZE]
 
char typeflag_ar [300]
 
int Day_k
 
int Hour_k
 
int Isdir_k
 
int Minute_k
 
int Month_k
 
int Numdir_k
 
int Numfiles_k
 
int Second_k
 
int Year_k
 
char * volume_label = NULL
 
char * continued_file_name = NULL
 
uintmax_t continued_file_size
 
uintmax_t continued_file_offset
 
enum archive_format current_format
 
enum archive_format archive_format
 
char extract_folder_final [AMANDA__SIZE]
 
union blockrecent_long_link
 
union blockrecent_long_name
 
size_t recent_long_name_blocks
 
union blockcurrent_header
 
size_t recent_long_link_blocks
 
char archive_name_array_filename [AMANDA__SIZE]
 
int fatal_exit_k = 0
 
bool time_to_start_writing = false
 
off_t records_read
 
off_t records_written
 
int warning_option = WARN_ALL
 
GLOBAL bool read_full_records_option
 
GLOBAL size_t record_size
 
GLOBAL int blocking_factor
 
GLOBAL int archive
 
GLOBAL size_t archive_names
 
GLOBAL bool seekable_archive
 
GLOBAL bool ignore_failed_read_option
 
GLOBAL struct tar_stat_info current_stat_info
 
GLOBAL bool incremental_option
 
GLOBAL struct timespec start_time
 
GLOBAL bool numeric_owner_option
 
union blockrecord_start
 
union blockrecord_end
 
union blockcurrent_block
 
do_something_k my_process_function = NULL
 
enum access_mode access_mode
 
char tar_file_ar_real [AMANDA__SIZE]
 
bool modo_e_duplo_ar = false
 
char copy_for_extract_ar [AMANDA__SIZE]
 
char temp_tar_file_ar [AMANDA__SIZE]
 
bool flag_to_delete_temp_ar = false
 
char patern_ar___ [20000]
 
int compression_mode_external_ar___
 
int recurse_in_subfolders_arp___
 
enum mode_is_include_or_exclude the__patern_ar__mode___
 
bool true_if_include_i = false
 
bool delete_if_true_i = false
 
char global_temp_folder_i [1027]
 

Detailed Description

tar like file compressor

Macro Definition Documentation

◆ __amandacall

#define __amandacall   __stdcall

◆ __valquiriacall

#define __valquiriacall   __fastcall

◆ _GL_SIGNED_TYPE_OR_EXPR

#define _GL_SIGNED_TYPE_OR_EXPR ( t)
Value:
TYPE_SIGNED(__typeof__(t))
#define TYPE_SIGNED(t)
Definition tar_1_33.c:3232

◆ AMANDA__SIZE

#define AMANDA__SIZE   ((32767 * 6) + 2)

The maximum size of an utf-8 encoded filename with the max limit of a file in Windows

◆ AMANDA__SIZE_w

#define AMANDA__SIZE_w   (32767)

The maximum size of Unicode characters in a path in Windows, Linux is 1024 characters as far I know

◆ AMANDA__SIZE_ww

#define AMANDA__SIZE_ww   ((32767 * 2) + 2)

◆ AMANDA_SIZE___

#define AMANDA_SIZE___   (1 << 17)

◆ ARP_ALLOW_MULTIPLE_PASSWORDS_

#define ARP_ALLOW_MULTIPLE_PASSWORDS_   0

◆ BUF_SIZE_ARP_I

#define BUF_SIZE_ARP_I   (sizeof(our_map_arp_i))

◆ DEBUG_MICROSOFT_AMANDA_S_SMART_APE_______LIKE_PEDRO_VALUE__

#define DEBUG_MICROSOFT_AMANDA_S_SMART_APE_______LIKE_PEDRO_VALUE__   ((0) /* if -1 not working, as usual... */)

◆ DEFAULT_BLOCKING

#define DEFAULT_BLOCKING   20

◆ DOUBLE_SLASH_IS_DISTINCT_ROOT_UNIX

#define DOUBLE_SLASH_IS_DISTINCT_ROOT_UNIX   0

◆ FALLTHROUGH

#define FALLTHROUGH   __attribute__((__fallthrough__))

◆ FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE_UNIX

#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE_UNIX   0

◆ FILE_SYSTEM_PREFIX_LEN_UNIX

#define FILE_SYSTEM_PREFIX_LEN_UNIX ( P)
Value:
0

◆ GID_FROM_HEADER

#define GID_FROM_HEADER ( where)
Value:
gid_from_header(where, sizeof(where))

◆ GLOBAL

#define GLOBAL

◆ INT_BITS_STRLEN_BOUND

#define INT_BITS_STRLEN_BOUND ( b)
Value:
(((b) * 146 + 484) / 485)
#define b(i)
Definition sha256.c:42

◆ INT_BUFSIZE_BOUND

#define INT_BUFSIZE_BOUND ( t)
Value:
#define INT_STRLEN_BOUND(t)
Definition tar_1_33.c:76

◆ INT_STRLEN_BOUND

#define INT_STRLEN_BOUND ( t)
Value:
#define _GL_SIGNED_TYPE_OR_EXPR(t)
Definition tar_1_33.c:74
#define INT_BITS_STRLEN_BOUND(b)
Definition tar_1_33.c:72
#define TYPE_WIDTH(t)
Definition tar_1_33.c:3233

◆ IS_ABSOLUTE_PATH_UNIX

#define IS_ABSOLUTE_PATH_UNIX ( P)
Value:
#define ISSLASH_UNIX(C)
Definition tar_1_33.c:5075
#define P(a, b, c, d, k, s, t)

◆ IS_PATH_WITH_DIR_UNIX

#define IS_PATH_WITH_DIR_UNIX ( P)
Value:
(strchr(P, '/') != NULL)
#define NULL
Definition getopt1.c:37

◆ IS_TAR_DLL_I

#define IS_TAR_DLL_I

◆ ISOCTAL

#define ISOCTAL ( c)
Value:
((c) >= '0' && (c) <= '7')
#define c(i)
Definition sha256.c:43

◆ ISODIGIT

#define ISODIGIT ( c)
Value:
((unsigned)(c) - '0' <= 7)

◆ ISSLASH_UNIX

#define ISSLASH_UNIX ( C)
Value:
((C) == '/')
#define C(x)
Definition crc_macros.h:25

◆ LG_256

#define LG_256   8

◆ LG_64

#define LG_64   6

◆ LG_8

#define LG_8   3

◆ MACHINE_ARP_

#define MACHINE_ARP_   "32"

◆ major

#define major ( device)
Value:
(device)

◆ MAJOR_FROM_HEADER

#define MAJOR_FROM_HEADER ( where)
Value:
major_from_header(where, sizeof(where))

◆ major_t

#define major_t   int

◆ makedev

#define makedev ( major,
minor )
Value:
(((major) << 8) | (minor))
#define major(device)
Definition tar_1_33.c:658
#define minor(device)
Definition tar_1_33.c:659

◆ minor

#define minor ( device)
Value:
(device)

◆ MINOR_FROM_HEADER

#define MINOR_FROM_HEADER ( where)
Value:
minor_from_header(where, sizeof(where))

◆ minor_t

#define minor_t   int

◆ MODE_FROM_HEADER

#define MODE_FROM_HEADER ( where,
hbits )
Value:
mode_from_header(where, sizeof(where), hbits)

◆ MODE_IS_ARP_DEBUG

#define MODE_IS_ARP_DEBUG   1

◆ NAME_FIELD_SIZE

#define NAME_FIELD_SIZE   100 /* look at this, it is too low even for 30 years ago */

◆ NMAGIC

#define NMAGIC   (sizeof(magic) / sizeof(magic[0]))

◆ obstack_chunk_alloc

#define obstack_chunk_alloc   xmalloc

◆ obstack_chunk_free

#define obstack_chunk_free   free

◆ OFF_FROM_HEADER

#define OFF_FROM_HEADER ( where)
Value:
off_from_header(where, sizeof(where))
off_t off_from_header(const char *p, size_t s)
Definition tar_1_33.c:5195

◆ S_IROTH

#define S_IROTH   (S_IRUSR >> 6)

◆ S_IRUSR

#define S_IRUSR   00400

◆ S_ISOFD

#define S_ISOFD ( p)
Value:
0

◆ S_ISOFL

#define S_ISOFL ( p)
Value:
0

◆ S_ISWHT

#define S_ISWHT ( m)
Value:
0

◆ S_IWOTH

#define S_IWOTH   (S_IWUSR >> 6)

◆ S_IWUSR

#define S_IWUSR   00200

◆ S_IXOTH

#define S_IXOTH   (S_IXUSR >> 6)

◆ S_IXUSR

#define S_IXUSR   00100

◆ TIME_FROM_HEADER

#define TIME_FROM_HEADER ( where)
Value:
time_from_header(where, sizeof(where))

◆ TYPE_MAXIMUM

#define TYPE_MAXIMUM ( t)
Value:
((t)(!TYPE_SIGNED(t) \
? (t) - 1 \
: ((((t)1 << (TYPE_WIDTH(t) - 2)) - 1) * 2 + 1)))

◆ TYPE_MINIMUM

#define TYPE_MINIMUM ( t)
Value:
((t)~TYPE_MAXIMUM(t))

◆ TYPE_SIGNED

#define TYPE_SIGNED ( t)
Value:
(!((t)0 < (t) - 1))

◆ TYPE_WIDTH

#define TYPE_WIDTH ( t)
Value:
(sizeof(t) * CHAR_BIT)

◆ UID_FROM_HEADER

#define UID_FROM_HEADER ( where)
Value:
uid_from_header(where, sizeof(where))

◆ UINTMAX_STRSIZE_BOUND

#define UINTMAX_STRSIZE_BOUND   INT_BUFSIZE_BOUND(uintmax_t)

◆ WARN_ALL

#define WARN_ALL   (~WARN_VERBOSE_WARNINGS)

◆ WARN_ALONE_ZERO_BLOCK

#define WARN_ALONE_ZERO_BLOCK   0x00000001

◆ WARN_BAD_DUMPDIR

#define WARN_BAD_DUMPDIR   0x00000002

◆ WARN_CACHEDIR

#define WARN_CACHEDIR   0x00000004

◆ WARN_CONTIGUOUS_CAST

#define WARN_CONTIGUOUS_CAST   0x00000008

◆ WARN_DECOMPRESS_PROGRAM

#define WARN_DECOMPRESS_PROGRAM   0x00080000

◆ WARN_EXISTING_FILE

#define WARN_EXISTING_FILE   0x00100000

◆ WARN_FAILED_READ

#define WARN_FAILED_READ   0x00800000

◆ WARN_FILE_CHANGED

#define WARN_FILE_CHANGED   0x00000010

◆ WARN_FILE_IGNORED

#define WARN_FILE_IGNORED   0x00000020

◆ WARN_FILE_REMOVED

#define WARN_FILE_REMOVED   0x00000040

◆ WARN_FILE_SHRANK

#define WARN_FILE_SHRANK   0x00000080

◆ WARN_FILE_UNCHANGED

#define WARN_FILE_UNCHANGED   0x00000100

◆ WARN_FILENAME_WITH_NULS

#define WARN_FILENAME_WITH_NULS   0x00000200

◆ WARN_IGNORE_ARCHIVE

#define WARN_IGNORE_ARCHIVE   0x00000400

◆ WARN_IGNORE_NEWER

#define WARN_IGNORE_NEWER   0x00000800

◆ WARN_NEW_DIRECTORY

#define WARN_NEW_DIRECTORY   0x00001000

◆ WARN_RECORD_SIZE

#define WARN_RECORD_SIZE   0x00400000

◆ WARN_RENAME_DIRECTORY

#define WARN_RENAME_DIRECTORY   0x00002000

◆ WARN_SYMLINK_CAST

#define WARN_SYMLINK_CAST   0x00004000

◆ WARN_TIMESTAMP

#define WARN_TIMESTAMP   0x00008000

◆ WARN_UNKNOWN_CAST

#define WARN_UNKNOWN_CAST   0x00010000

◆ WARN_UNKNOWN_KEYWORD

#define WARN_UNKNOWN_KEYWORD   0x00020000

◆ WARN_VERBOSE_WARNINGS

#define WARN_VERBOSE_WARNINGS
Value:
#define WARN_DECOMPRESS_PROGRAM
Definition tar_1_33.c:3264
#define WARN_RECORD_SIZE
Definition tar_1_33.c:3267
#define WARN_NEW_DIRECTORY
Definition tar_1_33.c:3257
#define WARN_RENAME_DIRECTORY
Definition tar_1_33.c:3258
#define WARN_EXISTING_FILE
Definition tar_1_33.c:3265

◆ WARN_XATTR_WRITE

#define WARN_XATTR_WRITE   0x00200000

◆ WARN_XDEV

#define WARN_XDEV   0x00040000

◆ WARNING_ENABLED

#define WARNING_ENABLED ( opt)
Value:
(warning_option & (opt))
int warning_option
Definition tar_1_33.c:3276

◆ WARNOPT

#define WARNOPT ( opt,
args )
Value:
do \
{ \
if (WARNING_ENABLED(opt)) \
WARN(args); \
} while (0)
#define WARNING_ENABLED(opt)
Definition tar_1_33.c:3278

◆ XHDR_GLOBAL

#define XHDR_GLOBAL   0x02

◆ XHDR_PROTECTED

#define XHDR_PROTECTED   0x01

◆ xmalloc

#define xmalloc   malloc

Typedef Documentation

◆ add_more_one_func

typedef void(* add_more_one_func) (char *)

◆ add_more_one_z_june_24_i

typedef void(__stdcall * add_more_one_z_june_24_i) (time_t atime_i, time_t mtime_i, time_t birthtime_i, int64_t filesize_i, int64_t file_offset_i, char *item_entry_i, bool is_dir_i, bool in_use_i, int64_t attributes_i)

◆ cancel_b3___aakp_b3___ar

typedef int(__stdcall * cancel_b3___aakp_b3___ar) (void)

◆ cancel_bb___aakp_bb___ar

typedef int(__stdcall * cancel_bb___aakp_bb___ar) (void)

◆ cancel_br___aakp_br___ar

typedef int(__stdcall * cancel_br___aakp_br___ar) (void)

◆ cancel_c5___aakp_c5___ar

typedef int(__stdcall * cancel_c5___aakp_c5___ar) (void)

◆ cancel_co___aakp_co___ar

typedef int(__stdcall * cancel_co___aakp_co___ar) (void)

◆ cancel_g2___aakp_g2___ar

typedef int(__stdcall * cancel_g2___aakp_g2___ar) (void)

◆ cancel_ju___aakp_ju___ar

typedef int(__stdcall * cancel_ju___aakp_ju___ar) (void)

◆ cancel_l3___aakp_l3___ar

typedef int(__stdcall * cancel_l3___aakp_l3___ar) (void)

◆ cancel_l4___aakp_l4___ar

typedef int(__stdcall * cancel_l4___aakp_l4___ar) (void)

◆ cancel_l5___aakp_l5___ar

typedef int(__stdcall * cancel_l5___aakp_l5___ar) (void)

◆ cancel_lzip_aakp_lzip_ar

typedef int(__stdcall * cancel_lzip_aakp_lzip_ar) (void)

◆ cancel_lzma_aakp_lzma_ar

typedef int(__stdcall * cancel_lzma_aakp_lzma_ar) (void)

◆ cancel_xz___aakp_xz___ar

typedef int(__stdcall * cancel_xz___aakp_xz___ar) (void)

◆ cancel_zs___aakp_zs___ar

typedef int(__stdcall * cancel_zs___aakp_zs___ar) (void)

◆ CancelCompress_bzip2_ar

typedef int(__stdcall * CancelCompress_bzip2_ar) (void)

◆ CancelExecution_arp_

typedef int(__stdcall * CancelExecution_arp_) (void)

◆ CancelExecution_gzip_ar

typedef void(__stdcall * CancelExecution_gzip_ar) (void)

◆ check_item_z_june_24_i

typedef int(__stdcall * check_item_z_june_24_i) (char *filename_utf8)

◆ compress_b3___rspk_ar

typedef int(__stdcall * compress_b3___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)

◆ compress_bb___rspk_ar

typedef int(__stdcall * compress_bb___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)

◆ compress_br___rspk_ar

typedef int(__stdcall * compress_br___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)

◆ Compress_bzip2_ar

typedef int(__stdcall * Compress_bzip2_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)

◆ compress_c5___rspk_ar

typedef int(__stdcall * compress_c5___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)

◆ compress_co___rspk_ar

typedef int(__stdcall * compress_co___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)

◆ compress_g2___rspk_ar

typedef int(__stdcall * compress_g2___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)

◆ Compress_gzip_ar

typedef int(__stdcall * Compress_gzip_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)

◆ compress_ju___rspk_ar

typedef int(__stdcall * compress_ju___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)

◆ compress_l3___rspk_ar

typedef int(__stdcall * compress_l3___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)

◆ compress_l4___rspk_ar

typedef int(__stdcall * compress_l4___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level)

◆ compress_l5___rspk_ar

typedef int(__stdcall * compress_l5___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int n_threads_z, char *temp_path_z)

◆ compress_lzip_rspk_ar

typedef int(__stdcall * compress_lzip_rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)

◆ compress_lzma_rspk_ar

typedef int(__stdcall * compress_lzma_rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel)

◆ compress_xz___rspk_ar

typedef int(__stdcall * compress_xz___rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel, int threads____z)

◆ compress_zs___rspk_ar

typedef int(__stdcall * compress_zs___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level, int threads_z)

◆ Decompress_bzip2_ar

typedef int(__stdcall * Decompress_bzip2_ar) (char *Inputfile, char *OutPutFile)

◆ decrypt_arp_

typedef int(* decrypt_arp_) (char *inputfile, char *outputfile, char *key, int64_t *the_arp_file_size, char *encryption_method_i, int *cores_S2_used_z)

◆ do_something_k

typedef void(* do_something_k) (void)

◆ encrypt_arp_

typedef int(* encrypt_arp_) (char *inputfile, char *outputfile, char *key, int is_rc4_arp, int ar__threads_z_v27)

◆ extract_to_file_i

typedef int(__stdcall * extract_to_file_i) (char *temp_path_i, bool enable_i, char *temp_file_i, init_playlist_z_june_24_i init_playlist_z_june_24_ii, add_more_one_z_june_24_i add_more_one_z_june_24_ii, check_item_z_june_24_i check_item_z_june_24_ii)

◆ get_progress_b3___ar

typedef int(__stdcall * get_progress_b3___ar) (void)

◆ get_progress_bb___ar

typedef int(__stdcall * get_progress_bb___ar) (void)

◆ get_progress_br___ar

typedef int(__stdcall * get_progress_br___ar) (void)

◆ get_progress_c5___ar

typedef int(__stdcall * get_progress_c5___ar) (void)

◆ get_progress_co___ar

typedef int(__stdcall * get_progress_co___ar) (void)

◆ get_progress_g2___ar

typedef int(__stdcall * get_progress_g2___ar) (void)

◆ get_progress_ju___ar

typedef int(__stdcall * get_progress_ju___ar) (void)

◆ get_progress_l3___ar

typedef int(__stdcall * get_progress_l3___ar) (void)

◆ get_progress_l4___ar

typedef int(__stdcall * get_progress_l4___ar) (void)

◆ get_progress_l5___ar

typedef int(__stdcall * get_progress_l5___ar) (void)

◆ get_progress_lzip_ar

typedef int(__stdcall * get_progress_lzip_ar) (void)

◆ get_progress_lzma_ar

typedef int(__stdcall * get_progress_lzma_ar) (void)

◆ get_progress_xz___ar

typedef int(__stdcall * get_progress_xz___ar) (void)

◆ get_progress_zs___ar

typedef int(__stdcall * get_progress_zs___ar) (void)

◆ get_tar_info_p

typedef int(__stdcall * get_tar_info_p) (int *Isdir_k_ar, int *Second_k_ar, int *Minute_k_ar, int *Hour_k_ar, int *Year_k_ar, int *Month_k_ar, int *Day_k_ar, __int64 *Size_k_ar, char *filename_k_ar, int *Numdir_k_ar, int *Numfiles_k_ar, char *typeflag_ar_)

◆ GetFinished_gzip_ar

typedef int(__stdcall * GetFinished_gzip_ar) (void)

◆ GetProgress_____arp_

typedef int(__stdcall * GetProgress_____arp_) (void)

◆ GetProgress_bzip2_ar

typedef int(__stdcall * GetProgress_bzip2_ar) (void)

◆ GetProgress_gzip_ar

typedef int(__stdcall * GetProgress_gzip_ar) (void)

◆ GetReturnValue_bzip2_ar

typedef int(__stdcall * GetReturnValue_bzip2_ar) (void)

◆ GetReturnValue_gzip_ar

typedef int(__stdcall * GetReturnValue_gzip_ar) (void)

◆ GetStatus_bzip2_ar

typedef int(__stdcall * GetStatus_bzip2_ar) (void)

◆ init_playlist_z_june_24_i

typedef int(__stdcall * init_playlist_z_june_24_i) (void)

◆ internal_progress_z_arp_

typedef int(__stdcall * internal_progress_z_arp_) (void)

◆ libarchive_close_p

typedef int(__stdcall * libarchive_close_p) (void)

◆ libarchive_create_archive_init_p

typedef int(__stdcall * libarchive_create_archive_init_p) (int archive_kind_p, char *file_utf_8_p, char *passphrase_p, char *compression_level_p, int number_of_threads_p_)

◆ libarchive_extract_entries_p

typedef int(__stdcall * libarchive_extract_entries_p) (char *filename_utf_8_p, char *password_p, tar_list_function_ar our_function_p, char *error_message_p, char *archive_format_p, char *dir_to_extract_i, char *extracting_filename_ar, char *warning_info, char *creating_folder_maria, bool *extract_pause__flag, bool *extract_cancel_flag, int *folders_ar, int *files_ar)

◆ libarchive_list_entries_p

typedef int(__stdcall * libarchive_list_entries_p) (char *filename_utf_8_p, char *password_p, tar_list_function_ar our_function_p, char *error_message_p, char *archive_format_p)

◆ libarchive_process_p

typedef int(__stdcall * libarchive_process_p) (char *new_entry_relative_p, char *new_entry_complete_p)

◆ meu_fn_pk

typedef int(__stdcall * meu_fn_pk) (int, int64_t)

◆ our_map_arp_i

typedef struct _amanda_i_ our_map_arp_i

◆ pause_b3___aakp_b3___ar

typedef int(__stdcall * pause_b3___aakp_b3___ar) (void)

◆ pause_bb___aakp_bb___ar

typedef int(__stdcall * pause_bb___aakp_bb___ar) (void)

◆ pause_br___aakp_br___ar

typedef int(__stdcall * pause_br___aakp_br___ar) (void)

◆ pause_c5___aakp_c5___ar

typedef int(__stdcall * pause_c5___aakp_c5___ar) (void)

◆ pause_co___aakp_co___ar

typedef int(__stdcall * pause_co___aakp_co___ar) (void)

◆ pause_g2___aakp_g2___ar

typedef int(__stdcall * pause_g2___aakp_g2___ar) (void)

◆ pause_ju___aakp_ju___ar

typedef int(__stdcall * pause_ju___aakp_ju___ar) (void)

◆ pause_l3___aakp_l3___ar

typedef int(__stdcall * pause_l3___aakp_l3___ar) (void)

◆ pause_l4___aakp_l4___ar

typedef int(__stdcall * pause_l4___aakp_l4___ar) (void)

◆ pause_l5___aakp_l5___ar

typedef int(__stdcall * pause_l5___aakp_l5___ar) (void)

◆ pause_lzip_aakp_lzip_ar

typedef int(__stdcall * pause_lzip_aakp_lzip_ar) (void)

◆ pause_lzma_aakp_lzma_ar

typedef int(__stdcall * pause_lzma_aakp_lzma_ar) (void)

◆ pause_xz___aakp_xz___ar

typedef int(__stdcall * pause_xz___aakp_xz___ar) (void)

◆ pause_zs___aakp_zs___ar

typedef int(__stdcall * pause_zs___aakp_zs___ar) (void)

◆ PauseCompress_bzip2_ar

typedef int(__stdcall * PauseCompress_bzip2_ar) (void)

◆ PauseExecution__arp_

typedef int(__stdcall * PauseExecution__arp_) (void)

◆ PauseExecution_gzip_ar

typedef void(__stdcall * PauseExecution_gzip_ar) (void)

◆ progress_extract_i

typedef int(__stdcall * progress_extract_i) (void)

◆ resume_b3___aakp_b3___ar

typedef int(__stdcall * resume_b3___aakp_b3___ar) (void)

◆ resume_bb___aakp_bb___ar

typedef int(__stdcall * resume_bb___aakp_bb___ar) (void)

◆ resume_br___aakp_br___ar

typedef int(__stdcall * resume_br___aakp_br___ar) (void)

◆ resume_c5___aakp_c5___ar

typedef int(__stdcall * resume_c5___aakp_c5___ar) (void)

◆ resume_co___aakp_co___ar

typedef int(__stdcall * resume_co___aakp_co___ar) (void)

◆ resume_g2___aakp_g2___ar

typedef int(__stdcall * resume_g2___aakp_g2___ar) (void)

◆ resume_ju___aakp_ju___ar

typedef int(__stdcall * resume_ju___aakp_ju___ar) (void)

◆ resume_l3___aakp_l3___ar

typedef int(__stdcall * resume_l3___aakp_l3___ar) (void)

◆ resume_l4___aakp_l4___ar

typedef int(__stdcall * resume_l4___aakp_l4___ar) (void)

◆ resume_l5___aakp_l5___ar

typedef int(__stdcall * resume_l5___aakp_l5___ar) (void)

◆ resume_lzip_aakp_lzip_ar

typedef int(__stdcall * resume_lzip_aakp_lzip_ar) (void)

◆ resume_lzma_aakp_lzma_ar

typedef int(__stdcall * resume_lzma_aakp_lzma_ar) (void)

◆ resume_xz___aakp_xz___ar

typedef int(__stdcall * resume_xz___aakp_xz___ar) (void)

◆ resume_zs___aakp_zs___ar

typedef int(__stdcall * resume_zs___aakp_zs___ar) (void)

◆ ResumeCompress_bzip2_ar

typedef int(__stdcall * ResumeCompress_bzip2_ar) (void)

◆ ResumeExecution_arp_

typedef int(__stdcall * ResumeExecution_arp_) (void)

◆ ResumeExecution_gzip_ar

typedef void(__stdcall * ResumeExecution_gzip_ar) (void)

◆ set_progress_p

typedef int(__stdcall * set_progress_p) (int64_t *pointer_value_p)

◆ tar_list_function_ar

typedef int(__stdcall * tar_list_function_ar) (int clear_flag_k)

◆ uncompress_b3___rspk_ar

typedef int(__stdcall * uncompress_b3___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)

◆ uncompress_bb___rspk_ar

typedef int(__stdcall * uncompress_bb___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)

◆ uncompress_br___rspk_ar

typedef int(__stdcall * uncompress_br___rspk_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_c5___rspk_ar

typedef int(__stdcall * uncompress_c5___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)

◆ uncompress_co___rspk_ar

typedef int(__stdcall * uncompress_co___rspk_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_g2___rspk_ar

typedef int(__stdcall * uncompress_g2___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)

◆ Uncompress_gzip_ar

typedef int(__stdcall * Uncompress_gzip_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_ju___rspk_ar

typedef int(__stdcall * uncompress_ju___rspk_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_l3___rspk_ar

typedef int(__stdcall * uncompress_l3___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)

◆ uncompress_l4___rspk_ar

typedef int(__stdcall * uncompress_l4___rspk_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_l5___rspk_ar

typedef int(__stdcall * uncompress_l5___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z)

◆ uncompress_lzip_rspk_ar

typedef int(__stdcall * uncompress_lzip_rspk_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_lzma_rspk_ar

typedef int(__stdcall * uncompress_lzma_rspk_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_xz___rspk_ar

typedef int(__stdcall * uncompress_xz___rspk_ar) (char *Inputfile, char *OutPutFile)

◆ uncompress_zs___rspk_ar

typedef int(__stdcall * uncompress_zs___rspk_ar) (char *Inputfile, char *OutPutFile)

◆ update_progress_arp_

typedef void(* update_progress_arp_) (int64_t *valor_a_atualizar_arp)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NAO_DEFINIDO_XCX 
MODO_EH_COMPRESS 
MODO_EH_UNCOMPRESS 

◆ access_mode

Enumerator
ACCESS_READ 
ACCESS_WRITE 
ACCESS_UPDATE 

◆ amanda_commands

Enumerator
AAKP_CLEAR 
AAKP_LIST_PROCESS 
AAKP_LIST_FINISH 
AAKP_EXTRACT_PROCESS 
AAKP_EXTRACT_FINISH 
AAKP_ERROR 
AAKP_CREATE_ERROR 
AAKP_CREATE_WARNING 
AAKP_CREATE_FINISH 
AAKP_CREATE_PROCESS 

◆ compress_type

Enumerator
ct_none 
ct_tar 
ct_compress 
ct_gzip 
ct_bzip2 
ct_lzip 
ct_lzma 
ct_lzop 
ct_xz 
ct_lz4 
ct_zstd 
ct_val 
ct_gzip2a 
ct_gzip2c 
ct_bzip3 
ct_lzop2 
ct_lz5 
ct_brotli2 
ct_compress2 

◆ compressed_formats

Enumerator
ct_compress_k 
ct_gzip_k 
ct_bzip2_k 
ct_lzip_k 
ct_lzma_k 
ct_lzop_k 
ct_xz_k 
ct_lz4_k 
ct_zstd_k 
ct_brotli_k 
ct_val_k 
ct_gzip2a_k 
ct_gzip2c_k 
ct_bzip3_k 
ct_lzop2_k 
ct_lz5_k 
ct_brotli2_k 
ct_compress2_k 

◆ dump_status

Enumerator
dump_status_ok 
dump_status_short 
dump_status_fail 
dump_status_not_implemented 

◆ read_header

Enumerator
HEADER_STILL_UNREAD 
HEADER_SUCCESS 
HEADER_SUCCESS_EXTENDED 
HEADER_ZERO_BLOCK 
HEADER_END_OF_FILE 
HEADER_FAILURE 

◆ read_header_mode

Enumerator
read_header_auto 
read_header_x_raw 
read_header_x_global 

Function Documentation

◆ add_more_one_is_amanda_update_()

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 )

To add a new item to the linked list, full support to wide paths...Ricardo

◆ add_more_one_is_extract_()

void add_more_one_is_extract_ ( char * extracting_filename_ar__,
char * warning_info_ar_,
char * creating_folder_maria__ )

To add one item to the linked list

Parameters
extracting_filename_ar__the filename as utf-8 being extracted

◆ add_more_one_is_list_()

void add_more_one_is_list_ ( int Isdir_k_ar,
int Second_k_ar,
int Minute_k_ar,
int Hour_k_ar,
int Year_k_ar,
int Month_k_ar,
int Day_k_ar,
__int64 Size_k_ar,
char * filename_k_ar,
int Numdir_k_ar,
int Numfiles_k_ar,
char * typeflag_ar_ )

To add one item to the linked list

Parameters
filename_k_arthe filename as utf-8

◆ all_names_found()

bool all_names_found ( struct tar_stat_info * p)

Tar related function, version 1.34, slightly modified

◆ amanda_asciitowide_1_()

WCHAR * amanda_asciitowide_1_ ( char * pUTF8,
WCHAR * ar_temp )

To convert an utf-8 encoded filename to a wide string (WCHAR *), we . provide two functions that are exactly the same because someone may use it in multi-thread code

Parameters
pUTF8the input utf-8 encoded filename
Returns
the static allocated WCHAR array with the filename as wide string

◆ amanda_utf8towide_2_()

WCHAR * amanda_utf8towide_2_ ( char * pUTF8,
WCHAR * ar_temp )

To convert an utf-8 encoded filename to a wide string (WCHAR *) two functions with the same code are required for multi-thread code even if we don't use it here this mode

Parameters
pUTF8the input utf-8 encoded filename
Returns
the static allocated WCHAR array with the filename as wide string

◆ ar_gettemppath_z()

char * ar_gettemppath_z ( void )

This function will return the temp folder being used, if not set with set_temp_folder_z it will be the user temp folder

Returns
a string with the current temp folder

◆ archive_read_error()

void archive_read_error ( void )

◆ assign_string()

void assign_string ( char ** string,
const char * value )

Tar related function, version 1.34 Assign STRING to a copy of VALUE if not zero, or to zero. If STRING was nonzero, it is freed first.

◆ assign_string_n()

void assign_string_n ( char ** string,
const char * value,
size_t n )

Tar related function, version 1.34

◆ available_space_after()

size_t available_space_after ( union block * pointer)

Tar related function, version 1.34 Return the number of bytes comprising the space between POINTER through the end of the current buffer of blocks. This space is available for filling with data, or taking data from. POINTER is usually (but not always) the result of previous find_next_block call.

◆ base_len_unix()

size_t base_len_unix ( char const * name)

Tar related function, version 1.34, slightly modified

◆ cancel_sftp()

int __stdcall cancel_sftp ( void )

To cancel the SFTP process, if you regreted it

Returns
0

◆ check_brotli_file_aakp()

int check_brotli_file_aakp ( char * data_rspk)

This function will check whether the extension of the tar file is .br

◆ check_iso_file_aakp()

int check_iso_file_aakp ( char * data_rspk)

This function will check whether the file is an .iso file

◆ check_lzma_file_aakp()

int check_lzma_file_aakp ( char * data_rspk)

This function will check whether the file is a .lzma file

◆ check_mislaine_encrypted()

void check_mislaine_encrypted ( void )

It will check whether the file is encrypted, only work for Tar files since VAL files already have the information about encryption embedded on it, only Tar files don't have a standard way to know whether it is encrypted

Returns
the return values goes in the global variables is_mislaine_encrypted_ and encryption_method_arp

◆ check_temp_folder_passed_i()

bool check_temp_folder_passed_i ( char * temp_folder_i,
char * new_entry_i )

◆ check_valid_path_i()

bool check_valid_path_i ( char * data_i)

To see whether the path looks valid, wide path capable...my ric

◆ clean_list__ar_is_amanda_update_()

int clean_list__ar_is_amanda_update_ ( void )

To cleanup the linked list when it is not in use anymore

◆ clean_list__ar_is_extract_()

int clean_list__ar_is_extract_ ( void )

To cleanup the linked list

Returns
1 if it has more items, 0 otherwise

◆ clean_list__ar_is_list_()

int clean_list__ar_is_list_ ( void )

To cleanup the linked list when it is not in use anymore

◆ clean_list_itens_is_amanda_update_()

int clean_list_itens_is_amanda_update_ ( void )

To cleanup the linked list when it is not in use anymore

◆ clean_list_itens_is_list_()

int clean_list_itens_is_list_ ( void )

To cleanup the linked list when it is not required anymore

Returns
1 if it have more items, or 0 for no more items

◆ close_archive()

void close_archive ( void )

Tar related function, version 1.34, slightly modified

◆ close_diag()

void close_diag ( char const * name)

Tar related function, version 1.34

◆ close_error() [1/2]

void close_error ( __attribute__((unused)) char const * name)

Tar related function, version 1.34, slightly modified

◆ close_error() [2/2]

void close_error ( char const * name)

◆ close_warn() [1/2]

void close_warn ( __attribute__((unused)) char const * name)

Tar related function, version 1.34, slightly modified

◆ close_warn() [2/2]

void close_warn ( char const * name)

◆ convert_char_to_wchar_idiot_z()

void convert_char_to_wchar_idiot_z ( char * input_z,
WCHAR * output_z )

We will patent these two functions and charge roylaties...

◆ convert_wchar_to_char_jerk_z()

void convert_wchar_to_char_jerk_z ( WCHAR * input_z,
char * output_z )

We will patent it...

◆ cpu_speed_z()

char *__amandacall cpu_speed_z ( void )

It will retrieve the CPU speed as a string

◆ current_block_ordinal()

off_t current_block_ordinal ( void )

Tar related function, version 1.34

◆ decode_header()

void decode_header ( union block * header,
struct tar_stat_info * stat_info,
enum archive_format * format_pointer,
int do_user_group )

Tar related function, version 1.34

Decode things from a file HEADER block into STAT_INFO, also setting FORMAT_POINTER depending on the header block format. If DO_USER_GROUP, decode the user/group information (this is useful for extraction, but waste time when merely listing).

read_header() has already decoded the checksum and length, so we don't.

This routine should not be called twice for the same block, since the two calls might use different DO_USER_GROUP values and thus might end up with different uid/gid for the two calls. If anybody wants the uid/gid they should decode it first, and other callers should decode it without uid/gid before calling a routine, e.g. print_header, that assumes decoded data.

◆ decompression_cores_used__z()

int __amandacall decompression_cores_used__z ( void )

It will return the current threads or cores decompressing a file, only usefull at runtime during an extraction, notice that if the file was compressed with 3 cores then it will decompress with 3 cores even if you have 8 or more

Returns
the cores or threads

◆ decrypt_arp()

int decrypt_arp ( char * inputfile,
char * outputfile,
char * key,
int64_t * the_arp_file_size,
char * encryption_method_i,
int * cores_S2 )

To decrypt the file

Parameters
inputfilethe utf8 encoded input file to decrypt
outputfilethe utf-8 encoded output file
keyup to 32 bytes password to be used
the_arp_file_sizeit is a pointer to a int64_t variable that will receive the size of the original file detected from the encrypted file, not in use at this time, this value is just ignored
Returns
0 if no error occurred, if an erroneous password was used it will not return 0

◆ detect_multi_volume_p()

int __fastcall detect_multi_volume_p ( char * filename_utf_8_p,
char * adjusted_filename_in_temp_p )

◆ enable_encryption()

void __stdcall enable_encryption ( int enable_arp)

To enable or disable the encryption, if possible use the new encryption mode because the old mode will try to compress an encrypted file what is impossible, it was a programmer (me) mistake

Parameters
enable_arpto enable or disable

◆ encrypt_arp()

int encrypt_arp ( char * inputfile,
char * outputfile,
char * key,
int encryption_method_z,
int ar_threads_z_v27_ )

To encrypt the file, full support to wide paths...Ricardo

Parameters
inputfilethe utf-8 input file
outputfilethe utf-8 output file
keythe up to 32 bytes password, passwords larger than 32 bytes will be truncated
encryption_method_zthe encryption method to be used, see file arp.h the enum encryption_mode_arp for valid modes
Returns
0 if ok

◆ extract_function_ar_ok()

int __stdcall extract_function_ar_ok ( int clear_flag_k)

Function to control the extraction flags and calls to the required functions

Parameters
clear_flag_kthe flag to be used
Returns
always 0

◆ extract_tar_file_ar()

int __stdcall extract_tar_file_ar ( char * tar_file_ar,
char * destination_folder_ar )

It will extract the tar file 'tar_file_ar' an utf-8 encoded file

Parameters
tar_file_arthe tar file
destination_folder_arthe destination path, if it doesnot exist it will be created
Returns
1, 2 or 3 on error, 0 otherwise

◆ ExtractCancel_ar()

int __stdcall ExtractCancel_ar ( void )

It will cancel the extraction process

◆ ExtractPause_ar()

int __stdcall ExtractPause_ar ( void )

It will pause the extraction process

◆ ExtractResume_ar()

int __stdcall ExtractResume_ar ( void )

It will resume the extraction process

◆ feline_read_xml()

int feline_read_xml ( char * filename_utf8_feline,
char * root__________feline,
char * node__________feline,
char * attribute_____feline,
char * out_data______feline )

◆ feline_write_xml()

int feline_write_xml ( char * filename_utf8_feline,
char * root__________feline,
char * node__________feline,
char * attribute_____feline,
char * in_data_______feline_ )

◆ file_copy_i()

int file_copy_i ( char * input_i,
char * out_put_i )

◆ FileTime_to_POSIX_m()

LONGLONG FileTime_to_POSIX_m ( FILETIME ft)

◆ find_next_block()

union block * find_next_block ( void )

Tar related function, version 1.34 Return the location of the next available input or output block. Return zero for EOF. Once we have returned zero, we just keep returning it, to avoid accidentally going on to the next file on the tape.

◆ fixed_abs()

int fixed_abs ( int value_to_fix)

◆ flush_archive()

void flush_archive ( void )

Tar related function, version 1.34 Flush the current buffer to/from the archive.

◆ flush_read()

void flush_read ( void )

Tar related function, version 1.34

◆ get__settings_arp()

int __stdcall get__settings_arp ( char * key_arp_z,
char * data_arp_z,
int output_len_z )

It will retrieve the settings from the ar_tar_process.ini

Parameters
key_arpthe ini key name
data_arpthe output variable, "" if the data is empty or inexistent
Returns
0 if ok ;-)

◆ get_ava_name()

char * get_ava_name ( void )

Get the ava name object, or the name of the xml file to save and restory sample code informations required, only the sample project need these functions.

Returns
char*

◆ get_bucaneiro_tick()

double get_bucaneiro_tick ( void )

Function to retrieve the elapsed time very accurate as milliseconds, useful for benchmarks

◆ get_DLL_mode_m()

int __stdcall get_DLL_mode_m ( char * mode_j)

◆ get_error_message()

void __stdcall get_error_message ( char * data_ar)

To retrieve the last error message, all errors have a description that can help debug the problem

◆ get_files_pk()

int __stdcall get_files_pk ( char * files_pk,
char * date_pk )

◆ get_key_fingerprint_z()

int __stdcall get_key_fingerprint_z ( char * key_z)

Get the key fingerprint from the SFTP connection, obviously only available after the handshake of the SFTP.

Parameters
key_zthe key
Returns
int always 0

◆ get_last_process_information_ar_is_extract_()

int __stdcall get_last_process_information_ar_is_extract_ ( char * extracting_filename_ar__,
char * creating_folder_maria__,
char * warning_info__,
int * Folders_ar,
int * Files_ar )

To get one item from the linked list

Parameters
extracting_filename_ar__the filename as utf-8
Returns
1 if it has more items, 0 otherwise

◆ get_list__itens__is_list_()

int __stdcall get_list__itens__is_list_ ( char * filename_k_ar,
char * typeflag_ar_,
int * Isdir_k_ar,
int * Second_k_ar,
int * Minute_k_ar,
int * Hour_k_ar,
int * Year_k_ar,
int * Month_k_ar,
int * Day_k_ar,
int64_t * Size_k_ar,
int * Numdir_k_ar,
int * Numfiles_k_ar,
int output_len_z )

To retrieve one item from the linked list

Parameters
filename_k_aris the filename as utf-8
Returns
1 if it has more items or 0 otherwise

◆ get_list_itens_is_extract_()

int get_list_itens_is_extract_ ( )

To remove one item from the linked list

Returns
1 if it has more items, 0 otherwise

◆ get_listview_progress_arp()

int __stdcall get_listview_progress_arp ( void )

To get the progress value for the ListView being populated

Returns
the progress value, 100% == 10000

◆ get_rand()

int __stdcall get_rand ( int min,
int max )

To get a randomic number between min and max inclusive, seed is automatic loaded during the first call

◆ get_remote_directory_z()

int __stdcall get_remote_directory_z ( char * path_z)

It will return the current remote path, just to know whether the correct path was set, as an example if the remote path don�t exist you may think that it was set correctly

Parameters
path_zthe variable that will receive the remote path information, suggested size 1024

◆ get_sftp_return_value_z()

int __stdcall get_sftp_return_value_z ( void )

It will return the error code returned by the call to the main SFTP function call pass_sftp_data_z

Returns
the error value, 0 if ok

◆ get_tar_format_arp()

int __stdcall get_tar_format_arp ( char * format_arp)

It will return the Tar format of the loaded file

Parameters
format_arpthe variable that will return the string with the format description, it is very informative

◆ get_tar_info_ar()

void __stdcall get_tar_info_ar ( int * Isdir_k_ar,
int * Second_k_ar,
int * Minute_k_ar,
int * Hour_k_ar,
int * Year_k_ar,
int * Month_k_ar,
int * Day_k_ar,
__int64 * Size_k_ar,
char * filename_k_ar,
int * Numdir_k_ar,
int * Numfiles_k_ar,
char * typeflag_ar_ )

Function to retrieve the Tar file informations

Parameters
filename_k_arthe name of the file inside the Tar file, utf-8 encoded

◆ get_timestamp_arp()

void get_timestamp_arp ( char * file_arp,
__time64_t * s_arp,
VAL_data * VAL_data_arp )

Function to retrieve the file timestamp, fixed version, _stat and _wstat cannot be used due to internal bug, full support to wide paths Ricardo...

◆ GetExtrationProgress_ar()

int __stdcall GetExtrationProgress_ar ( void )

It will retrieve the extraction progress

Returns
the value that can be a slice of 0 to 10000, 10000 == 100%

◆ getfilesize_ar()

__int64 getfilesize_ar ( char * infile_ar)

To get the file size, filename is utf-8

Parameters
infile_arthe input file
Returns
the size of the file or 0 in case of error or if the file is empty, if you need to know whether the file do exist use ispathfile function

◆ GetLastWriteTime_complete_arp()

BOOL GetLastWriteTime_complete_arp ( HANDLE hFile,
char * lpszString_amanda,
__attribute__((unused)) DWORD dwSize,
__time64_t * s_arp,
VAL_data * VAL_data_arp )

Function to retrieve the file timestamp information, it is required because _stat and _wstat are buggy

◆ GetLastWriteTime_complete_arp_v27()

BOOL GetLastWriteTime_complete_arp_v27 ( HANDLE hFile,
char * lpszString_amanda,
__attribute__((unused)) DWORD dwSize,
__time64_t * s_arp,
VAL_data * VAL_data_arp )

Function to retrieve the file timestamp information, it is required because _stat and _wstat are buggy

◆ GetListProgress_ar()

int __stdcall GetListProgress_ar ( void )

It will return the progress of the list process, 0 for the moment

Returns
0 for the moment

◆ getpagesize()

int getpagesize ( void )

It will retrieve in windows the pagesize

◆ getpor_10000()

int getpor_10000 ( int max,
int fatia )

It will return the percentage of the given value not as 100 but 10000, 10000 == 100%

◆ getpor_10000_int64_t_ar()

int getpor_10000_int64_t_ar ( int64_t max,
int64_t fatia )

It will return a slice of 10000 for the percentage between max and fatia, 100% == 10000, it is required to the progress information to be smooth

Parameters
max: the maximum value
fatia: the slice of the max value

◆ GetReturnValueFromList()

int __stdcall GetReturnValueFromList ( void )

To get the return value for the list process

◆ gname_to_gid() [1/2]

int gname_to_gid ( __attribute__((unused)) char const * gname,
__attribute__((unused)) short * gidp )

Tar related function, version 1.34, slightly modified

◆ gname_to_gid() [2/2]

int gname_to_gid ( char const * gname,
short * gidp )

◆ init_psftp_arp()

void init_psftp_arp ( void )

◆ init_rsp_arp_encrypt_arp()

void init_rsp_arp_encrypt_arp ( void )

To init the encrypt DLL, if you for some unknown reason need to hide information on your PC, like me

Returns
void...

◆ Initial_Progress_z()

int __stdcall Initial_Progress_z ( void )

If the file is compressed by one of the 16 compressors supported this function will return the progress of the initial uncompression call

Returns
the 0 to 10000 value referred to the progress, 10000 == 100%, as you may guess

◆ inittimer2()

double inittimer2 ( int value)

To benchmark code execution, it will say in seconds and milliseconds the time passed

Parameters
valueif 0 it will initialize the internal time position, if 1 it will return the time elapsed

◆ internal_progress_z()

int internal_progress_z ( void )

To retrieve the progress information for the encrypt or decrypt process, before loading a tar or VAL file if it is compressed it needs to uncompress it and this is the progress of this decompression

Returns
0 to 10000, 10000 == 100%

◆ is_sftp_running_z()

int __stdcall is_sftp_running_z ( void )

After a call to pass_sftp_data_z it will return a value indicating whether the SFTP code is sending the file or if it was finished

Returns
0 if not running, 1 otherwise

◆ IsListRunning()

int __stdcall IsListRunning ( void )

To know whether the list process is running

◆ ispathfile()

int ispathfile ( char * path)

It will test the utf-8 encoded path to see if it do exist and is a file

Parameters
pathutf-8 encoded path to test
Returns
0 if the path is not a file or valid, 1 if it is a readable file

◆ last_component()

char * last_component ( char const * name)

Tar related function, version 1.34

◆ last_component_unix()

char * last_component_unix ( char const * name)

Tar related function, version 1.34, slightly modified

◆ lffilesize_dl()

__int64 lffilesize_dl ( const char * szFileName)

default function to get the size of files with Unicode support

Parameters
szFileNameutf-8 encoded file
Returns
__int64 the size of the file or 0

◆ libarchive_extract_tar_file_ar()

int __stdcall libarchive_extract_tar_file_ar ( char * tar_file_ar,
char * destination_folder_ar )

Version 5.3.8 and above have the embedded libarchive (https://libarchive.org) on it
then it supports many other formats that Parolin cannot handle like zip, 7zip, cab
Notice that rar and rar5 are disabled for the moment due to buggy handling of Unicode
characters, it will be reenabled in the future
The formats that libarchive can create are very well tested and are the suggested
formats to be used at this moment

Parameters
tar_file_arthe compressed file to extract, if not supported an error will be
raised
Need to be a complete path (not relative)
Anyway an error will be returned in case of problems
destination_folder_arthe destination folder, if it doesnot exist it will be created
Cannot be relative
Returns
0 if no error, an error otherwise, see the C# sample project

◆ libarchive_list_tar_file_ar()

int __stdcall libarchive_list_tar_file_ar ( char * tar_file_ar)

New support function to libarchive, to be used with version 5.3.8 and above
For the moment the formats that are disable due to bugs are rar and rar5
Soon these formats will be enabled, we only need to track down these problems
If the format is not supported an error will occur
Notice that the formats that are handled correctly for the moment are the
formats that libarchive can create
But you can check whether the not tested formats are working correctly
Soon all formats supported by libarchive will be fully tested, the
major problem is the handling of Unicode windows characters

Parameters
tar_file_arthe tar or other format file, cannot be relative, it need
to be a complete path
Returns
0 if no error, or an error otherwise

◆ libarchive_update_archive_ar_v2()

int __stdcall libarchive_update_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_char_i_ )

This is the function to update a libarchive based file with new entries

Parameters
tar_filename_arthe compressed file to update
path_with_the_files_arthe folder from where the files will be read
patern_arthe files or wildcards to use for file selection
to include all .ini and .txt files use "*.ini *.txt", I am sure that you
understood
compression_mode_external_arthe compression method to be used
For the moment the allowed values are:
P_MODE_IS_ZIP__NO_PASSWORD
P_MODE_IS_ZIP__ZIPCRYPTO
P_MODE_IS_ZIP__AES_128
P_MODE_IS_ZIP__AES_256
P_MODE_IS_7ZIP
P_MODE_IS_ISO9660
P_MODE_IS_TAR
P_MODE_IS_GNUTAR
P_MODE_IS_V7TAR
P_MODE_IS_TAR_GZIP
P_MODE_IS_TAR_BZIP2
P_MODE_IS_TAR_XZ
P_MODE_IS_GNUTAR_GZIP
P_MODE_IS_GNUTAR_BZIP2
P_MODE_IS_GNUTAR_XZ
P_MODE_IS_V7TAR_GZIP
P_MODE_IS_V7TAR_BZIP2
P_MODE_IS_V7TAR_XZ
recurse_in_subfolders_arpwhether it will recurse on subfolders
the__patern_ar__modewhether it will include the files or exclude it
based on the argument "patern_ar"
compression_level_char_i_the compression level to be used
for standard compression level use "6"
Returns
0 if no error, if not the error and a string with the description of the error can be accessed, after a call to this function you need to call GetStatus_ar() to wait for the end of the execution and GetReturnValue_ar() to know whether the update occurred without problems and if problems occurred you can call get_error_message to get the error information

◆ libarchive_update_archive_ar_v2_internal()

int __stdcall libarchive_update_archive_ar_v2_internal ( 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 )

Internal libarchive based function, see libarchive_update_archive_ar_v2

◆ list_archive()

void list_archive ( void )

Tar related function, version 1.34, slightly modified

◆ list_function_ar_ok()

int __stdcall list_function_ar_ok ( int clear_flag_k)

Function to control the list process

Parameters
clear_flag_kthe flag to be used
Returns
always 0

◆ list_tar_file_ar()

int __stdcall list_tar_file_ar ( char * tar_file_ar)

This function will list the information for a given Tar file

◆ memory_usage__z()

int __amandacall memory_usage__z ( char * data_z)

It will return the amount of memory that is being used by the whole application using the Tar DLL

Parameters
data_zthe string that will receive the information

◆ memory_usage__z2()

int __stdcall memory_usage__z2 ( char * data_z)

This function will retrieve the actual memory usage of the process using the rsppmp3 DLL

◆ mv_begin_read()

void mv_begin_read ( struct tar_stat_info * st)

Tar related function, version 1.34

◆ mv_begin_write() [1/2]

void mv_begin_write ( __attribute__((unused)) const char * file_name,
__attribute__((unused)) off_t totsize,
__attribute__((unused)) off_t sizeleft )

Tar related function, version 1.34, slightly modified

◆ mv_begin_write() [2/2]

void mv_begin_write ( const char * file_name,
off_t totsize,
off_t sizeleft )

◆ mv_end()

void mv_end ( void )

Tar related function, version 1.34, slightly modified

◆ mv_size_left()

void mv_size_left ( off_t size)

Tar related function, version 1.34

◆ my_thread_function_v27()

unsigned __stdcall my_thread_function_v27 ( __attribute__((unused)) void * my_argument_z)

◆ off_from_header()

off_t off_from_header ( const char * p,
size_t s )

Tar related function, version 1.34

◆ old_ini_get()

int old_ini_get ( char * key_arp,
char * data_arp,
char * if_has_data_use_this_z,
int output_len_z )

Function to read from standard Windows ini files
These daus we are usinf XML but in some cases when internal
debug mode is used an ini file is used.

Parameters
key_arpthe key of the ini file
data_arpwhere the data arrives
if_has_data_use_this_zif it has data the path of the ini file
passed will be this and not the detected path of the ini file
output_len_zthe max size to write to the data_arp variable
if more data is available it will be truncated, you are warned
Returns
always 0

◆ old_ini_write()

int old_ini_write ( char * key_arp_z,
char * data_arp_z,
char * if_has_data_use_this_z )

This will write to a standard Windows ini file.

Parameters
key_arp_zthe key of the ini file
data_arp_zthe data to write
if_has_data_use_this_zif it has data the path of the
ini file will be this, and ini files path cannot be relative, it
need to be absolute
Returns
always 0 as you may expect

◆ open_archive()

void open_archive ( enum access_mode wanted_access)

Tar related function, version 1.34, slightly modified

◆ open_diag()

void open_diag ( char const * name)

Tar related function, version 1.34, slightly modified

◆ open_error() [1/2]

void open_error ( __attribute__((unused)) char const * name)

Tar related function, version 1.34, slightly modified

◆ open_error() [2/2]

void open_error ( char const * name)

◆ open_warn() [1/2]

void open_warn ( __attribute__((unused)) char const * name)

Tar related function, version 1.34, slightly modified

◆ open_warn() [2/2]

void open_warn ( char const * name)

◆ page_aligned_alloc()

void * page_aligned_alloc ( void ** ptr,
size_t size )

Tar related function, version 1.34 Return the address of a page-aligned buffer of at least SIZE bytes. The caller should free *PTR when done with the buffer.

◆ pass_password()

void __stdcall pass_password ( char * the_pass_arp_,
char * the_pass_arp_as_utf_8_i_ )

To pass the password to the DLL, if it is not called the password will be "" or an empty string

Parameters
the_pass_arp_the input password

◆ pass_sftp_data_z()

int __stdcall pass_sftp_data_z ( char * remote_path_z,
char * user_name_z,
char * password_z,
char * host_z,
char * local_file )

To make a call to the SFTP code, sending a local file to the remote path

Parameters
remote_path_zthe remote path example: /htdocs
user_name_zthe SFTP session user name example: amandaricardo
password_zthe SFTP session password example: aakp
host_zthe SFTP host, example: example: web.sf.net
local_filethe local file to upload example: c:\upload\jpeg\ale.jpg
Returns
it will return 0 if ok, 1 otherwise, notice that you need to call get_sftp_return_value_z() to know what is the return value for the SFTP upload progress, see the sample project to an example

◆ pause_sftp()

int __stdcall pause_sftp ( void )

To pause the SFTP process, but then the server may close the connection after the timeout passed

Returns
0

◆ pedro_dprintf()

void pedro_dprintf ( int amanda_level,
char * format,
... )
extern

◆ pedro_dprintf2()

void pedro_dprintf2 ( int amanda_level,
char * format,
... )

◆ pedro_dprintfW()

void pedro_dprintfW ( int amanda_level,
wchar_t * format,
... )
extern

◆ permissive_name_m_()

wchar_t * permissive_name_m_ ( const wchar_t * wname,
WCHAR * ar_temp )

To make the path wide mode aware, stolen from libarchive

15/september/2021 10:14, last visit 16/09/2021 22:36 by bhond...

◆ permissive_name_m_v27()

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 when this function is required

Parameters
wnamethe Unicode path to convert to a wide aware path
ar_temptemporary space
Returns
wchar_t* the modified path

◆ print_header()

void print_header ( struct tar_stat_info * st,
union block * blk,
off_t block_ordinal )

Tar related function, version 1.34, slightly modified

◆ printf_time()

void printf_time ( time_t s_arp,
__attribute__((unused)) char * file_arp )

To convert timestamp for file, as far I know not in use these days, it was only for debug purposes

◆ process_folder_pk()

int __stdcall process_folder_pk ( char * folder_pk,
meu_fn_pk meu_pk )

◆ process_iso()

int __stdcall process_iso ( __attribute__((unused)) int true_if_it_is_extract_ar,
__attribute__((unused)) char * tar_file_ar )

(Not in use anymore) This function will list or extract an iso file

Parameters
true_if_it_is_extract_ar1 if it is extract, 0 if it is list process
tar_file_arthe iso file utf-8 encoded
Returns
0 if ok, non 0 if an error occur, see the function that get the error message for the function

◆ process_tar()

int __stdcall process_tar ( int true_if_it_is_extract_ar,
char * tar_file_ar,
tar_list_function_ar my_func__ )

It will process the tar file for list or extraction

Parameters
true_if_it_is_extract_arif 0 it is list, if 1 it is extraction
tar_file_arthe Tar file to process, can be Tar or VAL format in all 16 compression formats that are most used
my_func__the internal function for the process, not user selected

◆ progress_sftp()

int __stdcall progress_sftp ( void )

To retrieve the current position of the SFTP upload process

Returns
0 to 10000, 10000 = 100%, to know perfectly where is the progress position, if you are demanding like me

◆ ptr_align()

void * ptr_align ( void * ptr,
size_t alignment )

Tar related function, version 1.34 Return PTR, aligned upward to the next multiple of ALIGNMENT. ALIGNMENT must be nonzero. The caller must arrange for ((char *) PTR) through ((char *) PTR + ALIGNMENT - 1) to be addressable locations.

◆ read_header()

enum read_header read_header ( union block ** return_block,
struct tar_stat_info * info,
enum read_header_mode mode )

Tar related function, version 1.34

◆ read_header_old_1_32()

enum read_header read_header_old_1_32 ( union block ** return_block,
struct tar_stat_info * info,
enum read_header_mode mode )

Tar related function, version 1.34

◆ read_xml_z()

int read_xml_z ( char * key_name_z,
char * data_z,
int output_len_z )

To read a XML file, it is simple then it is amazingly fast

Parameters
key_name_zthe subnode from where the data will be read
if inexistent an empty string will return.
data_zwhere the data arrives, if it do exist in the XML file, as you
may expect
output_len_zthe size available to write in the data_z buffer
It will not write more than output_len_z bytes (chars)
Returns
0 if no error, or an error otherwise

◆ read_xml_z_amanda_s_smart_ape()

int __stdcall read_xml_z_amanda_s_smart_ape ( char * filename_amanda_s_smart_ape,
char * key_name_z,
char * data_z,
int output_len_z )

◆ remove_permissive_name_m_()

wchar_t * remove_permissive_name_m_ ( wchar_t * wname,
WCHAR * ar_temp )

as the name says it will convert a wide characters (up to 32767 characters) path to a standard path (MAX_PATH as the maximum size)

Parameters
wnamethe input wide path ( not unicode, it is a path up to the windows limit path of 32767 characters, you can read more about it in the Microsoft sites)
ar_tempthe temporary space to be used for the conversion
Returns
wchar_t* the path fixed

oi amor...

◆ remove_temp_folder_i()

int remove_temp_folder_i ( void )

◆ resume_sftp()

int __stdcall resume_sftp ( void )

To resume the SFTP process

Returns
0

◆ rspgettemppath_arp()

void rspgettemppath_arp ( char * path_arp)

Function to generate a temporary filename, at this time we are using createtempfilename_and_keep_z because it gives better results

Parameters
path_arpthe path where the file will be defined (but will not be created, to create a temp file in the destination folder use the function createtempfilename_and_keep_z

◆ save_settings_arp()

int __stdcall save_settings_arp ( char * key_arp_z,
char * data_arp_z )

To save the settings on the ar_tar_process.ini file, it is located in the same path of the DLL, notice that after 2021/03/22 we are storing C# sample project settings using embedded XML code to the file ar_tar_process.mis and the ini file is deleted

Parameters
key_arpthe key name
data_arpthe data to save
Returns
always 0 as you may expect

◆ ScanFolder()

bool ScanFolder ( char * lpcszFolder_ar,
__attribute__((unused)) int first_call,
bool recurse_i )

◆ seek_archive()

off_t seek_archive ( off_t size)

Tar related function, version 1.34

◆ set_folder_time()

int set_folder_time ( char * in_folder_i,
char * out_folder_i )

◆ set_iso_settings()

int __stdcall set_iso_settings ( int iso_mode)

(not in use anymore because now libarchive handles iso, even if not very well)
It will set the iso mode, valid values for iso_mode_arp are:
ARP_MODE_ISO9660,
ARP_MODE_JOLIET,
ARP_MODE_ROCK_RIDGE, ARP_MODE_JOLIET_PLUS_ROCK_RIDGE
and
ARP_MODE_UDF,
recommended ARP_MODE_JOLIET_PLUS_ROCK_RIDGE see wikipedia to learn more about possible iso modes

Returns
always 0

◆ set_next_block_after()

void set_next_block_after ( union block * block)

Tar related function, version 1.34 Indicate that we have used all blocks up thru BLOCK.

◆ set_temp_folder_z()

int __amandacall set_temp_folder_z ( char * folder_z)

To set the temp folder, if the path is invalid it will return an error

Parameters
folder_zthe new temp folder
Returns
0 if no error, or the error value (in this case 1)

◆ simple_print_header()

void simple_print_header ( struct tar_stat_info * st,
union block * blk,
__attribute__((unused)) off_t block_ordinal )

Tar related function, version 1.34, slightly modified

◆ simple_print_header_iso()

void simple_print_header_iso ( void )

◆ simple_print_header_VAL()

void simple_print_header_VAL ( void )

Function to print the VAL information that is in the VAL struct and send it to list process

◆ size_of_WCHAR_mem_r()

int size_of_WCHAR_mem_r ( char * in_string)

◆ skip_file()

void skip_file ( off_t size)

Tar related function, version 1.34, slightly modified

◆ skip_member()

void skip_member ( void )

Tar related function, version 1.34 Skip the current member in the archive. NOTE: Current header must be decoded before calling this function

◆ sparse_fixup_header()

bool sparse_fixup_header ( struct tar_stat_info * st)

Tar related function, version 1.34

◆ sparse_member_p()

bool sparse_member_p ( struct tar_stat_info * st)

Tar related function, version 1.34

◆ sparse_skip_file()

enum dump_status sparse_skip_file ( struct tar_stat_info * st)

Tar related function, version 1.34

◆ split_compressed_file_p()

int __stdcall split_compressed_file_p ( int64_t slice_in_bytes_p_)

◆ split_in_multiple_volumes_p()

int __fastcall split_in_multiple_volumes_p ( char * filename_utf_8_p)

◆ startapi_ar_2()

int __stdcall startapi_ar_2 ( __attribute__((unused)) int parameter)

This function is called by the thread initializer, for list process

◆ startapi_ar_3()

int __stdcall startapi_ar_3 ( __attribute__((unused)) int parameter)

This function is called when a thread is initialized, for an extraction process

◆ startapi_ar_6() [1/2]

int __stdcall startapi_ar_6 ( __attribute__((unused)) int parameter)

This function is called when the new thread for the update process is started

Returns
it is 0 if no error or the return value with a string with the error information, can be got with the function 'get_error_message'

◆ startapi_ar_6() [2/2]

int __stdcall startapi_ar_6 ( int parameter)

◆ strip_trailing_slashes_unix()

bool strip_trailing_slashes_unix ( char * file)

Tar related function, version 1.34, slightly modified

◆ stripfilenameandpath()

int stripfilenameandpath ( char * path,
char * onlypath,
char * onlyfilename )

It will split the path in folder and file (Windows based), UNC capable too

Parameters
paththe input path
onlypathonly the path, can be NULL if not required
onlyfilenameonly the filename, can be NULL if not required
Returns
always 0

◆ strmatch()

bool strmatch ( char str[],
char pattern[],
int n,
int m )

Function that matches input str with given wildcard pattern, it is amazing and case sensitive but it is easy to convert to case insensitive

Parameters
strthe input filename
patternthe wildcard or filename
nthe size of str
mthe size of pattern
Returns
true if it matchs, false otherwise

◆ strncpy_z()

void strncpy_z ( char * dest_z,
char * src_z,
size_t len_ )

My fixed strncpy for sure, just forget about 'strncpy' because it is broken

◆ strsep()

char * strsep ( char ** stringp,
const char * delim )

This function is required to explode a string by delimiters, a Linux fnmatch like function requires it

◆ strtolower_ar()

void strtolower_ar ( char * path)

Function to apply a tolower in th whole string

Parameters
paththe string to apply the tolower
Returns
void

◆ sys_write_archive_buffer()

size_t sys_write_archive_buffer ( void )

Tar related function, version 1.34

◆ tar_checksum()

enum read_header tar_checksum ( union block * header,
bool silent )

Tar related function, version 1.34

◆ tar_stat_close()

bool tar_stat_close ( struct tar_stat_info * st)

Tar related function, version 1.34 Close the stream or file descriptor associated with ST, and remove all traces of it from ST. Return true if successful, false (with a diagnostic) otherwise.

◆ tar_stat_destroy()

void tar_stat_destroy ( struct tar_stat_info * st)

Tar related function, version 1.34

◆ tartime()

char const * tartime ( struct timespec t,
__attribute__((unused)) bool full_time )

Tar related function, version 1.34, it will convert variable t to the time representation

◆ tartime_iso()

void tartime_iso ( void )

Function to get the list information for the .iso handling routines

◆ tartime_VAL()

void tartime_VAL ( void )

Function to convert the value that come from the VAL struct to the time information

◆ TimetToFileTime()

void TimetToFileTime ( time_t t,
LPFILETIME pft )

It will convert a time_t unix time to FILETIME

◆ umaxtostr()

char * umaxtostr ( uintmax_t i,
char * buf )

Tar related function, version 1.34

◆ uname_to_uid() [1/2]

int uname_to_uid ( __attribute__((unused)) char const * uname,
__attribute__((unused)) short * uidp )

Tar related function, version 1.34, slightly modified

◆ uname_to_uid() [2/2]

int uname_to_uid ( char const * uname,
short * uidp )

◆ update_archive_ar_v2()

int __stdcall update_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 )

This is the function to update a Tar file (or VAL) with new entries or deletion of entries

Parameters
tar_filename_arthe Tar (or VAL) file to update
Returns
0 if no error, if not the error and a string with the description of the error can be accessed, after a call to this function you need to call GetStatus_ar() to wait for the end of the execution and and GetReturnValue_ar() to know whether the update occurred without problems and if problems occurred you can call get_error_message to get the error information

◆ update_archive_ar_v2_internal()

int __stdcall update_archive_ar_v2_internal ( 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 )

This is the internal function to update a Tar file (or VAL) with new entries or deletion of entries

Parameters
tar_filename_arthe Tar (or VAL) file to update
Returns
0 if no error, if not the error and a string with the description of the error can be accessed, after a call to this function you need to call GetStatus_ar() to wait for the end of the execution and and GetReturnValue_ar() to know whether the update occurred without problems and if problems occurred you can call get_error_message to get the error information

◆ update_progress_arp()

void update_progress_arp ( int64_t * bytes_read_arp__)

It will pass the address of the int64_t variable that will be updated, (only for internal use)

◆ utf8_2_wide_dl()

WCHAR * utf8_2_wide_dl ( char * pUTF8)

◆ valquiria_wide_to_utf8()

char * valquiria_wide_to_utf8 ( WCHAR * pUSC2_maria,
char * ar_temp_char )

To convert an input wide string to a utf-8 encoded filename on return

Parameters
pUSC2_mariathe wide string to be converted
Returns
it will return the static allocated char * string with the utf-8 encoded filename

◆ write_xml_z()

int write_xml_z ( char * key_name_z,
char * data_z )

Internal function to read information from a XML file
It is using our own 45kb source code to handle these files.

Parameters
key_name_zthe subnode to retrieve the data
data_zwhere the data is passed...
Returns
0 if no error, or an error as you may expect

◆ write_xml_z_amanda_s_smart_ape()

int __stdcall write_xml_z_amanda_s_smart_ape ( char * filename_amanda_s_smart_ape,
char * key_name_z,
char * data_z )

◆ xheader_decode()

void xheader_decode ( struct tar_stat_info * st)

Tar related function, version 1.34

◆ xheader_decode_global()

void xheader_decode_global ( struct xheader * xhdr)

Tar related function, version 1.34

◆ xheader_destroy()

void xheader_destroy ( struct xheader * xhdr)

Tar related function, version 1.34

◆ xheader_read()

void xheader_read ( struct xheader * xhdr,
union block * p,
off_t size )

Tar related function, version 1.34

◆ xheader_xattr_free()

void xheader_xattr_free ( struct xattr_array * xattr_map,
size_t xattr_map_size )

Tar related function, version 1.34

◆ xheader_xattr_init()

void xheader_xattr_init ( struct tar_stat_info * st)

Tar related function, version 1.34

◆ xmemdup()

void * xmemdup ( void const * p,
size_t s )

Function to allocate memory

Parameters
pthe address to duplicate the data
sthe size
Returns
the memory address allocated and copied

◆ xstrdup()

char * xstrdup ( char const * string)

Safe strdup() that never returns NULL.

Function to duplicate a string

Parameters
stringthe input string
Returns
the duplicated new address

◆ yasmin_charlotte_pereira_dprintf()

void yasmin_charlotte_pereira_dprintf ( int amanda_level,
char * format,
... )

Variable Documentation

◆ aak_inicio_is_amanda_update_

struct my_struct_for_list_ar_is_amanda_update_* aak_inicio_is_amanda_update_

◆ aak_inicio_is_extract_

struct my_struct_for_list_ar_is_extract_* aak_inicio_is_extract_

◆ aak_inicio_is_list_

struct my_struct_for_list_ar_is_list_* aak_inicio_is_list_

◆ aak_is_amanda_update_

struct my_struct_for_list_ar_is_amanda_update_* aak_is_amanda_update_

◆ aak_is_extract_

struct my_struct_for_list_ar_is_extract_* aak_is_extract_

◆ aak_is_list_

struct my_struct_for_list_ar_is_list_* aak_is_list_

◆ aak_pointer_is_amanda_update_

struct my_struct_for_list_ar_is_amanda_update_* aak_pointer_is_amanda_update_

◆ aak_pointer_is_extract_

struct my_struct_for_list_ar_is_extract_* aak_pointer_is_extract_

◆ aak_pointer_is_list_

struct my_struct_for_list_ar_is_list_* aak_pointer_is_list_

◆ access_mode

◆ already_arp

int already_arp

◆ archive

GLOBAL int archive

◆ archive_format

◆ archive_name_array_filename

char archive_name_array_filename[AMANDA__SIZE]

◆ archive_names

GLOBAL size_t archive_names

◆ atime_i

__time64_t atime_i

◆ attributes_i

int64_t attributes_i

◆ blocking_factor

GLOBAL int blocking_factor

◆ bytes_left_in_the_update_file_arp

int64_t bytes_left_in_the_update_file_arp

◆ bytes_written_to_update_file_arp

int bytes_written_to_update_file_arp

◆ cancel_b3___aakp_b3___ar_func

cancel_b3___aakp_b3___ar cancel_b3___aakp_b3___ar_func = NULL

◆ cancel_bb___aakp_bb___ar_func

cancel_bb___aakp_bb___ar cancel_bb___aakp_bb___ar_func = NULL

◆ cancel_br___aakp_br___ar_func

cancel_br___aakp_br___ar cancel_br___aakp_br___ar_func = NULL

◆ cancel_c5___aakp_c5___ar_func

cancel_c5___aakp_c5___ar cancel_c5___aakp_c5___ar_func = NULL

◆ cancel_co___aakp_co___ar_func

cancel_co___aakp_co___ar cancel_co___aakp_co___ar_func = NULL

◆ cancel_g2___aakp_g2___ar_func

cancel_g2___aakp_g2___ar cancel_g2___aakp_g2___ar_func = NULL

◆ cancel_ju___aakp_ju___ar_func

cancel_ju___aakp_ju___ar cancel_ju___aakp_ju___ar_func = NULL

◆ cancel_l3___aakp_l3___ar_func

cancel_l3___aakp_l3___ar cancel_l3___aakp_l3___ar_func = NULL

◆ cancel_l4___aakp_l4___ar_func

cancel_l4___aakp_l4___ar cancel_l4___aakp_l4___ar_func = NULL

◆ cancel_l5___aakp_l5___ar_func

cancel_l5___aakp_l5___ar cancel_l5___aakp_l5___ar_func = NULL

◆ cancel_lzip_aakp_lzip_ar_func

cancel_lzip_aakp_lzip_ar cancel_lzip_aakp_lzip_ar_func = NULL

◆ cancel_lzma_aakp_lzma_ar_func

cancel_lzma_aakp_lzma_ar cancel_lzma_aakp_lzma_ar_func = NULL

◆ cancel_xz___aakp_xz___ar_func

cancel_xz___aakp_xz___ar cancel_xz___aakp_xz___ar_func = NULL

◆ cancel_zs___aakp_zs___ar_func

cancel_zs___aakp_zs___ar cancel_zs___aakp_zs___ar_func = NULL

◆ CancelCompress_bzip2_ar_func

CancelCompress_bzip2_ar CancelCompress_bzip2_ar_func = NULL

◆ CancelExecution_arp_func

CancelExecution_arp_ CancelExecution_arp_func = NULL

◆ CancelExecution_gzip_ar_func

CancelExecution_gzip_ar CancelExecution_gzip_ar_func = NULL

◆ charli_and_yasmin_global_filename

char charli_and_yasmin_global_filename[MAX_PATH+1]

◆ compress_b3___rspk_ar_func

compress_b3___rspk_ar compress_b3___rspk_ar_func = NULL

◆ compress_bb___rspk_ar_func

compress_bb___rspk_ar compress_bb___rspk_ar_func = NULL

◆ compress_br___rspk_ar_func

compress_br___rspk_ar compress_br___rspk_ar_func = NULL

◆ Compress_bzip2_ar_func

Compress_bzip2_ar Compress_bzip2_ar_func = NULL

◆ compress_c5___rspk_ar_func

compress_c5___rspk_ar compress_c5___rspk_ar_func = NULL

◆ compress_co___rspk_ar_func

compress_co___rspk_ar compress_co___rspk_ar_func = NULL

◆ compress_g2___rspk_ar_func

compress_g2___rspk_ar compress_g2___rspk_ar_func = NULL

◆ Compress_gzip_ar_func

Compress_gzip_ar Compress_gzip_ar_func = NULL

◆ compress_ju___rspk_ar_func

compress_ju___rspk_ar compress_ju___rspk_ar_func = NULL

◆ compress_l3___rspk_ar_func

compress_l3___rspk_ar compress_l3___rspk_ar_func = NULL

◆ compress_l4___rspk_ar_func

compress_l4___rspk_ar compress_l4___rspk_ar_func = NULL

◆ compress_l5___rspk_ar_func

compress_l5___rspk_ar compress_l5___rspk_ar_func = NULL

◆ compress_lzip_rspk_ar_func

compress_lzip_rspk_ar compress_lzip_rspk_ar_func = NULL

◆ compress_lzma_rspk_ar_func

compress_lzma_rspk_ar compress_lzma_rspk_ar_func = NULL

◆ compress_xz___rspk_ar_func

compress_xz___rspk_ar compress_xz___rspk_ar_func = NULL

◆ compress_zs___rspk_ar_func

compress_zs___rspk_ar compress_zs___rspk_ar_func = NULL

◆ compression_level_char_i

char compression_level_char_i[300] = "6"

◆ compression_level_p

char compression_level_p[300]

◆ compression_level_xcx

int compression_level_xcx = 6

◆ compression_mode_external_ar___

int compression_mode_external_ar___

◆ continued_file_name

char* continued_file_name = NULL

◆ continued_file_offset

uintmax_t continued_file_offset

◆ continued_file_size

uintmax_t continued_file_size

◆ copy_for_extract_ar

char copy_for_extract_ar[AMANDA__SIZE]

◆ cores_used_z

int cores_used_z = 1

◆ creating_folder_maria

char creating_folder_maria[AMANDA__SIZE]

◆ ctime_i

__time64_t ctime_i

◆ current_block

union block* current_block

◆ current_format

enum archive_format current_format

◆ current_header

union block* current_header

◆ current_stat_info

GLOBAL struct tar_stat_info current_stat_info
Initial value:
= {
0,
}

◆ date_got_pk

char date_got_pk[1024]

◆ Day_k

int Day_k

◆ decoder_file_z

FILE* decoder_file_z = NULL

◆ Decompress_bzip2_ar_func

Decompress_bzip2_ar Decompress_bzip2_ar_func = NULL

◆ decompression_progress_mode_arp

int32_t decompression_progress_mode_arp = -1

◆ decrypt_arp_func

decrypt_arp_ decrypt_arp_func = NULL

◆ delete_if_true_i

bool delete_if_true_i = false

◆ detected_format_arp

int detected_format_arp

◆ dont_delete_7zip_file_i

bool dont_delete_7zip_file_i = false

◆ enable_encryption_arp_

bool enable_encryption_arp_ = false

◆ encrypt_arp_func

encrypt_arp_ encrypt_arp_func = NULL

◆ encryption_format_S2_

char encryption_format_S2_[300] = {0}

◆ encryption_method__i

char encryption_method__i[300] = {0}

◆ encryption_method_arp

int encryption_method_arp

◆ encryption_method_to_create

int encryption_method_to_create = ARP_AES

◆ error_message_k

char error_message_k[AMANDA__SIZE] = {0}

◆ extract_cancel_flag

bool extract_cancel_flag

◆ extract_folder_final

char extract_folder_final[AMANDA__SIZE]
Initial value:
= {
0,
}

◆ extract_pause__flag

bool extract_pause__flag

◆ extract_to_file_i_func

extract_to_file_i extract_to_file_i_func = NULL

◆ extracting_filename_ar

char extracting_filename_ar[AMANDA__SIZE]

◆ fatal_exit_k

int fatal_exit_k = 0

◆ file_got_pk

char file_got_pk[1024]

◆ file_is_VAL_arp

bool file_is_VAL_arp

◆ file_size_total_int64

__int64 file_size_total_int64 = 0

◆ file_to_keep_z

char file_to_keep_z[AMANDA__SIZE]
Initial value:
= {
0,
}

◆ file_total__read_int64

__int64 file_total__read_int64 = 0

◆ filename_k

char filename_k[AMANDA__SIZE]

◆ files_ar

int files_ar

◆ flag_to_delete_temp_ar

bool flag_to_delete_temp_ar = false

◆ folders_ar

int folders_ar

◆ get_progress_b3___ar_func

get_progress_b3___ar get_progress_b3___ar_func = NULL

◆ get_progress_bb___ar_func

get_progress_bb___ar get_progress_bb___ar_func = NULL

◆ get_progress_br___ar_func

get_progress_br___ar get_progress_br___ar_func = NULL

◆ get_progress_c5___ar_func

get_progress_c5___ar get_progress_c5___ar_func = NULL

◆ get_progress_co___ar_func

get_progress_co___ar get_progress_co___ar_func = NULL

◆ get_progress_g2___ar_func

get_progress_g2___ar get_progress_g2___ar_func = NULL

◆ get_progress_ju___ar_func

get_progress_ju___ar get_progress_ju___ar_func = NULL

◆ get_progress_l3___ar_func

get_progress_l3___ar get_progress_l3___ar_func = NULL

◆ get_progress_l4___ar_func

get_progress_l4___ar get_progress_l4___ar_func = NULL

◆ get_progress_l5___ar_func

get_progress_l5___ar get_progress_l5___ar_func = NULL

◆ get_progress_lzip_ar_func

get_progress_lzip_ar get_progress_lzip_ar_func = NULL

◆ get_progress_lzma_ar_func

get_progress_lzma_ar get_progress_lzma_ar_func = NULL

◆ get_progress_xz___ar_func

get_progress_xz___ar get_progress_xz___ar_func = NULL

◆ get_progress_zs___ar_func

get_progress_zs___ar get_progress_zs___ar_func = NULL

◆ get_tar_info_libarchive_func

get_tar_info_p get_tar_info_libarchive_func = NULL

◆ get_tar_info_p_func

get_tar_info_p get_tar_info_p_func = NULL

◆ GetFinished_gzip_ar_func

GetFinished_gzip_ar GetFinished_gzip_ar_func = NULL

◆ GetProgress_____arp_func

GetProgress_____arp_ GetProgress_____arp_func = NULL

◆ GetProgress_bzip2_ar_func

GetProgress_bzip2_ar GetProgress_bzip2_ar_func = NULL

◆ GetProgress_gzip_ar_func

GetProgress_gzip_ar GetProgress_gzip_ar_func = NULL

◆ GetReturnValue_bzip2_ar_func

GetReturnValue_bzip2_ar GetReturnValue_bzip2_ar_func = NULL

◆ GetReturnValue_gzip_ar_func

GetReturnValue_gzip_ar GetReturnValue_gzip_ar_func = NULL

◆ GetStatus_bzip2_ar_func

GetStatus_bzip2_ar GetStatus_bzip2_ar_func = NULL

◆ global_our_map_arp_i

our_map_arp_i global_our_map_arp_i = {0}

◆ global_patern_ar

char global_patern_ar[20000]
Initial value:
= {
0,
}

◆ global_ptr_our_map_arp_v27_i

our_map_arp_i* global_ptr_our_map_arp_v27_i = NULL

◆ global_temp_folder_i

char global_temp_folder_i[1027]

◆ got_a_warning_ar

int got_a_warning_ar = 0

◆ has_itens_copy_is_amanda_update_

int has_itens_copy_is_amanda_update_ = 0

◆ has_itens_copy_is_extract_

int has_itens_copy_is_extract_ = 0

◆ has_itens_copy_is_list_

int has_itens_copy_is_list_ = 0

◆ has_itens_is_amanda_update_

int has_itens_is_amanda_update_ = 0

◆ has_itens_is_amanda_update_internal_b_arp

int has_itens_is_amanda_update_internal_b_arp

◆ has_itens_is_extract_

int has_itens_is_extract_ = 0

◆ has_itens_is_list_

int has_itens_is_list_ = 0

◆ hMapFile_arp_i

HANDLE hMapFile_arp_i = NULL

◆ host_z_i

char host_z_i[1027]

◆ Hour_k

int Hour_k

◆ ignore_failed_read_option

GLOBAL bool ignore_failed_read_option

◆ incremental_option

GLOBAL bool incremental_option

◆ init_decoder_z

int init_decoder_z = 0

◆ internal_progress_z_arp_func

internal_progress_z_arp_ internal_progress_z_arp_func = NULL

◆ is_encrypted_by_extension

bool is_encrypted_by_extension = false

◆ is_mislaine_encrypted_

bool is_mislaine_encrypted_

◆ is_mislaine_encrypted_v2_z

bool is_mislaine_encrypted_v2_z

◆ is_update_i

bool is_update_i = false

◆ Isdir_k

int Isdir_k

◆ iso_mode_value

◆ keep_temp_file_flag_z

bool keep_temp_file_flag_z = false

◆ key_fingerprint_i

char key_fingerprint_i[1027]
Initial value:
= {
0,
}

◆ last_list_error_int_arp

int last_list_error_int_arp

◆ last_list_error_message_arp

char last_list_error_message_arp[AMANDA__SIZE]

◆ libarchive_close_p_func

libarchive_close_p libarchive_close_p_func = NULL

◆ libarchive_create_archive_init_p_func

libarchive_create_archive_init_p libarchive_create_archive_init_p_func = NULL

◆ libarchive_extract_entries_p_func

libarchive_extract_entries_p libarchive_extract_entries_p_func = NULL

◆ libarchive_list_entries_p_func

libarchive_list_entries_p libarchive_list_entries_p_func = NULL

◆ libarchive_process_p_func

libarchive_process_p libarchive_process_p_func = NULL

◆ local_file_i

char local_file_i[AMANDA__SIZE]

◆ message_box_flag_m

bool message_box_flag_m = false

◆ meu_fn_pk_

meu_fn_pk meu_fn_pk_ = NULL

◆ Minute_k

int Minute_k

◆ mode_is_libarchive_extract_p

bool mode_is_libarchive_extract_p = false

◆ mode_is_libarchive_list_p

bool mode_is_libarchive_list_p = false

◆ mode_is_libarchive_update_i

bool mode_is_libarchive_update_i = false

◆ mode_is_list_arp

bool mode_is_list_arp

◆ mode_is_update_arp

bool mode_is_update_arp = false

◆ mode_is_update_libarchive_v27

bool mode_is_update_libarchive_v27 = false

◆ mode_is_VAL_arp

bool mode_is_VAL_arp

◆ modo_e_duplo_ar

bool modo_e_duplo_ar = false

◆ Month_k

int Month_k

◆ mtime_i

__time64_t mtime_i

◆ my___temp_file_i

FILE* my___temp_file_i

◆ my_b3____dll

HMODULE my_b3____dll = NULL

◆ my_bb____dll

HMODULE my_bb____dll = NULL

◆ my_br____dll

HMODULE my_br____dll = NULL

◆ my_bz2__dll

HMODULE my_bz2__dll = NULL

◆ my_c5____dll

HMODULE my_c5____dll = NULL

◆ my_co____dll

HMODULE my_co____dll = NULL

◆ my_error_as_a_programmer_z

char my_error_as_a_programmer_z[AMANDA__SIZE] = {0}

◆ my_func_ar_

tar_list_function_ar my_func_ar_ = NULL

◆ my_g2____dll

HMODULE my_g2____dll = NULL

◆ my_gzip_dll

HMODULE my_gzip_dll = NULL

◆ my_ju____dll

HMODULE my_ju____dll = NULL

◆ my_l3____dll

HMODULE my_l3____dll = NULL

◆ my_l4____dll

HMODULE my_l4____dll = NULL

◆ my_l5____dll

HMODULE my_l5____dll = NULL

◆ my_libarchive_dll

HMODULE my_libarchive_dll = NULL

◆ my_lzip__dll

HMODULE my_lzip__dll = NULL

◆ my_lzma__dll

HMODULE my_lzma__dll = NULL

◆ my_process_function

do_something_k my_process_function = NULL

◆ my_rsp_arp_encrypt_dll

HMODULE my_rsp_arp_encrypt_dll = NULL

◆ my_thread_handle

__INT32_OR_INT64 my_thread_handle = 0

◆ my_VAL_data_arp

VAL_data my_VAL_data_arp = {0}

◆ my_xz____dll

HMODULE my_xz____dll = NULL

◆ my_zs____dll

HMODULE my_zs____dll = NULL

◆ num_threads_xcx

int num_threads_xcx = 1

◆ number_of_threads_p

int number_of_threads_p = 1

◆ Numdir_k

int Numdir_k

◆ numeric_owner_option

GLOBAL bool numeric_owner_option

◆ numero_de_itens

int numero_de_itens = 0

◆ Numfiles_k

int Numfiles_k

◆ only_get_number_of_files_ar_v27

bool only_get_number_of_files_ar_v27 = false

◆ our_update_file_fopen_arp

FILE* our_update_file_fopen_arp = NULL

◆ our_update_file_open__arp

int our_update_file_open__arp = -1

◆ parolin_compression_level_p

int parolin_compression_level_p

◆ password_z_i

char password_z_i[1027]

◆ patern_ar___

char patern_ar___[20000]
Initial value:
= {
0,
}

◆ pause_b3___aakp_b3___ar_func

pause_b3___aakp_b3___ar pause_b3___aakp_b3___ar_func = NULL

◆ pause_bb___aakp_bb___ar_func

pause_bb___aakp_bb___ar pause_bb___aakp_bb___ar_func = NULL

◆ pause_br___aakp_br___ar_func

pause_br___aakp_br___ar pause_br___aakp_br___ar_func = NULL

◆ pause_c5___aakp_c5___ar_func

pause_c5___aakp_c5___ar pause_c5___aakp_c5___ar_func = NULL

◆ pause_co___aakp_co___ar_func

pause_co___aakp_co___ar pause_co___aakp_co___ar_func = NULL

◆ pause_g2___aakp_g2___ar_func

pause_g2___aakp_g2___ar pause_g2___aakp_g2___ar_func = NULL

◆ pause_ju___aakp_ju___ar_func

pause_ju___aakp_ju___ar pause_ju___aakp_ju___ar_func = NULL

◆ pause_l3___aakp_l3___ar_func

pause_l3___aakp_l3___ar pause_l3___aakp_l3___ar_func = NULL

◆ pause_l4___aakp_l4___ar_func

pause_l4___aakp_l4___ar pause_l4___aakp_l4___ar_func = NULL

◆ pause_l5___aakp_l5___ar_func

pause_l5___aakp_l5___ar pause_l5___aakp_l5___ar_func = NULL

◆ pause_lzip_aakp_lzip_ar_func

pause_lzip_aakp_lzip_ar pause_lzip_aakp_lzip_ar_func = NULL

◆ pause_lzma_aakp_lzma_ar_func

pause_lzma_aakp_lzma_ar pause_lzma_aakp_lzma_ar_func = NULL

◆ pause_xz___aakp_xz___ar_func

pause_xz___aakp_xz___ar pause_xz___aakp_xz___ar_func = NULL

◆ pause_zs___aakp_zs___ar_func

pause_zs___aakp_zs___ar pause_zs___aakp_zs___ar_func = NULL

◆ PauseCompress_bzip2_ar_func

PauseCompress_bzip2_ar PauseCompress_bzip2_ar_func = NULL

◆ PauseExecution__arp_func

PauseExecution__arp_ PauseExecution__arp_func = NULL

◆ PauseExecution_gzip_ar_func

PauseExecution_gzip_ar PauseExecution_gzip_ar_func = NULL

◆ processed_itens_ar

int processed_itens_ar = 0

◆ progress_extract_i_func

progress_extract_i progress_extract_i_func = NULL

◆ progress_is_libarchive_v27

bool progress_is_libarchive_v27 = false

◆ progress_lib_v27

int progress_lib_v27

◆ read_full_records_option

GLOBAL bool read_full_records_option

◆ real_VAL_filesize

int64_t real_VAL_filesize
extern

◆ recent_long_link

union block* recent_long_link

◆ recent_long_link_blocks

size_t recent_long_link_blocks

◆ recent_long_name

union block* recent_long_name

◆ recent_long_name_blocks

size_t recent_long_name_blocks

◆ record_end

union block* record_end

◆ record_size

GLOBAL size_t record_size

◆ record_start

union block* record_start

◆ records_read

off_t records_read

◆ records_written

off_t records_written

◆ recurse_in_subfolders_arp___

int recurse_in_subfolders_arp___

◆ recurse_on_subfolders_arp

bool recurse_on_subfolders_arp = true

◆ remote_path_i

char remote_path_i[AMANDA__SIZE] = {0}

◆ remote_path_z_i

char remote_path_z_i[1027]

◆ resume_b3___aakp_b3___ar_func

resume_b3___aakp_b3___ar resume_b3___aakp_b3___ar_func = NULL

◆ resume_bb___aakp_bb___ar_func

resume_bb___aakp_bb___ar resume_bb___aakp_bb___ar_func = NULL

◆ resume_br___aakp_br___ar_func

resume_br___aakp_br___ar resume_br___aakp_br___ar_func = NULL

◆ resume_c5___aakp_c5___ar_func

resume_c5___aakp_c5___ar resume_c5___aakp_c5___ar_func = NULL

◆ resume_co___aakp_co___ar_func

resume_co___aakp_co___ar resume_co___aakp_co___ar_func = NULL

◆ resume_g2___aakp_g2___ar_func

resume_g2___aakp_g2___ar resume_g2___aakp_g2___ar_func = NULL

◆ resume_ju___aakp_ju___ar_func

resume_ju___aakp_ju___ar resume_ju___aakp_ju___ar_func = NULL

◆ resume_l3___aakp_l3___ar_func

resume_l3___aakp_l3___ar resume_l3___aakp_l3___ar_func = NULL

◆ resume_l4___aakp_l4___ar_func

resume_l4___aakp_l4___ar resume_l4___aakp_l4___ar_func = NULL

◆ resume_l5___aakp_l5___ar_func

resume_l5___aakp_l5___ar resume_l5___aakp_l5___ar_func = NULL

◆ resume_lzip_aakp_lzip_ar_func

resume_lzip_aakp_lzip_ar resume_lzip_aakp_lzip_ar_func = NULL

◆ resume_lzma_aakp_lzma_ar_func

resume_lzma_aakp_lzma_ar resume_lzma_aakp_lzma_ar_func = NULL

◆ resume_xz___aakp_xz___ar_func

resume_xz___aakp_xz___ar resume_xz___aakp_xz___ar_func = NULL

◆ resume_zs___aakp_zs___ar_func

resume_zs___aakp_zs___ar resume_zs___aakp_zs___ar_func = NULL

◆ ResumeCompress_bzip2_ar_func

ResumeCompress_bzip2_ar ResumeCompress_bzip2_ar_func = NULL

◆ ResumeExecution_arp_func

ResumeExecution_arp_ ResumeExecution_arp_func = NULL

◆ ResumeExecution_gzip_ar_func

ResumeExecution_gzip_ar ResumeExecution_gzip_ar_func = NULL

◆ ret_arp_

int ret_arp_

◆ return_value_from_list

int return_value_from_list = 0

◆ returnvalue_i

int returnvalue_i = 0

◆ running_2_ar

int running_2_ar = 0

◆ running_update

int running_update = 0

◆ Second_k

int Second_k

◆ seekable_archive

GLOBAL bool seekable_archive

◆ set_progress_p_func

set_progress_p set_progress_p_func = NULL

◆ sftp_already_running

bool sftp_already_running = false

◆ show_debug_z

int show_debug_z = -1

◆ Size_k

__int64 Size_k

◆ start_time

GLOBAL struct timespec start_time

◆ step_for_create_arp

int step_for_create_arp

◆ string_format_arp

char string_format_arp[1024] = "unknown"

◆ tar_file_ar_real

char tar_file_ar_real[AMANDA__SIZE]

◆ temp_file_for_encrypted

char temp_file_for_encrypted[AMANDA__SIZE]

◆ temp_file_for_encrypted_v2

char temp_file_for_encrypted_v2[AMANDA__SIZE]

◆ temp_file_update_i

char temp_file_update_i[AMANDA__SIZE]
Initial value:
= {
0,
}

◆ temp_folder_z

char temp_folder_z[AMANDA__SIZE]
Initial value:
= {
0,
}

◆ temp_tar_file_ar

char temp_tar_file_ar[AMANDA__SIZE]

◆ the__patern_ar__mode___

enum mode_is_include_or_exclude the__patern_ar__mode___

◆ the_pass_arp

char the_pass_arp[1024+1] = {0}

◆ the_pass_arp_utf8_i

char the_pass_arp_utf8_i[1024+1] = {0}

◆ time___compression_charli

double time___compression_charli

◆ time_point_arp_2

int time_point_arp_2 = 0

◆ time_to_start_writing

bool time_to_start_writing = false

◆ time_uncompression_charli

double time_uncompression_charli

◆ true_if_include_i

bool true_if_include_i = false

◆ typeflag_ar

char typeflag_ar[300]

◆ uncompress_b3___rspk_ar_func

uncompress_b3___rspk_ar uncompress_b3___rspk_ar_func = NULL

◆ uncompress_bb___rspk_ar_func

uncompress_bb___rspk_ar uncompress_bb___rspk_ar_func = NULL

◆ uncompress_br___rspk_ar_func

uncompress_br___rspk_ar uncompress_br___rspk_ar_func = NULL

◆ uncompress_c5___rspk_ar_func

uncompress_c5___rspk_ar uncompress_c5___rspk_ar_func = NULL

◆ uncompress_co___rspk_ar_func

uncompress_co___rspk_ar uncompress_co___rspk_ar_func = NULL

◆ uncompress_g2___rspk_ar_func

uncompress_g2___rspk_ar uncompress_g2___rspk_ar_func = NULL

◆ Uncompress_gzip_ar_func

Uncompress_gzip_ar Uncompress_gzip_ar_func = NULL

◆ uncompress_ju___rspk_ar_func

uncompress_ju___rspk_ar uncompress_ju___rspk_ar_func = NULL

◆ uncompress_l3___rspk_ar_func

uncompress_l3___rspk_ar uncompress_l3___rspk_ar_func = NULL

◆ uncompress_l4___rspk_ar_func

uncompress_l4___rspk_ar uncompress_l4___rspk_ar_func = NULL

◆ uncompress_l5___rspk_ar_func

uncompress_l5___rspk_ar uncompress_l5___rspk_ar_func = NULL

◆ uncompress_lzip_rspk_ar_func

uncompress_lzip_rspk_ar uncompress_lzip_rspk_ar_func = NULL

◆ uncompress_lzma_rspk_ar_func

uncompress_lzma_rspk_ar uncompress_lzma_rspk_ar_func = NULL

◆ uncompress_xz___rspk_ar_func

uncompress_xz___rspk_ar uncompress_xz___rspk_ar_func = NULL

◆ uncompress_zs___rspk_ar_func

uncompress_zs___rspk_ar uncompress_zs___rspk_ar_func = NULL

◆ update_filename_arp

char update_filename_arp[AMANDA__SIZE]

◆ update_progress_arp_func

update_progress_arp_ update_progress_arp_func = NULL

◆ update_temp_dir_arp

char update_temp_dir_arp[AMANDA__SIZE]

◆ use_7zip_extraction_progress_i

bool use_7zip_extraction_progress_i = false

◆ use_name_i

bool use_name_i = false

◆ user_name_z_i

char user_name_z_i[1027]

◆ volume_label

char* volume_label = NULL

◆ warning_info

char warning_info[AMANDA__SIZE]

◆ warning_option

int warning_option = WARN_ALL

◆ Year_k

int Year_k