Go to the source code of this file.
Data Structures | |
struct | _TarHeader |
Structure of entry in tar header. More... | |
Handling *.tar.bz2 files routines. | |
Every dictionary downloaded from Internet is compressed with bz2 algorithm. To allow user adding new dictionary downloaded from Internet directly to the device, we need to add exctracting *.tar.bz2 archives support. | |
#define | BLOCK_SIZE 512 |
Define block size used in the header of archive. | |
#define | BUFFER_SIZE BLOCK_SIZE*32 |
Define buffer size for blocks. | |
#define | ASCII_NR(NR) (NR + 0x30) |
Translate number into its ASCI code. | |
enum | _RecordType |
Enumerate possible entries types in tar file. More... | |
typedef _TarHeader | TarHeader |
Structure of entry in tar header. | |
typedef enum _RecordType | RecordType |
Enumerate possible entries types in tar file. | |
gint | decompress_file (gchar *in_file, gchar **out_path) |
Uncompress bz2 archive and extract tar file. |
Definition in file untar.h.