RTEMS 6.1-rc2
|
Files | |
file | untar.c |
Untar an Image. | |
Data Structures | |
struct | Untar_HeaderContext |
struct | Untar_ChunkContext |
struct | Untar_GzChunkContext |
struct | Untar_XzChunkContext |
Functions | |
int | Untar_FromMemory (void *tar_buf, size_t size) |
int | Untar_FromMemory_Print (void *tar_buf, size_t size, const rtems_printer *printer) |
int | Untar_FromFile (const char *tar_name) |
int | Untar_FromFile_Print (const char *tar_name, const rtems_printer *printer) |
void | Untar_ChunkContext_Init (Untar_ChunkContext *context) |
Initializes the Untar_ChunkContext files out of a part of a block of memory. | |
int | Untar_FromChunk_Print (Untar_ChunkContext *context, void *chunk, size_t chunk_size, const rtems_printer *printer) |
int | Untar_GzChunkContext_Init (Untar_GzChunkContext *ctx, void *inflateBuffer, size_t inflateBufferSize) |
Initializes the Untar_ChunkGzContext. | |
int | Untar_FromGzChunk_Print (Untar_GzChunkContext *ctx, void *chunk, size_t chunk_size, const rtems_printer *printer) |
int | Untar_XzChunkContext_Init (Untar_XzChunkContext *ctx, enum xz_mode mode, uint32_t dict_max, void *inflateBuffer, size_t inflateBufferSize) |
Initializes the Untar_ChunkXzContext. | |
int | Untar_FromXzChunk_Print (Untar_XzChunkContext *ctx, const void *chunk, size_t chunk_size, const rtems_printer *printer) |
int | Untar_ProcessHeader (Untar_HeaderContext *ctx, const char *bufr) |
void Untar_ChunkContext_Init | ( | Untar_ChunkContext * | context | ) |
Initializes the Untar_ChunkContext files out of a part of a block of memory.
Untar_ChunkContext | *context [in] Pointer to a context structure. |
int Untar_GzChunkContext_Init | ( | Untar_GzChunkContext * | ctx, |
void * | inflateBuffer, | ||
size_t | inflateBufferSize | ||
) |
Initializes the Untar_ChunkGzContext.
Untar_ChunkGzContext | *context [in] Pointer to a context structure. |
void | *inflateBuffer [in] Pointer to a context structure. |
size_t | inflateBufferSize [in] Size of inflateBuffer. |
int Untar_XzChunkContext_Init | ( | Untar_XzChunkContext * | ctx, |
enum xz_mode | mode, | ||
uint32_t | dict_max, | ||
void * | inflateBuffer, | ||
size_t | inflateBufferSize | ||
) |
Initializes the Untar_ChunkXzContext.
Untar_ChunkXzContext | *context [in] Pointer to a context structure. |
enum | xz_mode mode [in] Dictionary mode. |
uint32_t | dict_max [in] Maximum size of dictionary. |
void | *inflateBuffer [in] Pointer to a context structure. |
size_t | inflateBufferSize [in] Size of inflateBuffer. |