18 lines
289 B
C
18 lines
289 B
C
#ifndef _READER_H_
|
|
#define _READER_H_
|
|
|
|
#include "tar.h"
|
|
|
|
#include <fx/compression/cstream.h>
|
|
#include <ropkg/reader.h>
|
|
|
|
struct ropkg_reader {
|
|
fx_cstream *r_stream;
|
|
struct ustar_header r_cur_header;
|
|
size_t r_cur_header_offset;
|
|
struct ropkg_file_info f_cur_file;
|
|
bool r_eof;
|
|
};
|
|
|
|
#endif
|