summaryrefslogtreecommitdiffstats
path: root/src/ustar.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix license noticesPatrick McDermott2023-06-181-1/+1
|
* ustar: Provide devmajor and devminor in listingPatrick McDermott2023-05-121-0/+2
|
* ustar: Support writing device major and minorPatrick McDermott2023-05-121-0/+1
|
* ustar: Make mtime unsignedPatrick McDermott2023-05-071-2/+2
|
* ustar: Add linkname size macroPatrick McDermott2023-05-071-7/+8
|
* ustar: Move SOURCE_DATE_EPOCH code to opk/writePatrick McDermott2023-04-301-1/+1
| | | | | | This way it runs only once (without resorting to static variables) across all headers in all ustar archives. Also, opk/write now prints an informative error message.
* ustar: Add function to write trailerPatrick McDermott2023-04-301-0/+3
|
* ustar: Add functions to write dataPatrick McDermott2023-04-301-0/+7
| | | | And rename record buffer.
* ustar: Add function to write headerPatrick McDermott2023-04-291-0/+7
|
* opk: Absorb seek list management from ustarPatrick McDermott2023-04-281-53/+0
|
* ustar: Ensure listed linkname is NUL-terminatedPatrick McDermott2023-04-251-1/+1
| | | | Also simplify uname and gname copying.
* ustar: Make seek names struct opaquePatrick McDermott2023-04-191-13/+28
| | | | Simplify main() a little and fix memory leak on success.
* ustar: Shorten macro namePatrick McDermott2023-04-181-4/+4
|
* ustar: Use linked list instead of varargs in seekPatrick McDermott2023-04-181-6/+33
| | | | Also indicate when all sought member files are found.
* ustar: Document arguments that may be NULLPatrick McDermott2023-04-181-2/+3
|
* gzip, ustar: Document functionsPatrick McDermott2023-04-181-0/+47
|
* ustar: Make size unsignedPatrick McDermott2023-04-181-1/+1
|
* ustar, main: Dynamically allocate member structsPatrick McDermott2023-04-181-9/+10
| | | | | TODO: Save max strlen()s in first loop and printf() and free() in second loop.
* ustar, main: Show mode and mtimePatrick McDermott2023-04-171-6/+8
|
* ustar, main: Show type, uname, and gnamePatrick McDermott2023-04-171-0/+4
|
* ustar, main: Show size of member filesPatrick McDermott2023-04-171-1/+4
| | | | Also fix integer type (maximum file size is 8^12-1 = 68719476735).
* ustar: Search for multiple member namesPatrick McDermott2023-04-171-1/+1
|
* ustar: Fix read bufferPatrick McDermott2023-04-151-1/+1
|
* Eliminate magic numbersPatrick McDermott2023-04-141-1/+5
|
* gzip, ustar: Add *_free() functionsPatrick McDermott2023-04-141-0/+3
|
* ustar: RewritePatrick McDermott2023-04-141-4/+16
|
* ustar: ImplementPatrick McDermott2023-04-131-0/+30