versadac  1
versadac - Scalable Recorder Firmware
tarLib.h
1 /* tarLib.h - UNIX tar compatible library */
2 
3 /* Copyright 1999-2002 Wind River Systems, Inc. */
4 
5 /*
6 modification history
7 --------------------
8 01c,20sep01,jkf SPR#69031, common code for both AE & 5.x.
9 01b,31jul99,jkf T2 merge, tidiness & spelling.
10 01a,08jun98,lrn written
11 */
12 
13 #ifndef __INCtarLibh
14 #define __INCtarLibh
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 /* function prototypes */
21 
22 #if defined(__STDC__) || defined(__cplusplus)
23 IMPORT void tarHelp ( void );
24 IMPORT STATUS tarExtract (char * pTape, int bfactor, BOOL verbose);
25 IMPORT STATUS tarArchive ( char *pTape, int bfactor, BOOL verbose, char *pName);
26 IMPORT STATUS tarToc ( char * tape, int bfactor);
27 #else
28 IMPORT void tarHelp ();
29 IMPORT STATUS tarExtract ();
30 IMPORT STATUS tarArchive ();
31 IMPORT STATUS tarToc ();
32 #endif
33 
34 /* globals */
35 IMPORT char * TAPE ; /* default archive file */
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* __INCtarLibh */