RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions
untar.c File Reference

Untar an ImageFIXME: More...

#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>
Include dependency graph for untar.c:

Macros

#define MAX_NAME_FIELD_SIZE   99
 

Functions

unsigned long _rtems_octal2ulong (const char *octascii, size_t len)
 
int Untar_FromMemory (void *tar_buf, size_t size)
 
int Untar_FromFile (const char *tar_name)
 
int _rtems_tar_header_checksum (const char *bufr)
 

Detailed Description

Untar an Image

FIXME:

  1. Symbolic links are not created.
  2. Untar_FromMemory uses FILE *fp.
  3. How to determine end of archive?