Commit Graph

24 Commits

Author SHA1 Message Date
4401b1ca3a Update README.md 2022-11-06 14:18:36 +01:00
28085731f1 Not all 0-sized reads are errors
If you requested 0 bytes, the kernel gives you 0 bytes back
2022-11-06 14:14:06 +01:00
fd32be351e Remove unnecessary include 2022-11-06 12:46:07 +01:00
7af3cfdfa0 Correct C++ signature 2022-11-06 12:39:17 +01:00
c8ef43e33b Make it C++-compatible 2022-11-06 12:35:30 +01:00
53723e6e2f Document how to override the default panic function 2022-11-06 12:34:49 +01:00
f2fdf726ce Add a way to override the panic function 2022-11-06 12:24:13 +01:00
bdb500b290 Remove unnecessary line in header 2022-11-06 12:16:04 +01:00
4b20ab2e36 Create required directories in the install step 2022-11-06 12:14:03 +01:00
aeb1767028 Document types in README 2022-11-06 12:11:40 +01:00
ae70e11b12 State the license in the README 2022-11-06 11:56:40 +01:00
15531b2c52 Fix typo =D 2022-11-06 11:51:47 +01:00
a3d3cddeb3 Add functions to search for specific files or file types 2022-11-06 11:51:03 +01:00
8507f57bc1 Add minitar_rewind() 2022-11-06 11:22:27 +01:00
c05a8e1b07 Document the API in the README 2022-11-06 11:06:01 +01:00
6bb0fecdc4 Only define the contents of a struct minitar inside minitar
This structure should be opaque for everyone using the library, and every public API just uses a pointer to it.
2022-11-06 11:04:52 +01:00
6c916ad861 Add .clang-format 2022-11-06 11:02:26 +01:00
6e0b65aaa8 Open the tar archive in binary mode, for systems that require it 2022-11-06 10:37:09 +01:00
baf8318c29 Read file contents and store them in entry->ptr 2022-11-06 10:33:37 +01:00
0952af15b4 Basic file listing :) 2022-11-05 20:10:48 +01:00
e233ca00eb Install minitar.h as well 2022-11-05 18:56:57 +01:00
24253be975 Be more consistent with Makefile variables 2022-11-05 18:53:55 +01:00
61b122fcf5 Initial groundwork 2022-11-05 18:52:51 +01:00
10159e1acc Initial commit 2022-11-05 17:25:26 +00:00