Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
brotli.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 <process.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <brotli/decode.h>
#include <brotli/encode.h>
#include <brotli/types.h>
#include "../common/constants.h"
#include "../common/version.h"
#include <unistd.h>
#include <utime.h>

Data Structures

struct  Context
 

Macros

#define uchar   unsigned char
 
#define uint   unsigned int
 
#define ushort   unsigned short
 
#define pedro_dprintf2
 
#define _CRT_SECURE_NO_WARNINGS
 
#define MAKE_BINARY(FILENO)
 
#define HAVE_UTIMENSAT   0
 
#define DEFAULT_LGWIN   24
 
#define DEFAULT_SUFFIX   ".br"
 
#define MAX_OPTIONS   20
 

Enumerations

enum  Command {
  COMMAND_COMPRESS , COMMAND_DECOMPRESS , COMMAND_HELP , COMMAND_INVALID ,
  COMMAND_TEST_INTEGRITY , COMMAND_NOOP , COMMAND_VERSION
}
 

Functions

__int64 lffilesize_dl (const char *szFileName)
 default function to get the size of files with Unicode support
 
WCHAR * utf8_2_wide_dl (const char *pUTF8)
 my temporary utf8_2_wide_dl function to add full Unicode support and future (when modified) support to long filenames. (jan/2025)
 
void pedro_dprintf2 (int amanda_level, char *format,...)
 pedro_dprintf2 is my variant of my debug function because too much calls to pedro_dprintf these days, I am lazy, sorry....
 
int lgetpor_10 (__int64 max_Amanda, __int64 fatia_Ricardo)
 
__int64 getfilesize_aakp_plus_rspk (char *infile_utf8_valquiria)
 
int main_10 (int argc, char **argv)
 

Variables

__int64 tamanho____aakp
 
__int64 processado_rspk_10
 
int intpause___aakp_10
 
int intcancel__rspk_10
 
int return_value_arp_10
 

Macro Definition Documentation

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

◆ DEFAULT_LGWIN

#define DEFAULT_LGWIN   24

◆ DEFAULT_SUFFIX

#define DEFAULT_SUFFIX   ".br"

◆ HAVE_UTIMENSAT

#define HAVE_UTIMENSAT   0

◆ MAKE_BINARY

#define MAKE_BINARY ( FILENO)
Value:
(FILENO)

◆ MAX_OPTIONS

#define MAX_OPTIONS   20

◆ pedro_dprintf2

#define pedro_dprintf2

◆ uchar

#define uchar   unsigned char

◆ uint

#define uint   unsigned int

◆ ushort

#define ushort   unsigned short

Enumeration Type Documentation

◆ Command

enum Command
Enumerator
COMMAND_COMPRESS 
COMMAND_DECOMPRESS 
COMMAND_HELP 
COMMAND_INVALID 
COMMAND_TEST_INTEGRITY 
COMMAND_NOOP 
COMMAND_VERSION 

Function Documentation

◆ getfilesize_aakp_plus_rspk()

__int64 getfilesize_aakp_plus_rspk ( char * infile_utf8_valquiria)
extern

◆ lffilesize_dl()

__int64 lffilesize_dl ( const char * szFileName)

default function to get the size of files with Unicode support

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

◆ lgetpor_10()

int lgetpor_10 ( __int64 max_Amanda,
__int64 fatia_Ricardo )
extern

◆ main_10()

int main_10 ( int argc,
char ** argv )

◆ pedro_dprintf2()

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

pedro_dprintf2 is my variant of my debug function because too much calls to pedro_dprintf these days, I am lazy, sorry....

em brotli or brotli2

Parameters
amanda_levelif equal or above 0 print the string
formatprintf based format
...

◆ utf8_2_wide_dl()

WCHAR * utf8_2_wide_dl ( const char * pUTF8)

my temporary utf8_2_wide_dl function to add full Unicode support and future (when modified) support to long filenames. (jan/2025)

Parameters
pUTF8
Returns
WCHAR*

Variable Documentation

◆ intcancel__rspk_10

int intcancel__rspk_10
extern

◆ intpause___aakp_10

int intpause___aakp_10
extern

◆ processado_rspk_10

__int64 processado_rspk_10
extern

◆ return_value_arp_10

int return_value_arp_10
extern

◆ tamanho____aakp

__int64 tamanho____aakp
extern