From ae3e3ae4a00b3ed4d763aea498e7e5e0eb137f1e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 1 Jun 2019 17:16:08 -0500 Subject: Teach file to recognize xz archives and old style tarballs. --- lib/lib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index 5ce29380..080c533f 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -265,6 +265,8 @@ long long millitime(void); char *format_iso_time(char *buf, size_t len, struct timespec *ts); void reset_env(struct passwd *p, int clear); void loggit(int priority, char *format, ...); +unsigned tar_cksum(void *data); +int is_tar_header(void *pkt); #define HR_SPACE 1 // Space between number and units #define HR_B 2 // Use "B" for single byte units -- cgit v1.2.3