Fuck git
This commit is contained in:
47
external/unarr/_7z/_7z.h
vendored
Normal file
47
external/unarr/_7z/_7z.h
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
/* Copyright 2018 the unarr project authors (see AUTHORS file).
|
||||
License: LGPLv3 */
|
||||
|
||||
#ifndef _7z_7z_h
|
||||
#define _7z_7z_h
|
||||
|
||||
#include "../common/unarr-imp.h"
|
||||
|
||||
#include "../lzmasdk/7zTypes.h"
|
||||
#ifdef HAVE_7Z
|
||||
#include "../lzmasdk/7z.h"
|
||||
#endif
|
||||
|
||||
typedef struct ar_archive_7z_s ar_archive_7z;
|
||||
|
||||
struct CSeekStream {
|
||||
ISeekInStream super;
|
||||
ar_stream *stream;
|
||||
};
|
||||
|
||||
struct ar_archive_7z_uncomp {
|
||||
bool initialized;
|
||||
|
||||
UInt32 folder_index;
|
||||
Byte *buffer;
|
||||
size_t buffer_size;
|
||||
|
||||
size_t offset;
|
||||
size_t bytes_left;
|
||||
};
|
||||
|
||||
struct ar_archive_7z_s {
|
||||
ar_archive super;
|
||||
struct CSeekStream in_stream;
|
||||
#ifdef HAVE_7Z
|
||||
CLookToRead2 look_stream;
|
||||
CSzArEx data;
|
||||
#endif
|
||||
char *entry_name;
|
||||
struct ar_archive_7z_uncomp uncomp;
|
||||
};
|
||||
|
||||
#ifndef USE_7Z_CRC32
|
||||
UInt32 Z7_FASTCALL CrcCalc(const void *data, size_t size);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user