libropkg: convert pkg writer to use bluelib compression streams

This commit is contained in:
2025-08-06 22:04:36 +01:00
parent 231dbe8f7f
commit 46c6a66e44
10 changed files with 59 additions and 887 deletions

24
libropkg/tar.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef _TAR_H_
#define _TAR_H_
struct ustar_header {
char tar_filename[100];
char tar_mode[8];
char tar_uid[8];
char tar_gid[8];
char tar_filesize[12];
char tar_mtime[12];
char tar_checksum[8];
char tar_type[1];
char tar_linkname[100];
char tar_ustar_id[6];
char tar_ustar_version[2];
char tar_owner_name[32];
char tar_owner_group[32];
char tar_dev_major[8];
char tar_dev_minor[8];
char tar_filename_prefix[155];
char tar_padding[12];
};
#endif