Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
checkFrame.c File Reference
#include "util.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include "lz4frame.h"
#include "lz4.h"
#include "xxhash.h"

Data Structures

struct  cRess_t
 

Macros

#define LZ4F_STATIC_LINKING_ONLY
 
#define XXH_STATIC_LINKING_ONLY
 
#define KB   *(1U<<10)
 
#define MB   *(1U<<20)
 
#define GB   *(1U<<30)
 
#define DISPLAY(...)
 
#define DISPLAYLEVEL(l, ...)
 
#define DEBUG   0
 
#define DEBUGOUTPUT(...)
 
#define EXM_THROW(error, ...)
 
#define MIN(a, b)
 
#define MAX(a, b)
 

Functions

int frameCheck (cRess_t ress, FILE *const srcFile, unsigned bsid, size_t blockSize)
 
int FUZ_usage (const char *programName)
 
int main (int argc, const char **argv)
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG   0

◆ DEBUGOUTPUT

#define DEBUGOUTPUT ( ...)
Value:
do { if (DEBUG) DISPLAY(__VA_ARGS__); } while (0)
#define DISPLAY(...)
Definition checkFrame.c:65
#define DEBUG
Definition checkFrame.c:72

◆ DISPLAY

#define DISPLAY ( ...)
Value:
fprintf(stderr, __VA_ARGS__)

◆ DISPLAYLEVEL

#define DISPLAYLEVEL ( l,
... )
Value:
if (displayLevel>=l) { DISPLAY(__VA_ARGS__); }

◆ EXM_THROW

#define EXM_THROW ( error,
... )
Value:
do { \
DEBUGOUTPUT("Error defined at %s, line %i : \n", __FILE__, __LINE__); \
DISPLAYLEVEL(1, "Error %i : ", error); \
DISPLAYLEVEL(1, __VA_ARGS__); \
DISPLAYLEVEL(1, " \n"); \
return(error); \
} while (0)
void error(char *msg) const
Definition minigzip.c:356

◆ GB

#define GB   *(1U<<30)

◆ KB

#define KB   *(1U<<10)

◆ LZ4F_STATIC_LINKING_ONLY

#define LZ4F_STATIC_LINKING_ONLY

◆ MAX

#define MAX ( a,
b )
Value:
( (a) > (b) ? (a) : (b) )
#define b(i)
Definition sha256.c:42
#define a(i)
Definition sha256.c:41

◆ MB

#define MB   *(1U<<20)

◆ MIN

#define MIN ( a,
b )
Value:
( (a) < (b) ? (a) : (b) )

◆ XXH_STATIC_LINKING_ONLY

#define XXH_STATIC_LINKING_ONLY

Function Documentation

◆ frameCheck()

int frameCheck ( cRess_t ress,
FILE *const srcFile,
unsigned bsid,
size_t blockSize )

◆ FUZ_usage()

int FUZ_usage ( const char * programName)

◆ main()

int main ( int argc,
const char ** argv )