diff --git a/src/tar.h b/src/tar.h index 004ba77..f78323c 100644 --- a/src/tar.h +++ b/src/tar.h @@ -1,6 +1,8 @@ #ifndef MINITAR_TAR_H #define MINITAR_TAR_H +// Format of a raw standard tar header. + struct tar_header { char name[100]; @@ -19,7 +21,8 @@ struct tar_header char devmajor[8]; char devminor[8]; char prefix[155]; - char padding[12]; // to make the structure 512 bytes + + char padding[12]; // Not part of the header, only used to make the structure 512 bytes } __attribute__((packed)); #endif \ No newline at end of file