![]() |
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 <process.h>#include <zlib.h>#include "md5.h"Data Structures | |
| struct | _rspdata |
| struct | _ar_data |
Macros | |
| #define | SHA512_DIGEST_LENGTH 64 |
| #define | uchar unsigned char |
| #define | uint unsigned int |
| #define | ushort unsigned short |
| #define | CHUNK 1638400 |
Typedefs | |
| typedef struct _rspdata | rspdata |
| typedef struct _ar_data | ar_data |
Functions | |
| void | pedro_dprintf (int amanda_level, char *format,...) |
| int | zuncompress_sha512_k (char *input, char *output) |
| void * | sha512_init_k (void) |
| void | sha512_update_k (void *ctx, unsigned char *buffer_k, unsigned int len_k) |
| void | sha512_final_k (void *ctx, unsigned char *array_digest_64_bytes) |
| int | asciitowide_cry (const char *pUTF8, WCHAR *pUSC2, int nUSC2) |
| void __cdecl | mprintf (char *format,...) |
| uint | getpor (int max, uint fatia) |
| void | dprintf (char *format,...) |
| int __stdcall | execute () |
| int | start () |
| int | start2 () |
| __int64 | lffilesize (const char *szFileName) |
| simple function to get the size of a utf-8 encoded filename, no support to long filenames yet (above MAX_PATH) | |
| int | lgetpor (__int64 max, __int64 fatia) |
| int | zcompress (char *input, char *output, int levelin) |
| int | zcompress_sha512_k (char *input, char *output, int levelin) |
| int | zuncompress (char *input, char *output) |
Variables | |
| int | unicodemode |
| uint | pauseflag |
| uint | cancelflag |
| int | finished |
| int | zlibpercent = 0 |
| #define CHUNK 1638400 |
| #define SHA512_DIGEST_LENGTH 64 |
| #define uchar unsigned char |
| #define uint unsigned int |
| #define ushort unsigned short |
| void dprintf | ( | char * | format, |
| ... ) |
| int __stdcall execute | ( | ) |
| __int64 lffilesize | ( | const char * | szFileName | ) |
simple function to get the size of a utf-8 encoded filename, no support to long filenames yet (above MAX_PATH)
to get the file input size, with support to files above 2gb, and unicode support
| szFileName | utf-8 encoded filename |
| szFileName | the utf-8 encoded input file |
| szFileName | utf-8 encoded filename |
simple function to get the size of a utf-8 encoded filename, no support to long filenames yet (above MAX_PATH)
| szFileName | the utf-8 encoded input file |
| int lgetpor | ( | __int64 | max, |
| __int64 | fatia ) |
|
extern |
| void pedro_dprintf | ( | int | amanda_level, |
| char * | format, | ||
| ... ) |
| void sha512_final_k | ( | void * | ctx, |
| unsigned char * | array_digest_64_bytes ) |
| void * sha512_init_k | ( | void | ) |
| void sha512_update_k | ( | void * | ctx, |
| unsigned char * | buffer_k, | ||
| unsigned int | len_k ) |
| int start | ( | ) |
| int start2 | ( | ) |
| int zuncompress | ( | char * | input, |
| char * | output ) |
| int zuncompress_sha512_k | ( | char * | input, |
| char * | output ) |
|
extern |
|
extern |
|
extern |
|
extern |
| int zlibpercent = 0 |