mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-22 17:47:38 +08:00
3957adff10
Recompiled tier1 and mathlib for all platforms will come in next commit.
40 lines
691 B
C
40 lines
691 B
C
/* XzEnc.h -- Xz Encode
|
|
2011-02-07 : Igor Pavlov : Public domain */
|
|
|
|
#ifndef __XZ_ENC_H
|
|
#define __XZ_ENC_H
|
|
|
|
#include "Lzma2Enc.h"
|
|
|
|
#include "Xz.h"
|
|
|
|
EXTERN_C_BEGIN
|
|
|
|
typedef struct
|
|
{
|
|
UInt32 id;
|
|
UInt32 delta;
|
|
UInt32 ip;
|
|
int ipDefined;
|
|
} CXzFilterProps;
|
|
|
|
void XzFilterProps_Init(CXzFilterProps *p);
|
|
|
|
typedef struct
|
|
{
|
|
const CLzma2EncProps *lzma2Props;
|
|
const CXzFilterProps *filterProps;
|
|
unsigned checkId;
|
|
} CXzProps;
|
|
|
|
void XzProps_Init(CXzProps *p);
|
|
|
|
SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
|
|
const CXzProps *props, ICompressProgress *progress);
|
|
|
|
SRes Xz_EncodeEmpty(ISeqOutStream *outStream);
|
|
|
|
EXTERN_C_END
|
|
|
|
#endif
|