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