summaryrefslogtreecommitdiff
path: root/include/tpax/tpax_specs.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-05-23 00:19:30 -0400
committermidipix <writeonce@midipix.org>2020-05-23 05:59:02 +0000
commit409008f8960e24f5f2b25a84642cbb0c043f0ab9 (patch)
treeb99fa246b6564699dd8959c28fb34f0193bed5a0 /include/tpax/tpax_specs.h
parent3db88843a12dfc0a523a1cf11d9efb5f4f3dd63f (diff)
downloadtpax-409008f8960e24f5f2b25a84642cbb0c043f0ab9.tar.bz2
tpax-409008f8960e24f5f2b25a84642cbb0c043f0ab9.tar.xz
library api: tpax_archive_seal(): initial implementation and integration.
Diffstat (limited to 'include/tpax/tpax_specs.h')
-rw-r--r--include/tpax/tpax_specs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tpax/tpax_specs.h b/include/tpax/tpax_specs.h
index d0ac5a4..e30b36b 100644
--- a/include/tpax/tpax_specs.h
+++ b/include/tpax/tpax_specs.h
@@ -5,6 +5,10 @@
extern "C" {
#endif
+#define TPAX_PAX_BLOCK_SIZE 5120
+#define TPAX_CPIO_BLOCK_SIZE 5120
+#define TPAX_USTAR_BLOCK_SIZE 10240
+
#define TPAX_USTAR_MAGIC {'u','s','t','a','r',0}
#define TPAX_USTAR_VERSION {'0','0'}