diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 13:23:36 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-01 13:23:36 +0200 |
commit | 8aea2d1dc437b5b497170ef9c1b6854aee8f5dcf (patch) | |
tree | 0999ed4664c74cf90896d8b11f7f4a9dc06e8d48 /include/tar.h | |
parent | f0d18050d832498c8e230c04084675455fef391f (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.h | 7 |
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]; |