Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 1 | /* |
| 2 | ** commands.h - POSIX 1003.2 "ar" command |
| 3 | ** |
| 4 | ** $Id$ |
| 5 | ** |
| 6 | ** This isn't a pure POSIX 1003.2 ar; it only manipulates Metrowerks |
| 7 | ** Library files, not general-purpose POSIX 1003.2 format archives. |
| 8 | ** |
| 9 | ** Dec. 14, 1997 Chris Herborth (chrish@kagi.com) |
| 10 | ** |
| 11 | ** This code is donated to the PUBLIC DOMAIN. You can use, abuse, modify, |
| 12 | ** redistribute, steal, or otherwise manipulate this code. No restrictions |
| 13 | ** at all. If you laugh at this code, you can't use it. |
| 14 | ** |
| 15 | ** This "ar" was implemented using IEEE Std 1003.2-1992 as the basis for |
| 16 | ** the interface, and Metrowerk's published docs detailing their library |
| 17 | ** format. Look inside for clues about how reality differs from MW's |
| 18 | ** documentation on BeOS... |
| 19 | */ |
| 20 | |
| 21 | #include <be/support/SupportDefs.h> |
| 22 | |
| 23 | status_t do_delete( const char *archive_name, char **files, int verbose ); |
| 24 | status_t do_print( const char *archive_name, char **files, int verbose ); |
| 25 | status_t do_replace( const char *archive_name, char **files, int verbose, |
| 26 | int create, int update ); |
| 27 | status_t do_table( const char *archive_name, char **files, int verbose ); |
| 28 | status_t do_extract( const char *archive_name, char **files, int verobse ); |