source: rtems/cpukit/libmisc/untar/untar.h @ 6f77f16f

4.104.114.84.95
Last change on this file since 6f77f16f was 6f77f16f, checked in by Joel Sherrill <joel.sherrill@…>, on 09/17/04 at 17:00:19

2004-09-17 Joel Sherrill <joel@…>

PR 677/misc

  • libmisc/dumpbuf/dumpbuf.h, libmisc/fsmount/fsmount.h, libmisc/rtmonuse/rtmonuse.h, libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgcnf.h, libmisc/serdbg/termios_printk.h, libmisc/serdbg/termios_printk_cnf.h, libmisc/untar/untar.h: Add extern C wrappers.
  • Property mode set to 100644
File size: 625 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#ifdef __cplusplus
15extern "C" {
16#endif
17
18#define UNTAR_SUCCESSFUL         0
19#define UNTAR_FAIL               1
20#define UNTAR_INVALID_CHECKSUM   2
21#define UNTAR_INVALID_HEADER     3
22
23
24int Untar_FromMemory(unsigned char *tar_buf, unsigned long size);
25int Untar_FromFile(char *tar_name);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif  /* __UNTAR_H__ */
Note: See TracBrowser for help on using the repository browser.