1 /* 2 * untar.h 3 * 4 * Author: Herman Bloggs <hermanator12002@yahoo.com> 5 * Date: April, 2003 6 * Description: untar.c header 7 */ 8 #ifndef _UNTAR_H_ 9 #define _UNTAR_H_ 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif /* __cplusplus */ 14 15 typedef enum _untar_opt { 16 UNTAR_LISTING = (1 << 0), 17 UNTAR_QUIET = (1 << 1), 18 UNTAR_VERBOSE = (1 << 2), 19 UNTAR_FORCE = (1 << 3), 20 UNTAR_ABSPATH = (1 << 4), 21 UNTAR_CONVERT = (1 << 5) 22 } untar_opt; 23 24 int untar(const char *filename, const char *destdir, untar_opt options); 25 26 #ifdef __cplusplus 27 } 28 #endif /* __cplusplus */ 29 30 #endif 31