![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <windows.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <errno.h>#include <fcntl.h>#include <ctype.h>#include <math.h>#include <wctype.h>#include <wchar.h>#include <stdarg.h>#include <stddef.h>#include <setjmp.h>#include <locale.h>#include <signal.h>#include <limits.h>#include <float.h>#include <iso646.h>#include <assert.h>#include <stdbool.h>#include "arp.h"#include "arp_2.h"Macros | |
| #define | AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define | AMANDA__SIZE_w (32767) |
| #define | fseek _fseeki64 |
| #define | ftell _ftelli64 |
| #define | AMANDA_SIZE__ (1 << 16) * 2 |
Functions | |
| int | size_of_WCHAR_mem_r (char *in_string) |
| wchar_t * | permissive_name_m_ (const wchar_t *wname, WCHAR *ar_temp) |
| WCHAR * | amanda_asciitowide_1_ (char *pUTF8, WCHAR *ar_temp) |
| void | trocadordebackslashfrente (char *path) |
| void | trocadordebackslashtras (char *path) |
| void | pedro_dprintf (int amanda_level, char *format,...) |
| __int64 | _lseeki64 (int fd, __int64 offset, int origin) |
| __int64 | _telli64 (int handle) |
| void | dump_diretory_VAL_arp (VAL_data *my_VAL_data) |
| int | dump_regular_file_VAL_arp (int fd_arp, VAL_data *my_VAL_data) |
Variables | |
| bool | first_pass_VAL_p |
| bool | enable_encryption_arp_ |
| enum z_encryption_method | internal_encryption_z_method |
| enum mode_is_include_or_exclude | mode_is_include_or_exclude__ |
| bool | recurse_on_subfolders_arp |
| char | archive_name_array_filename [] |
| char | global_patern_ar [] |
| int | fatal_exit_k |
| int | archive |
| int64_t | ricrdo_bytes_read |
| char | error_message_k [] |
| char | ready_to_save_char_m_ [AMANDA__SIZE] |
| WCHAR | ready_to_save_WCHAR_m_ [AMANDA__SIZE_w] |
| #define AMANDA__SIZE_w (32767) |
| #define AMANDA__SIZE_ww ((32767 * 2) + 2) |
| #define AMANDA_SIZE__ (1 << 16) * 2 |
| #define fseek _fseeki64 |
| #define ftell _ftelli64 |
| __int64 _telli64 | ( | int | handle | ) |
| 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 |
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 |
| void dump_diretory_VAL_arp | ( | VAL_data * | my_VAL_data | ) |
VAL based function, it will write information about
a folder to the destination VAL file
| my_VAL_data | the struct with the VAL information |
VAL based function, it will write to the destination VAL file with the information on the my_VAL_data struct
| my_VAL_data | this struct has all the information required to write the VAL information on the destination file |
oi
|
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...
| int size_of_WCHAR_mem_r | ( | char * | in_string | ) |
| void trocadordebackslashfrente | ( | char * | path | ) |
It will convert '\' to '/' on the given string
| void trocadordebackslashtras | ( | char * | path | ) |
It will replace character '/' with '\' on the given path, very useful to programmers converting code from Unix to Windows... not using cygwin
| path | the path to replace the character |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
| char ready_to_save_char_m_[AMANDA__SIZE] |
| WCHAR ready_to_save_WCHAR_m_[AMANDA__SIZE_w] |
|
extern |
|
extern |