![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
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) |
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 block * | find_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 const * | tartime (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 | |
tar like file compressor
#define __amandacall __stdcall |
#define __valquiriacall __fastcall |
#define _GL_SIGNED_TYPE_OR_EXPR | ( | t | ) |
#define AMANDA__SIZE ((32767 * 6) + 2) |
The maximum size of an utf-8 encoded filename with the max limit of a file in Windows
#define AMANDA__SIZE_w (32767) |
The maximum size of Unicode characters in a path in Windows, Linux is 1024 characters as far I know
#define AMANDA__SIZE_ww ((32767 * 2) + 2) |
#define AMANDA_SIZE___ (1 << 17) |
#define ARP_ALLOW_MULTIPLE_PASSWORDS_ 0 |
#define BUF_SIZE_ARP_I (sizeof(our_map_arp_i)) |
#define DEBUG_MICROSOFT_AMANDA_S_SMART_APE_______LIKE_PEDRO_VALUE__ ((0) /* if -1 not working, as usual... */) |
#define DEFAULT_BLOCKING 20 |
#define DOUBLE_SLASH_IS_DISTINCT_ROOT_UNIX 0 |
#define FALLTHROUGH __attribute__((__fallthrough__)) |
#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE_UNIX 0 |
#define FILE_SYSTEM_PREFIX_LEN_UNIX | ( | P | ) |
#define GID_FROM_HEADER | ( | where | ) |
#define GLOBAL |
#define INT_BITS_STRLEN_BOUND | ( | b | ) |
#define INT_BUFSIZE_BOUND | ( | t | ) |
#define INT_STRLEN_BOUND | ( | t | ) |
#define IS_ABSOLUTE_PATH_UNIX | ( | P | ) |
#define IS_PATH_WITH_DIR_UNIX | ( | P | ) |
#define IS_TAR_DLL_I |
#define LG_256 8 |
#define LG_64 6 |
#define LG_8 3 |
#define MACHINE_ARP_ "32" |
#define major | ( | device | ) |
#define MAJOR_FROM_HEADER | ( | where | ) |
#define major_t int |
#define minor | ( | device | ) |
#define MINOR_FROM_HEADER | ( | where | ) |
#define minor_t int |
#define MODE_FROM_HEADER | ( | where, | |
hbits ) |
#define MODE_IS_ARP_DEBUG 1 |
#define NAME_FIELD_SIZE 100 /* look at this, it is too low even for 30 years ago */ |
#define NMAGIC (sizeof(magic) / sizeof(magic[0])) |
#define obstack_chunk_alloc xmalloc |
#define obstack_chunk_free free |
#define OFF_FROM_HEADER | ( | where | ) |
#define S_IROTH (S_IRUSR >> 6) |
#define S_IRUSR 00400 |
#define S_ISOFD | ( | p | ) |
#define S_ISOFL | ( | p | ) |
#define S_ISWHT | ( | m | ) |
#define S_IWOTH (S_IWUSR >> 6) |
#define S_IWUSR 00200 |
#define S_IXOTH (S_IXUSR >> 6) |
#define S_IXUSR 00100 |
#define TIME_FROM_HEADER | ( | where | ) |
#define TYPE_MAXIMUM | ( | t | ) |
#define TYPE_MINIMUM | ( | t | ) |
#define TYPE_SIGNED | ( | t | ) |
#define TYPE_WIDTH | ( | t | ) |
#define UID_FROM_HEADER | ( | where | ) |
#define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND(uintmax_t) |
#define WARN_ALL (~WARN_VERBOSE_WARNINGS) |
#define WARN_ALONE_ZERO_BLOCK 0x00000001 |
#define WARN_BAD_DUMPDIR 0x00000002 |
#define WARN_CACHEDIR 0x00000004 |
#define WARN_CONTIGUOUS_CAST 0x00000008 |
#define WARN_DECOMPRESS_PROGRAM 0x00080000 |
#define WARN_EXISTING_FILE 0x00100000 |
#define WARN_FAILED_READ 0x00800000 |
#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_RECORD_SIZE 0x00400000 |
#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_VERBOSE_WARNINGS |
#define WARN_XATTR_WRITE 0x00200000 |
#define WARN_XDEV 0x00040000 |
#define WARNING_ENABLED | ( | opt | ) |
#define WARNOPT | ( | opt, | |
args ) |
#define XHDR_GLOBAL 0x02 |
#define XHDR_PROTECTED 0x01 |
#define xmalloc malloc |
typedef void(* add_more_one_func) (char *) |
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 * cancel_b3___aakp_b3___ar) (void) |
typedef int(__stdcall * cancel_bb___aakp_bb___ar) (void) |
typedef int(__stdcall * cancel_br___aakp_br___ar) (void) |
typedef int(__stdcall * cancel_c5___aakp_c5___ar) (void) |
typedef int(__stdcall * cancel_co___aakp_co___ar) (void) |
typedef int(__stdcall * cancel_g2___aakp_g2___ar) (void) |
typedef int(__stdcall * cancel_ju___aakp_ju___ar) (void) |
typedef int(__stdcall * cancel_l3___aakp_l3___ar) (void) |
typedef int(__stdcall * cancel_l4___aakp_l4___ar) (void) |
typedef int(__stdcall * cancel_l5___aakp_l5___ar) (void) |
typedef int(__stdcall * cancel_lzip_aakp_lzip_ar) (void) |
typedef int(__stdcall * cancel_lzma_aakp_lzma_ar) (void) |
typedef int(__stdcall * cancel_xz___aakp_xz___ar) (void) |
typedef int(__stdcall * cancel_zs___aakp_zs___ar) (void) |
typedef int(__stdcall * CancelCompress_bzip2_ar) (void) |
typedef int(__stdcall * CancelExecution_arp_) (void) |
typedef void(__stdcall * CancelExecution_gzip_ar) (void) |
typedef int(__stdcall * check_item_z_june_24_i) (char *filename_utf8) |
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 * 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 * compress_br___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level) |
typedef int(__stdcall * Compress_bzip2_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel) |
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 * compress_co___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level) |
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 * compress_ju___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level) |
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 * compress_l4___rspk_ar) (char *Input_amanda_file, char *OutPut_ricardo_File, int Compression_juliete_Level) |
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 * compress_lzip_rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel) |
typedef int(__stdcall * compress_lzma_rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel) |
typedef int(__stdcall * compress_xz___rspk_ar) (char *Inputfile, char *OutPutFile, int CompressionLevel, int threads____z) |
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 * Decompress_bzip2_ar) (char *Inputfile, char *OutPutFile) |
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 void(* do_something_k) (void) |
typedef int(* encrypt_arp_) (char *inputfile, char *outputfile, char *key, int is_rc4_arp, int ar__threads_z_v27) |
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 int(__stdcall * get_progress_b3___ar) (void) |
typedef int(__stdcall * get_progress_bb___ar) (void) |
typedef int(__stdcall * get_progress_br___ar) (void) |
typedef int(__stdcall * get_progress_c5___ar) (void) |
typedef int(__stdcall * get_progress_co___ar) (void) |
typedef int(__stdcall * get_progress_g2___ar) (void) |
typedef int(__stdcall * get_progress_ju___ar) (void) |
typedef int(__stdcall * get_progress_l3___ar) (void) |
typedef int(__stdcall * get_progress_l4___ar) (void) |
typedef int(__stdcall * get_progress_l5___ar) (void) |
typedef int(__stdcall * get_progress_lzip_ar) (void) |
typedef int(__stdcall * get_progress_lzma_ar) (void) |
typedef int(__stdcall * get_progress_xz___ar) (void) |
typedef int(__stdcall * get_progress_zs___ar) (void) |
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 * GetFinished_gzip_ar) (void) |
typedef int(__stdcall * GetProgress_____arp_) (void) |
typedef int(__stdcall * GetProgress_bzip2_ar) (void) |
typedef int(__stdcall * GetProgress_gzip_ar) (void) |
typedef int(__stdcall * GetReturnValue_bzip2_ar) (void) |
typedef int(__stdcall * GetReturnValue_gzip_ar) (void) |
typedef int(__stdcall * GetStatus_bzip2_ar) (void) |
typedef int(__stdcall * init_playlist_z_june_24_i) (void) |
typedef int(__stdcall * internal_progress_z_arp_) (void) |
typedef int(__stdcall * libarchive_close_p) (void) |
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_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_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_process_p) (char *new_entry_relative_p, char *new_entry_complete_p) |
typedef struct _amanda_i_ our_map_arp_i |
typedef int(__stdcall * pause_b3___aakp_b3___ar) (void) |
typedef int(__stdcall * pause_bb___aakp_bb___ar) (void) |
typedef int(__stdcall * pause_br___aakp_br___ar) (void) |
typedef int(__stdcall * pause_c5___aakp_c5___ar) (void) |
typedef int(__stdcall * pause_co___aakp_co___ar) (void) |
typedef int(__stdcall * pause_g2___aakp_g2___ar) (void) |
typedef int(__stdcall * pause_ju___aakp_ju___ar) (void) |
typedef int(__stdcall * pause_l3___aakp_l3___ar) (void) |
typedef int(__stdcall * pause_l4___aakp_l4___ar) (void) |
typedef int(__stdcall * pause_l5___aakp_l5___ar) (void) |
typedef int(__stdcall * pause_lzip_aakp_lzip_ar) (void) |
typedef int(__stdcall * pause_lzma_aakp_lzma_ar) (void) |
typedef int(__stdcall * pause_xz___aakp_xz___ar) (void) |
typedef int(__stdcall * pause_zs___aakp_zs___ar) (void) |
typedef int(__stdcall * PauseCompress_bzip2_ar) (void) |
typedef int(__stdcall * PauseExecution__arp_) (void) |
typedef void(__stdcall * PauseExecution_gzip_ar) (void) |
typedef int(__stdcall * progress_extract_i) (void) |
typedef int(__stdcall * resume_b3___aakp_b3___ar) (void) |
typedef int(__stdcall * resume_bb___aakp_bb___ar) (void) |
typedef int(__stdcall * resume_br___aakp_br___ar) (void) |
typedef int(__stdcall * resume_c5___aakp_c5___ar) (void) |
typedef int(__stdcall * resume_co___aakp_co___ar) (void) |
typedef int(__stdcall * resume_g2___aakp_g2___ar) (void) |
typedef int(__stdcall * resume_ju___aakp_ju___ar) (void) |
typedef int(__stdcall * resume_l3___aakp_l3___ar) (void) |
typedef int(__stdcall * resume_l4___aakp_l4___ar) (void) |
typedef int(__stdcall * resume_l5___aakp_l5___ar) (void) |
typedef int(__stdcall * resume_lzip_aakp_lzip_ar) (void) |
typedef int(__stdcall * resume_lzma_aakp_lzma_ar) (void) |
typedef int(__stdcall * resume_xz___aakp_xz___ar) (void) |
typedef int(__stdcall * resume_zs___aakp_zs___ar) (void) |
typedef int(__stdcall * ResumeCompress_bzip2_ar) (void) |
typedef int(__stdcall * ResumeExecution_arp_) (void) |
typedef void(__stdcall * ResumeExecution_gzip_ar) (void) |
typedef int(__stdcall * set_progress_p) (int64_t *pointer_value_p) |
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 * uncompress_bb___rspk_ar) (char *Inputfile, char *OutPutFile, int n_threads_z, char *temp_path_z, int *cores_used_z) |
typedef int(__stdcall * uncompress_br___rspk_ar) (char *Inputfile, char *OutPutFile) |
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 * uncompress_co___rspk_ar) (char *Inputfile, char *OutPutFile) |
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 * Uncompress_gzip_ar) (char *Inputfile, char *OutPutFile) |
typedef int(__stdcall * uncompress_ju___rspk_ar) (char *Inputfile, char *OutPutFile) |
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 * uncompress_l4___rspk_ar) (char *Inputfile, char *OutPutFile) |
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 * uncompress_lzip_rspk_ar) (char *Inputfile, char *OutPutFile) |
typedef int(__stdcall * uncompress_lzma_rspk_ar) (char *Inputfile, char *OutPutFile) |
typedef int(__stdcall * uncompress_xz___rspk_ar) (char *Inputfile, char *OutPutFile) |
typedef int(__stdcall * uncompress_zs___rspk_ar) (char *Inputfile, char *OutPutFile) |
typedef void(* update_progress_arp_) (int64_t *valor_a_atualizar_arp) |
enum access_mode |
enum amanda_commands |
enum compress_type |
enum compressed_formats |
enum dump_status |
enum read_header |
enum read_header_mode |
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
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
extracting_filename_ar__ | the filename as utf-8 being extracted |
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
filename_k_ar | the filename as utf-8 |
bool all_names_found | ( | struct tar_stat_info * | p | ) |
Tar related function, version 1.34, slightly modified
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
pUTF8 | the input utf-8 encoded filename |
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
pUTF8 | the input utf-8 encoded filename |
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
void archive_read_error | ( | void | ) |
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.
void assign_string_n | ( | char ** | string, |
const char * | value, | ||
size_t | n ) |
Tar related function, version 1.34
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.
size_t base_len_unix | ( | char const * | name | ) |
Tar related function, version 1.34, slightly modified
int __stdcall cancel_sftp | ( | void | ) |
To cancel the SFTP process, if you regreted it
int check_brotli_file_aakp | ( | char * | data_rspk | ) |
This function will check whether the extension of the tar file is .br
int check_iso_file_aakp | ( | char * | data_rspk | ) |
This function will check whether the file is an .iso file
int check_lzma_file_aakp | ( | char * | data_rspk | ) |
This function will check whether the file is a .lzma file
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
bool check_temp_folder_passed_i | ( | char * | temp_folder_i, |
char * | new_entry_i ) |
bool check_valid_path_i | ( | char * | data_i | ) |
To see whether the path looks valid, wide path capable...my ric
int clean_list__ar_is_amanda_update_ | ( | void | ) |
To cleanup the linked list when it is not in use anymore
int clean_list__ar_is_extract_ | ( | void | ) |
To cleanup the linked list
int clean_list__ar_is_list_ | ( | void | ) |
To cleanup the linked list when it is not in use anymore
int clean_list_itens_is_amanda_update_ | ( | void | ) |
To cleanup the linked list when it is not in use anymore
int clean_list_itens_is_list_ | ( | void | ) |
To cleanup the linked list when it is not required anymore
void close_archive | ( | void | ) |
Tar related function, version 1.34, slightly modified
void close_diag | ( | char const * | name | ) |
Tar related function, version 1.34
void close_error | ( | __attribute__((unused)) char const * | name | ) |
Tar related function, version 1.34, slightly modified
void close_error | ( | char const * | name | ) |
void close_warn | ( | __attribute__((unused)) char const * | name | ) |
Tar related function, version 1.34, slightly modified
void close_warn | ( | char const * | name | ) |
void convert_char_to_wchar_idiot_z | ( | char * | input_z, |
WCHAR * | output_z ) |
We will patent these two functions and charge roylaties...
void convert_wchar_to_char_jerk_z | ( | WCHAR * | input_z, |
char * | output_z ) |
We will patent it...
char *__amandacall cpu_speed_z | ( | void | ) |
It will retrieve the CPU speed as a string
off_t current_block_ordinal | ( | void | ) |
Tar related function, version 1.34
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.
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
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
inputfile | the utf8 encoded input file to decrypt |
outputfile | the utf-8 encoded output file |
key | up to 32 bytes password to be used |
the_arp_file_size | it 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 |
int __fastcall detect_multi_volume_p | ( | char * | filename_utf_8_p, |
char * | adjusted_filename_in_temp_p ) |
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
enable_arp | to enable or disable |
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
inputfile | the utf-8 input file |
outputfile | the utf-8 output file |
key | the up to 32 bytes password, passwords larger than 32 bytes will be truncated |
encryption_method_z | the encryption method to be used, see file arp.h the enum encryption_mode_arp for valid modes |
Function to control the extraction flags and calls to the required functions
clear_flag_k | the flag to be used |
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
tar_file_ar | the tar file |
destination_folder_ar | the destination path, if it doesnot exist it will be created |
int __stdcall ExtractCancel_ar | ( | void | ) |
It will cancel the extraction process
int __stdcall ExtractPause_ar | ( | void | ) |
It will pause the extraction process
int __stdcall ExtractResume_ar | ( | void | ) |
It will resume the extraction process
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 file_copy_i | ( | char * | input_i, |
char * | out_put_i ) |
LONGLONG FileTime_to_POSIX_m | ( | FILETIME | ft | ) |
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.
void flush_archive | ( | void | ) |
Tar related function, version 1.34 Flush the current buffer to/from the archive.
void flush_read | ( | void | ) |
Tar related function, version 1.34
It will retrieve the settings from the ar_tar_process.ini
key_arp | the ini key name |
data_arp | the output variable, "" if the data is empty or inexistent |
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.
double get_bucaneiro_tick | ( | void | ) |
Function to retrieve the elapsed time very accurate as milliseconds, useful for benchmarks
int __stdcall get_DLL_mode_m | ( | char * | mode_j | ) |
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
int __stdcall get_files_pk | ( | char * | files_pk, |
char * | date_pk ) |
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.
key_z | the key |
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
extracting_filename_ar__ | the filename as utf-8 |
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
filename_k_ar | is the filename as utf-8 |
int get_list_itens_is_extract_ | ( | ) |
To remove one item from the linked list
int __stdcall get_listview_progress_arp | ( | void | ) |
To get the progress value for the ListView being populated
To get a randomic number between min and max inclusive, seed is automatic loaded during the first call
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
path_z | the variable that will receive the remote path information, suggested size 1024 |
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
int __stdcall get_tar_format_arp | ( | char * | format_arp | ) |
It will return the Tar format of the loaded file
format_arp | the variable that will return the string with the format description, it is very informative |
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
filename_k_ar | the name of the file inside the Tar file, utf-8 encoded |
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...
int __stdcall GetExtrationProgress_ar | ( | void | ) |
It will retrieve the extraction progress
__int64 getfilesize_ar | ( | char * | infile_ar | ) |
To get the file size, filename is utf-8
infile_ar | the input file |
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
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
int __stdcall GetListProgress_ar | ( | void | ) |
It will return the progress of the list process, 0 for the moment
int getpagesize | ( | void | ) |
It will retrieve in windows the pagesize
It will return the percentage of the given value not as 100 but 10000, 10000 == 100%
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
max | : the maximum value |
fatia | : the slice of the max value |
int __stdcall GetReturnValueFromList | ( | void | ) |
To get the return value for the list process
int gname_to_gid | ( | __attribute__((unused)) char const * | gname, |
__attribute__((unused)) short * | gidp ) |
Tar related function, version 1.34, slightly modified
void init_psftp_arp | ( | void | ) |
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
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
double inittimer2 | ( | int | value | ) |
To benchmark code execution, it will say in seconds and milliseconds the time passed
value | if 0 it will initialize the internal time position, if 1 it will return the time elapsed |
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
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
int __stdcall IsListRunning | ( | void | ) |
To know whether the list process is running
int ispathfile | ( | char * | path | ) |
It will test the utf-8 encoded path to see if it do exist and is a file
path | utf-8 encoded path to test |
char * last_component | ( | char const * | name | ) |
Tar related function, version 1.34
char * last_component_unix | ( | char const * | name | ) |
Tar related function, version 1.34, slightly modified
__int64 lffilesize_dl | ( | const char * | szFileName | ) |
default function to get the size of files with Unicode support
szFileName | utf-8 encoded file |
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
tar_file_ar | the 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_ar | the destination folder, if it doesnot exist it will be created Cannot be relative |
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
tar_file_ar | the tar or other format file, cannot be relative, it need to be a complete path |
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
tar_filename_ar | the compressed file to update |
path_with_the_files_ar | the folder from where the files will be read |
patern_ar | the 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_ar | the 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_arp | whether it will recurse on subfolders |
the__patern_ar__mode | whether 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" |
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
void list_archive | ( | void | ) |
Tar related function, version 1.34, slightly modified
Function to control the list process
clear_flag_k | the flag to be used |
int __stdcall list_tar_file_ar | ( | char * | tar_file_ar | ) |
This function will list the information for a given Tar file
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
data_z | the string that will receive the information |
int __stdcall memory_usage__z2 | ( | char * | data_z | ) |
This function will retrieve the actual memory usage of the process using the rsppmp3 DLL
void mv_begin_read | ( | struct tar_stat_info * | st | ) |
Tar related function, version 1.34
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
void mv_begin_write | ( | const char * | file_name, |
off_t | totsize, | ||
off_t | sizeleft ) |
void mv_end | ( | void | ) |
Tar related function, version 1.34, slightly modified
void mv_size_left | ( | off_t | size | ) |
Tar related function, version 1.34
unsigned __stdcall my_thread_function_v27 | ( | __attribute__((unused)) void * | my_argument_z | ) |
off_t off_from_header | ( | const char * | p, |
size_t | s ) |
Tar related function, version 1.34
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.
key_arp | the key of the ini file |
data_arp | where the data arrives |
if_has_data_use_this_z | if it has data the path of the ini file passed will be this and not the detected path of the ini file |
output_len_z | the max size to write to the data_arp variable if more data is available it will be truncated, you are warned |
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.
key_arp_z | the key of the ini file |
data_arp_z | the data to write |
if_has_data_use_this_z | if it has data the path of the ini file will be this, and ini files path cannot be relative, it need to be absolute |
void open_archive | ( | enum access_mode | wanted_access | ) |
Tar related function, version 1.34, slightly modified
void open_diag | ( | char const * | name | ) |
Tar related function, version 1.34, slightly modified
void open_error | ( | __attribute__((unused)) char const * | name | ) |
Tar related function, version 1.34, slightly modified
void open_error | ( | char const * | name | ) |
void open_warn | ( | __attribute__((unused)) char const * | name | ) |
Tar related function, version 1.34, slightly modified
void open_warn | ( | char const * | name | ) |
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.
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
the_pass_arp_ | the input password |
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
remote_path_z | the remote path example: /htdocs |
user_name_z | the SFTP session user name example: amandaricardo |
password_z | the SFTP session password example: aakp |
host_z | the SFTP host, example: example: web.sf.net |
local_file | the local file to upload example: c:\upload\jpeg\ale.jpg |
int __stdcall pause_sftp | ( | void | ) |
To pause the SFTP process, but then the server may close the connection after the timeout passed
|
extern |
void pedro_dprintf2 | ( | int | amanda_level, |
char * | format, | ||
... ) |
|
extern |
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...
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
wname | the Unicode path to convert to a wide aware path |
ar_temp | temporary space |
void print_header | ( | struct tar_stat_info * | st, |
union block * | blk, | ||
off_t | block_ordinal ) |
Tar related function, version 1.34, slightly modified
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
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
true_if_it_is_extract_ar | 1 if it is extract, 0 if it is list process |
tar_file_ar | the iso file utf-8 encoded |
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
true_if_it_is_extract_ar | if 0 it is list, if 1 it is extraction |
tar_file_ar | the 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 |
int __stdcall progress_sftp | ( | void | ) |
To retrieve the current position of the SFTP upload process
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.
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
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
To read a XML file, it is simple then it is amazingly fast
key_name_z | the subnode from where the data will be read if inexistent an empty string will return. |
data_z | where the data arrives, if it do exist in the XML file, as you may expect |
output_len_z | the size available to write in the data_z buffer It will not write more than output_len_z bytes (chars) |
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 ) |
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)
wname | the 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_temp | the temporary space to be used for the conversion |
oi amor...
int remove_temp_folder_i | ( | void | ) |
int __stdcall resume_sftp | ( | void | ) |
To resume the SFTP process
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
path_arp | the 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 |
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
key_arp | the key name |
data_arp | the data to save |
bool ScanFolder | ( | char * | lpcszFolder_ar, |
__attribute__((unused)) int | first_call, | ||
bool | recurse_i ) |
off_t seek_archive | ( | off_t | size | ) |
Tar related function, version 1.34
int set_folder_time | ( | char * | in_folder_i, |
char * | out_folder_i ) |
(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
void set_next_block_after | ( | union block * | block | ) |
Tar related function, version 1.34 Indicate that we have used all blocks up thru BLOCK.
int __amandacall set_temp_folder_z | ( | char * | folder_z | ) |
To set the temp folder, if the path is invalid it will return an error
folder_z | the new temp folder |
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
void simple_print_header_iso | ( | void | ) |
void simple_print_header_VAL | ( | void | ) |
Function to print the VAL information that is in the VAL struct and send it to list process
int size_of_WCHAR_mem_r | ( | char * | in_string | ) |
void skip_file | ( | off_t | size | ) |
Tar related function, version 1.34, slightly modified
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
bool sparse_fixup_header | ( | struct tar_stat_info * | st | ) |
Tar related function, version 1.34
bool sparse_member_p | ( | struct tar_stat_info * | st | ) |
Tar related function, version 1.34
enum dump_status sparse_skip_file | ( | struct tar_stat_info * | st | ) |
Tar related function, version 1.34
int __stdcall split_compressed_file_p | ( | int64_t | slice_in_bytes_p_ | ) |
int __fastcall split_in_multiple_volumes_p | ( | char * | filename_utf_8_p | ) |
int __stdcall startapi_ar_2 | ( | __attribute__((unused)) int | parameter | ) |
This function is called by the thread initializer, for list process
int __stdcall startapi_ar_3 | ( | __attribute__((unused)) int | parameter | ) |
This function is called when a thread is initialized, for an extraction process
int __stdcall startapi_ar_6 | ( | __attribute__((unused)) int | parameter | ) |
This function is called when the new thread for the update process is started
bool strip_trailing_slashes_unix | ( | char * | file | ) |
Tar related function, version 1.34, slightly modified
int stripfilenameandpath | ( | char * | path, |
char * | onlypath, | ||
char * | onlyfilename ) |
It will split the path in folder and file (Windows based), UNC capable too
path | the input path |
onlypath | only the path, can be NULL if not required |
onlyfilename | only the filename, can be NULL if not required |
Function that matches input str with given wildcard pattern, it is amazing and case sensitive but it is easy to convert to case insensitive
str | the input filename |
pattern | the wildcard or filename |
n | the size of str |
m | the size of pattern |
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
char * strsep | ( | char ** | stringp, |
const char * | delim ) |
This function is required to explode a string by delimiters, a Linux fnmatch like function requires it
void strtolower_ar | ( | char * | path | ) |
Function to apply a tolower in th whole string
path | the string to apply the tolower |
size_t sys_write_archive_buffer | ( | void | ) |
Tar related function, version 1.34
enum read_header tar_checksum | ( | union block * | header, |
bool | silent ) |
Tar related function, version 1.34
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.
void tar_stat_destroy | ( | struct tar_stat_info * | st | ) |
Tar related function, version 1.34
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
void tartime_iso | ( | void | ) |
Function to get the list information for the .iso handling routines
void tartime_VAL | ( | void | ) |
Function to convert the value that come from the VAL struct to the time information
void TimetToFileTime | ( | time_t | t, |
LPFILETIME | pft ) |
It will convert a time_t unix time to FILETIME
char * umaxtostr | ( | uintmax_t | i, |
char * | buf ) |
Tar related function, version 1.34
int uname_to_uid | ( | __attribute__((unused)) char const * | uname, |
__attribute__((unused)) short * | uidp ) |
Tar related function, version 1.34, slightly modified
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
tar_filename_ar | the Tar (or VAL) file to update |
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
tar_filename_ar | the Tar (or VAL) file to update |
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)
WCHAR * utf8_2_wide_dl | ( | char * | pUTF8 | ) |
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
pUSC2_maria | the wide string to be converted |
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.
key_name_z | the subnode to retrieve the data |
data_z | where the data is passed... |
int __stdcall write_xml_z_amanda_s_smart_ape | ( | char * | filename_amanda_s_smart_ape, |
char * | key_name_z, | ||
char * | data_z ) |
void xheader_decode | ( | struct tar_stat_info * | st | ) |
Tar related function, version 1.34
void xheader_decode_global | ( | struct xheader * | xhdr | ) |
Tar related function, version 1.34
void xheader_destroy | ( | struct xheader * | xhdr | ) |
Tar related function, version 1.34
Tar related function, version 1.34
void xheader_xattr_free | ( | struct xattr_array * | xattr_map, |
size_t | xattr_map_size ) |
Tar related function, version 1.34
void xheader_xattr_init | ( | struct tar_stat_info * | st | ) |
Tar related function, version 1.34
void * xmemdup | ( | void const * | p, |
size_t | s ) |
Function to allocate memory
p | the address to duplicate the data |
s | the size |
char * xstrdup | ( | char const * | string | ) |
Safe strdup() that never returns NULL.
Function to duplicate a string
string | the input string |
void yasmin_charlotte_pereira_dprintf | ( | int | amanda_level, |
char * | format, | ||
... ) |
struct my_struct_for_list_ar_is_amanda_update_* aak_inicio_is_amanda_update_ |
struct my_struct_for_list_ar_is_extract_* aak_inicio_is_extract_ |
struct my_struct_for_list_ar_is_list_* aak_inicio_is_list_ |
struct my_struct_for_list_ar_is_amanda_update_* aak_is_amanda_update_ |
struct my_struct_for_list_ar_is_extract_* aak_is_extract_ |
struct my_struct_for_list_ar_is_list_* aak_is_list_ |
struct my_struct_for_list_ar_is_amanda_update_* aak_pointer_is_amanda_update_ |
struct my_struct_for_list_ar_is_extract_* aak_pointer_is_extract_ |
struct my_struct_for_list_ar_is_list_* aak_pointer_is_list_ |
enum access_mode access_mode |
int already_arp |
char archive_name_array_filename[AMANDA__SIZE] |
GLOBAL size_t archive_names |
__time64_t atime_i |
int64_t attributes_i |
int64_t bytes_left_in_the_update_file_arp |
int bytes_written_to_update_file_arp |
cancel_b3___aakp_b3___ar cancel_b3___aakp_b3___ar_func = NULL |
cancel_bb___aakp_bb___ar cancel_bb___aakp_bb___ar_func = NULL |
cancel_br___aakp_br___ar cancel_br___aakp_br___ar_func = NULL |
cancel_c5___aakp_c5___ar cancel_c5___aakp_c5___ar_func = NULL |
cancel_co___aakp_co___ar cancel_co___aakp_co___ar_func = NULL |
cancel_g2___aakp_g2___ar cancel_g2___aakp_g2___ar_func = NULL |
cancel_ju___aakp_ju___ar cancel_ju___aakp_ju___ar_func = NULL |
cancel_l3___aakp_l3___ar cancel_l3___aakp_l3___ar_func = NULL |
cancel_l4___aakp_l4___ar cancel_l4___aakp_l4___ar_func = NULL |
cancel_l5___aakp_l5___ar cancel_l5___aakp_l5___ar_func = NULL |
cancel_lzip_aakp_lzip_ar cancel_lzip_aakp_lzip_ar_func = NULL |
cancel_lzma_aakp_lzma_ar cancel_lzma_aakp_lzma_ar_func = NULL |
cancel_xz___aakp_xz___ar cancel_xz___aakp_xz___ar_func = NULL |
cancel_zs___aakp_zs___ar cancel_zs___aakp_zs___ar_func = NULL |
CancelCompress_bzip2_ar CancelCompress_bzip2_ar_func = NULL |
CancelExecution_arp_ CancelExecution_arp_func = NULL |
CancelExecution_gzip_ar CancelExecution_gzip_ar_func = NULL |
char charli_and_yasmin_global_filename[MAX_PATH+1] |
compress_b3___rspk_ar compress_b3___rspk_ar_func = NULL |
compress_bb___rspk_ar compress_bb___rspk_ar_func = NULL |
compress_br___rspk_ar compress_br___rspk_ar_func = NULL |
Compress_bzip2_ar Compress_bzip2_ar_func = NULL |
compress_c5___rspk_ar compress_c5___rspk_ar_func = NULL |
compress_co___rspk_ar compress_co___rspk_ar_func = NULL |
compress_g2___rspk_ar compress_g2___rspk_ar_func = NULL |
Compress_gzip_ar Compress_gzip_ar_func = NULL |
compress_ju___rspk_ar compress_ju___rspk_ar_func = NULL |
compress_l3___rspk_ar compress_l3___rspk_ar_func = NULL |
compress_l4___rspk_ar compress_l4___rspk_ar_func = NULL |
compress_l5___rspk_ar compress_l5___rspk_ar_func = NULL |
compress_lzip_rspk_ar compress_lzip_rspk_ar_func = NULL |
compress_lzma_rspk_ar compress_lzma_rspk_ar_func = NULL |
compress_xz___rspk_ar compress_xz___rspk_ar_func = NULL |
compress_zs___rspk_ar compress_zs___rspk_ar_func = NULL |
char compression_level_char_i[300] = "6" |
char compression_level_p[300] |
int compression_level_xcx = 6 |
int compression_mode_external_ar___ |
char* continued_file_name = NULL |
uintmax_t continued_file_offset |
uintmax_t continued_file_size |
char copy_for_extract_ar[AMANDA__SIZE] |
int cores_used_z = 1 |
char creating_folder_maria[AMANDA__SIZE] |
__time64_t ctime_i |
union block* current_block |
enum archive_format current_format |
union block* current_header |
GLOBAL struct tar_stat_info current_stat_info |
char date_got_pk[1024] |
int Day_k |
FILE* decoder_file_z = NULL |
Decompress_bzip2_ar Decompress_bzip2_ar_func = NULL |
int32_t decompression_progress_mode_arp = -1 |
decrypt_arp_ decrypt_arp_func = NULL |
int detected_format_arp |
encrypt_arp_ encrypt_arp_func = NULL |
char encryption_format_S2_[300] = {0} |
char encryption_method__i[300] = {0} |
int encryption_method_arp |
char error_message_k[AMANDA__SIZE] = {0} |
bool extract_cancel_flag |
char extract_folder_final[AMANDA__SIZE] |
bool extract_pause__flag |
extract_to_file_i extract_to_file_i_func = NULL |
char extracting_filename_ar[AMANDA__SIZE] |
int fatal_exit_k = 0 |
char file_got_pk[1024] |
bool file_is_VAL_arp |
__int64 file_size_total_int64 = 0 |
char file_to_keep_z[AMANDA__SIZE] |
__int64 file_total__read_int64 = 0 |
char filename_k[AMANDA__SIZE] |
int files_ar |
int folders_ar |
get_progress_b3___ar get_progress_b3___ar_func = NULL |
get_progress_bb___ar get_progress_bb___ar_func = NULL |
get_progress_br___ar get_progress_br___ar_func = NULL |
get_progress_c5___ar get_progress_c5___ar_func = NULL |
get_progress_co___ar get_progress_co___ar_func = NULL |
get_progress_g2___ar get_progress_g2___ar_func = NULL |
get_progress_ju___ar get_progress_ju___ar_func = NULL |
get_progress_l3___ar get_progress_l3___ar_func = NULL |
get_progress_l4___ar get_progress_l4___ar_func = NULL |
get_progress_l5___ar get_progress_l5___ar_func = NULL |
get_progress_lzip_ar get_progress_lzip_ar_func = NULL |
get_progress_lzma_ar get_progress_lzma_ar_func = NULL |
get_progress_xz___ar get_progress_xz___ar_func = NULL |
get_progress_zs___ar get_progress_zs___ar_func = NULL |
get_tar_info_p get_tar_info_libarchive_func = NULL |
get_tar_info_p get_tar_info_p_func = NULL |
GetFinished_gzip_ar GetFinished_gzip_ar_func = NULL |
GetProgress_____arp_ GetProgress_____arp_func = NULL |
GetProgress_bzip2_ar GetProgress_bzip2_ar_func = NULL |
GetProgress_gzip_ar GetProgress_gzip_ar_func = NULL |
GetReturnValue_bzip2_ar GetReturnValue_bzip2_ar_func = NULL |
GetReturnValue_gzip_ar GetReturnValue_gzip_ar_func = NULL |
GetStatus_bzip2_ar GetStatus_bzip2_ar_func = NULL |
our_map_arp_i global_our_map_arp_i = {0} |
char global_patern_ar[20000] |
our_map_arp_i* global_ptr_our_map_arp_v27_i = NULL |
char global_temp_folder_i[1027] |
int got_a_warning_ar = 0 |
int has_itens_copy_is_amanda_update_ = 0 |
int has_itens_copy_is_extract_ = 0 |
int has_itens_copy_is_list_ = 0 |
int has_itens_is_amanda_update_ = 0 |
int has_itens_is_amanda_update_internal_b_arp |
int has_itens_is_extract_ = 0 |
int has_itens_is_list_ = 0 |
HANDLE hMapFile_arp_i = NULL |
char host_z_i[1027] |
int Hour_k |
int init_decoder_z = 0 |
internal_progress_z_arp_ internal_progress_z_arp_func = NULL |
bool is_mislaine_encrypted_ |
bool is_mislaine_encrypted_v2_z |
int Isdir_k |
int iso_mode_value = ARP_MODE_JOLIET_PLUS_ROCK_RIDGE |
char key_fingerprint_i[1027] |
int last_list_error_int_arp |
char last_list_error_message_arp[AMANDA__SIZE] |
libarchive_close_p libarchive_close_p_func = NULL |
libarchive_create_archive_init_p libarchive_create_archive_init_p_func = NULL |
libarchive_extract_entries_p libarchive_extract_entries_p_func = NULL |
libarchive_list_entries_p libarchive_list_entries_p_func = NULL |
libarchive_process_p libarchive_process_p_func = NULL |
char local_file_i[AMANDA__SIZE] |
int Minute_k |
bool mode_is_list_arp |
bool mode_is_VAL_arp |
int Month_k |
__time64_t mtime_i |
FILE* my___temp_file_i |
HMODULE my_b3____dll = NULL |
HMODULE my_bb____dll = NULL |
HMODULE my_br____dll = NULL |
HMODULE my_bz2__dll = NULL |
HMODULE my_c5____dll = NULL |
HMODULE my_co____dll = NULL |
char my_error_as_a_programmer_z[AMANDA__SIZE] = {0} |
tar_list_function_ar my_func_ar_ = NULL |
HMODULE my_g2____dll = NULL |
HMODULE my_gzip_dll = NULL |
HMODULE my_ju____dll = NULL |
HMODULE my_l3____dll = NULL |
HMODULE my_l4____dll = NULL |
HMODULE my_l5____dll = NULL |
HMODULE my_libarchive_dll = NULL |
HMODULE my_lzip__dll = NULL |
HMODULE my_lzma__dll = NULL |
do_something_k my_process_function = NULL |
HMODULE my_rsp_arp_encrypt_dll = NULL |
__INT32_OR_INT64 my_thread_handle = 0 |
VAL_data my_VAL_data_arp = {0} |
HMODULE my_xz____dll = NULL |
HMODULE my_zs____dll = NULL |
int num_threads_xcx = 1 |
int number_of_threads_p = 1 |
int Numdir_k |
int numero_de_itens = 0 |
int Numfiles_k |
FILE* our_update_file_fopen_arp = NULL |
int our_update_file_open__arp = -1 |
int parolin_compression_level_p |
char password_z_i[1027] |
char patern_ar___[20000] |
pause_b3___aakp_b3___ar pause_b3___aakp_b3___ar_func = NULL |
pause_bb___aakp_bb___ar pause_bb___aakp_bb___ar_func = NULL |
pause_br___aakp_br___ar pause_br___aakp_br___ar_func = NULL |
pause_c5___aakp_c5___ar pause_c5___aakp_c5___ar_func = NULL |
pause_co___aakp_co___ar pause_co___aakp_co___ar_func = NULL |
pause_g2___aakp_g2___ar pause_g2___aakp_g2___ar_func = NULL |
pause_ju___aakp_ju___ar pause_ju___aakp_ju___ar_func = NULL |
pause_l3___aakp_l3___ar pause_l3___aakp_l3___ar_func = NULL |
pause_l4___aakp_l4___ar pause_l4___aakp_l4___ar_func = NULL |
pause_l5___aakp_l5___ar pause_l5___aakp_l5___ar_func = NULL |
pause_lzip_aakp_lzip_ar pause_lzip_aakp_lzip_ar_func = NULL |
pause_lzma_aakp_lzma_ar pause_lzma_aakp_lzma_ar_func = NULL |
pause_xz___aakp_xz___ar pause_xz___aakp_xz___ar_func = NULL |
pause_zs___aakp_zs___ar pause_zs___aakp_zs___ar_func = NULL |
PauseCompress_bzip2_ar PauseCompress_bzip2_ar_func = NULL |
PauseExecution__arp_ PauseExecution__arp_func = NULL |
PauseExecution_gzip_ar PauseExecution_gzip_ar_func = NULL |
int processed_itens_ar = 0 |
progress_extract_i progress_extract_i_func = NULL |
int progress_lib_v27 |
|
extern |
union block* recent_long_link |
size_t recent_long_link_blocks |
union block* recent_long_name |
size_t recent_long_name_blocks |
union block* record_end |
GLOBAL size_t record_size |
union block* record_start |
off_t records_read |
off_t records_written |
int recurse_in_subfolders_arp___ |
char remote_path_i[AMANDA__SIZE] = {0} |
char remote_path_z_i[1027] |
resume_b3___aakp_b3___ar resume_b3___aakp_b3___ar_func = NULL |
resume_bb___aakp_bb___ar resume_bb___aakp_bb___ar_func = NULL |
resume_br___aakp_br___ar resume_br___aakp_br___ar_func = NULL |
resume_c5___aakp_c5___ar resume_c5___aakp_c5___ar_func = NULL |
resume_co___aakp_co___ar resume_co___aakp_co___ar_func = NULL |
resume_g2___aakp_g2___ar resume_g2___aakp_g2___ar_func = NULL |
resume_ju___aakp_ju___ar resume_ju___aakp_ju___ar_func = NULL |
resume_l3___aakp_l3___ar resume_l3___aakp_l3___ar_func = NULL |
resume_l4___aakp_l4___ar resume_l4___aakp_l4___ar_func = NULL |
resume_l5___aakp_l5___ar resume_l5___aakp_l5___ar_func = NULL |
resume_lzip_aakp_lzip_ar resume_lzip_aakp_lzip_ar_func = NULL |
resume_lzma_aakp_lzma_ar resume_lzma_aakp_lzma_ar_func = NULL |
resume_xz___aakp_xz___ar resume_xz___aakp_xz___ar_func = NULL |
resume_zs___aakp_zs___ar resume_zs___aakp_zs___ar_func = NULL |
ResumeCompress_bzip2_ar ResumeCompress_bzip2_ar_func = NULL |
ResumeExecution_arp_ ResumeExecution_arp_func = NULL |
ResumeExecution_gzip_ar ResumeExecution_gzip_ar_func = NULL |
int ret_arp_ |
int return_value_from_list = 0 |
int returnvalue_i = 0 |
int running_2_ar = 0 |
int running_update = 0 |
int Second_k |
set_progress_p set_progress_p_func = NULL |
int show_debug_z = -1 |
__int64 Size_k |
GLOBAL struct timespec start_time |
int step_for_create_arp |
char string_format_arp[1024] = "unknown" |
char tar_file_ar_real[AMANDA__SIZE] |
char temp_file_for_encrypted[AMANDA__SIZE] |
char temp_file_for_encrypted_v2[AMANDA__SIZE] |
char temp_file_update_i[AMANDA__SIZE] |
char temp_folder_z[AMANDA__SIZE] |
char temp_tar_file_ar[AMANDA__SIZE] |
enum mode_is_include_or_exclude the__patern_ar__mode___ |
char the_pass_arp[1024+1] = {0} |
char the_pass_arp_utf8_i[1024+1] = {0} |
double time___compression_charli |
int time_point_arp_2 = 0 |
double time_uncompression_charli |
char typeflag_ar[300] |
uncompress_b3___rspk_ar uncompress_b3___rspk_ar_func = NULL |
uncompress_bb___rspk_ar uncompress_bb___rspk_ar_func = NULL |
uncompress_br___rspk_ar uncompress_br___rspk_ar_func = NULL |
uncompress_c5___rspk_ar uncompress_c5___rspk_ar_func = NULL |
uncompress_co___rspk_ar uncompress_co___rspk_ar_func = NULL |
uncompress_g2___rspk_ar uncompress_g2___rspk_ar_func = NULL |
Uncompress_gzip_ar Uncompress_gzip_ar_func = NULL |
uncompress_ju___rspk_ar uncompress_ju___rspk_ar_func = NULL |
uncompress_l3___rspk_ar uncompress_l3___rspk_ar_func = NULL |
uncompress_l4___rspk_ar uncompress_l4___rspk_ar_func = NULL |
uncompress_l5___rspk_ar uncompress_l5___rspk_ar_func = NULL |
uncompress_lzip_rspk_ar uncompress_lzip_rspk_ar_func = NULL |
uncompress_lzma_rspk_ar uncompress_lzma_rspk_ar_func = NULL |
uncompress_xz___rspk_ar uncompress_xz___rspk_ar_func = NULL |
uncompress_zs___rspk_ar uncompress_zs___rspk_ar_func = NULL |
char update_filename_arp[AMANDA__SIZE] |
update_progress_arp_ update_progress_arp_func = NULL |
char update_temp_dir_arp[AMANDA__SIZE] |
char user_name_z_i[1027] |
char* volume_label = NULL |
char warning_info[AMANDA__SIZE] |
int Year_k |