src/manager/include/untar.h File Reference

Exctracting *.tar.bz2 archives header. More...

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.


Detailed Description

Exctracting *.tar.bz2 archives header.

Definition in file untar.h.


Generated on Fri Jan 11 14:30:17 2008 for mDictionary Project by  doxygen 1.5.1