Hallo,
I'm looking for a really simple and easily hackable tar library for C or C++. Ideally it should have a permissive license (BSD/LGPL) and not have a ton of Unix/Windows OS dependencies, as I plan to use it from an embedded RTOS...
Any ideas?
Hallo,
I'm looking for a really simple and easily hackable tar library for C or C++. Ideally it should have a permissive license (BSD/LGPL) and not have a ton of Unix/Windows OS dependencies, as I plan to use it from an embedded RTOS...
Any ideas?
I haven't used it myself, but have you tried libtar? It is written in C and BSD licensed.
Take a look at the tar tool that comes on NetBSD.
It is actually a compound tool of pax, tar, and cpio, I believe you'll learn most from that.
The tar format is pretty simple. Have you considered writing your own tar library?