Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
testmini.c File Reference
#include <windows.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 "minilzo.h"

Macros

#define IN_LEN   (128*1024ul)
 
#define OUT_LEN   (IN_LEN + IN_LEN / 16 + 64 + 3)
 
#define HEAP_ALLOC(var, size)
 

Functions

int calc_out_size (int input)
 
int main2 (int argc, char *argv[])
 
int lzo_decompress (char *buffer, int len, char *outbuf, lzo_uint *outlen, bz_stream *strm)
 
int lzo_compress (char *bufin, int bufinlen, char *outbuf, lzo_uint *outbuflen, bz_stream *strm)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ HEAP_ALLOC

#define HEAP_ALLOC ( var,
size )
Value:
lzo_align_t __LZO_MMODEL var [ ((size) + (sizeof(lzo_align_t) - 1)) / sizeof(lzo_align_t) ]
Definition lzoconf.h:369
size_t size
Definition platform.h:559
#define __LZO_MMODEL

◆ IN_LEN

#define IN_LEN   (128*1024ul)

◆ OUT_LEN

#define OUT_LEN   (IN_LEN + IN_LEN / 16 + 64 + 3)

Function Documentation

◆ calc_out_size()

int calc_out_size ( int input)

◆ lzo_compress()

int lzo_compress ( char * bufin,
int bufinlen,
char * outbuf,
lzo_uint * outbuflen,
bz_stream * strm )

◆ lzo_decompress()

int lzo_decompress ( char * buffer,
int len,
char * outbuf,
lzo_uint * outlen,
bz_stream * strm )

◆ main()

int main ( int argc,
char ** argv )

◆ main2()

int main2 ( int argc,
char * argv[] )