]>
Commit | Line | Data |
---|---|---|
252b5132 | 1 | /* arsup.h - archive support header file |
8c2bc687 | 2 | Copyright 1992, 1993, 1994, 1996 Free Software Foundation, Inc. |
252b5132 RH |
3 | |
4 | This file is part of GNU Binutils. | |
5 | ||
6 | This program is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
8 | the Free Software Foundation; either version 2 of the License, or | |
9 | (at your option) any later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program; if not, write to the Free Software | |
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | |
19 | ||
20 | struct list { | |
f462a9ea | 21 | char *name; |
252b5132 RH |
22 | struct list *next; |
23 | }; | |
24 | ||
956c53ee | 25 | void maybequit PARAMS ((void)); |
252b5132 | 26 | |
956c53ee | 27 | void prompt PARAMS ((void)); |
252b5132 | 28 | |
956c53ee | 29 | void ar_clear PARAMS ((void)); |
252b5132 | 30 | |
956c53ee | 31 | void ar_replace PARAMS ((struct list *)); |
252b5132 | 32 | |
956c53ee | 33 | void ar_delete PARAMS ((struct list *)); |
252b5132 | 34 | |
956c53ee | 35 | void ar_save PARAMS ((void)); |
252b5132 | 36 | |
956c53ee | 37 | void ar_list PARAMS ((void)); |
252b5132 | 38 | |
956c53ee | 39 | void ar_open PARAMS ((char *, int)); |
252b5132 | 40 | |
956c53ee | 41 | void ar_directory PARAMS ((char *, struct list *, char *)); |
252b5132 | 42 | |
956c53ee | 43 | void ar_addmod PARAMS ((struct list *)); |
252b5132 | 44 | |
956c53ee | 45 | void ar_addlib PARAMS ((char *, struct list *)); |
252b5132 | 46 | |
956c53ee | 47 | void ar_end PARAMS ((void)); |
252b5132 | 48 | |
956c53ee | 49 | void ar_extract PARAMS ((struct list *)); |
252b5132 | 50 | |
956c53ee | 51 | bfd *open_inarch PARAMS ((const char *archive_filename, const char *)); |
252b5132 | 52 | |
956c53ee TS |
53 | extern int yylex PARAMS ((void)); |
54 | ||
55 | int yyparse PARAMS ((void)); | |
252b5132 RH |
56 | |
57 | /* Functions from ar.c */ | |
58 | ||
956c53ee | 59 | void extract_file PARAMS ((bfd * abfd)); |
252b5132 RH |
60 | |
61 | extern int interactive; |