Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
val_extract.c File Reference
#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__   (1 << 16) * 2
 

Functions

void trocadordebackslashfrente (char *path)
 
void trocadordebackslashtras (char *path)
 
void pedro_dprintf (int amanda_level, char *format,...)
 
char * strsep (char **stringp, const char *delim)
 
__int64 _lseeki64 (int fd, __int64 offset, int origin)
 
__int64 _telli64 (int handle)
 
int decode_VAL_arp (VAL_data *my_VAL_data)
 

Variables

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 []
 
int64_t real_VAL_filesize
 
int init_decoder_z
 
FILE * decoder_file_z
 

Macro Definition Documentation

◆ AMANDA_SIZE__

#define AMANDA_SIZE__   (1 << 16) * 2

Function Documentation

◆ _lseeki64()

__int64 _lseeki64 ( int fd,
__int64 offset,
int origin )

◆ _telli64()

__int64 _telli64 ( int handle)

◆ decode_VAL_arp()

int decode_VAL_arp ( VAL_data * my_VAL_data)

VAL based function, it will parse a VAL file and make it ready to be used by the folder and file extraction rountines

Parameters
my_VAL_data
Returns
ARP_NOMORE if no more data is available or ARP_DECODED if more data is available

◆ pedro_dprintf()

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

◆ strsep()

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

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

◆ trocadordebackslashfrente()

void trocadordebackslashfrente ( char * path)

It will convert '\' to '/' on the given string

◆ trocadordebackslashtras()

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

Parameters
paththe path to replace the character
Returns
void

Variable Documentation

◆ archive

int archive
extern

◆ archive_name_array_filename

char archive_name_array_filename[]
extern

◆ decoder_file_z

FILE* decoder_file_z
extern

◆ error_message_k

char error_message_k[]
extern

◆ fatal_exit_k

int fatal_exit_k
extern

◆ global_patern_ar

char global_patern_ar[]
extern

◆ init_decoder_z

int init_decoder_z
extern

◆ mode_is_include_or_exclude__

enum mode_is_include_or_exclude mode_is_include_or_exclude__
extern

◆ real_VAL_filesize

int64_t real_VAL_filesize

◆ recurse_on_subfolders_arp

bool recurse_on_subfolders_arp
extern

◆ ricrdo_bytes_read

int64_t ricrdo_bytes_read
extern