diff options
Diffstat (limited to 'BeOS/ar-1.1/commands.h')
-rw-r--r-- | BeOS/ar-1.1/commands.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/BeOS/ar-1.1/commands.h b/BeOS/ar-1.1/commands.h new file mode 100644 index 0000000..e5c28c2 --- /dev/null +++ b/BeOS/ar-1.1/commands.h @@ -0,0 +1,28 @@ +/* +** commands.h - POSIX 1003.2 "ar" command +** +** $Id$ +** +** This isn't a pure POSIX 1003.2 ar; it only manipulates Metrowerks +** Library files, not general-purpose POSIX 1003.2 format archives. +** +** Dec. 14, 1997 Chris Herborth (chrish@kagi.com) +** +** This code is donated to the PUBLIC DOMAIN. You can use, abuse, modify, +** redistribute, steal, or otherwise manipulate this code. No restrictions +** at all. If you laugh at this code, you can't use it. +** +** This "ar" was implemented using IEEE Std 1003.2-1992 as the basis for +** the interface, and Metrowerk's published docs detailing their library +** format. Look inside for clues about how reality differs from MW's +** documentation on BeOS... +*/ + +#include <be/support/SupportDefs.h> + +status_t do_delete( const char *archive_name, char **files, int verbose ); +status_t do_print( const char *archive_name, char **files, int verbose ); +status_t do_replace( const char *archive_name, char **files, int verbose, + int create, int update ); +status_t do_table( const char *archive_name, char **files, int verbose ); +status_t do_extract( const char *archive_name, char **files, int verobse ); |