source: rtems/cpukit/libmisc/untar/untar.h @ f26145b

4.104.114.84.95
Last change on this file since f26145b was e49f4c78, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/27/05 at 10:14:57

2005-01-27 Ralf Corsepius <ralf.corsepius@…>

  • libmisc/untar/untar.h: New prototype to eleminate warnings.
  • libmisc/untar/untar.c: Cosmetics, add symlinks.
  • Property mode set to 100644
File size: 630 bytes
Line 
1/*
2 *  Written by: Jake Janovetz <janovetz@tempest.ece.uiuc.edu>
3 *
4 *  The license and distribution terms for this file may be
5 *  found in the file LICENSE in this distribution or at
6 *  http://www.rtems.com/license/LICENSE.
7 *
8 *  $Id$
9 */
10
11#ifndef __UNTAR_H__
12#define __UNTAR_H__
13
14#include <stddef.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#define UNTAR_SUCCESSFUL         0
21#define UNTAR_FAIL               1
22#define UNTAR_INVALID_CHECKSUM   2
23#define UNTAR_INVALID_HEADER     3
24
25
26int Untar_FromMemory(char *tar_buf, size_t size);
27int Untar_FromFile(char *tar_name);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif  /* __UNTAR_H__ */
Note: See TracBrowser for help on using the repository browser.