aboutsummaryrefslogtreecommitdiff
path: root/include/tar.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-01 13:23:36 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-07-01 13:23:36 +0200
commit8aea2d1dc437b5b497170ef9c1b6854aee8f5dcf (patch)
tree0999ed4664c74cf90896d8b11f7f4a9dc06e8d48 /include/tar.h
parentf0d18050d832498c8e230c04084675455fef391f (diff)
cleanup: split tar code up, remove some duplications
This commit attempts to split some of the monolitic tar parsing code up into multiple functions in seperate files. Also, some code duplication (like reading a record into memory which was implemented twice) is removed. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/tar.h')
-rw-r--r--include/tar.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/tar.h b/include/tar.h
index 513e5bc..ef4fdec 100644
--- a/include/tar.h
+++ b/include/tar.h
@@ -8,13 +8,6 @@
#include "util.h"
-typedef enum {
- ETV_UNKNOWN = 0,
- ETV_V7_UNIX,
- ETV_PRE_POSIX,
- ETV_POSIX,
-} E_TAR_VERSION;
-
typedef struct {
char name[100];
char mode[8];