123456789101112131415161718192021222324 |
- #ifndef TAR_H
- #define TAR_H
- #include "../archive.h"
- extern uint8_t tar_compression;
- DEF_EXTRACTOR(Tar);
- struct TarCompressorContext {
- uint8_t has_threads;
- uint8_t has_memory_limit;
- };
- #define TAR_COMPRESSOR_ARGS \
- char *const compressor, char *const file, const struct Config *cfg, \
- const struct TarCompressorContext *ctx
- int tar_compressor_list(TAR_COMPRESSOR_ARGS);
- int tar_compressor_extract(TAR_COMPRESSOR_ARGS);
- int tar_compressor_create(TAR_COMPRESSOR_ARGS);
- #endif /* TAR_H */
|