RTEMS 6.1-rc1
|
Untar an Image. More...
#include <stdbool.h>
#include <sys/param.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <rtems/untar.h>
#include <rtems/bspIo.h>
Macros | |
#define | MAX_NAME_FIELD_SIZE 99 |
#define | TAR_BLOCK_SIZE 512 |
#define | TAR_BLOCK_SIZE_MASK (TAR_BLOCK_SIZE - 1) |
#define | TAR_WORK_BLOCKS 16 |
Functions | |
int | Untar_ProcessHeader (Untar_HeaderContext *ctx, const char *bufr) |
int | Untar_FromMemory_Print (void *tar_buf, size_t size, const rtems_printer *printer) |
int | Untar_FromMemory (void *tar_buf, size_t size) |
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. More... | |
int | Untar_FromChunk_Print (Untar_ChunkContext *context, void *chunk, size_t chunk_size, const rtems_printer *printer) |
int | Untar_FromFile (const char *tar_name) |
Untar an Image.