#ifndef _COMMON_H_
#define _COMMON_H_

#include <stdlib.h>
#include <memory.h>
#include <stdio.h>
#include <time.h>
#include "differr.h"
#include "types.h"
#include "crc32.h"
#include "../avepack/AvcPacker.h"

#ifdef __cplusplus
extern "C" {
#endif

#define SIGN_SIZE            (0x40)              // digital sign size

// ----------------------------------------------------------------------------

tULONG GetFSize(FILE* IF);
tINT   GetBaseFile(tCHAR* FName, tBYTE** Buff, tUINT* Size, tBOOL* Pack,
       tBYTE* Sign);

// ----------------------------------------------------------------------------

#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _COMMON_H_