2025-08-06 22:11:02 +01:00
|
|
|
#ifndef _READER_H_
|
|
|
|
|
#define _READER_H_
|
|
|
|
|
|
|
|
|
|
#include "tar.h"
|
|
|
|
|
|
2026-06-22 17:45:54 +01:00
|
|
|
#include <fx/compression/cstream.h>
|
2025-08-06 22:11:02 +01:00
|
|
|
#include <ropkg/reader.h>
|
|
|
|
|
|
|
|
|
|
struct ropkg_reader {
|
2026-06-22 17:45:54 +01:00
|
|
|
fx_cstream *r_stream;
|
2025-08-06 22:11:02 +01:00
|
|
|
struct ustar_header r_cur_header;
|
|
|
|
|
size_t r_cur_header_offset;
|
|
|
|
|
struct ropkg_file_info f_cur_file;
|
|
|
|
|
bool r_eof;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|