Commit | Line | Data |
---|---|---|
252b5132 | 1 | /* arsup.h - archive support header file |
b90efa5b | 2 | Copyright (C) 1992-2015 Free Software Foundation, Inc. |
252b5132 | 3 | |
32866df7 | 4 | This file is part of GNU Binutils. |
252b5132 | 5 | |
32866df7 NC |
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 3 of the License, or | |
9 | (at your option) any later version. | |
252b5132 | 10 | |
32866df7 NC |
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. | |
252b5132 | 15 | |
32866df7 NC |
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., 51 Franklin Street - Fifth Floor, Boston, | |
19 | MA 02110-1301, USA. */ | |
252b5132 RH |
20 | |
21 | struct list { | |
f462a9ea | 22 | char *name; |
252b5132 RH |
23 | struct list *next; |
24 | }; | |
25 | ||
2da42df6 | 26 | void maybequit (void); |
252b5132 | 27 | |
2da42df6 | 28 | void prompt (void); |
252b5132 | 29 | |
2da42df6 | 30 | void ar_clear (void); |
252b5132 | 31 | |
2da42df6 | 32 | void ar_replace (struct list *); |
252b5132 | 33 | |
2da42df6 | 34 | void ar_delete (struct list *); |
252b5132 | 35 | |
2da42df6 | 36 | void ar_save (void); |
252b5132 | 37 | |
2da42df6 | 38 | void ar_list (void); |
252b5132 | 39 | |
2da42df6 | 40 | void ar_open (char *, int); |
252b5132 | 41 | |
2da42df6 | 42 | void ar_directory (char *, struct list *, char *); |
252b5132 | 43 | |
2da42df6 | 44 | void ar_addmod (struct list *); |
252b5132 | 45 | |
2da42df6 | 46 | void ar_addlib (char *, struct list *); |
252b5132 | 47 | |
2da42df6 | 48 | void ar_end (void); |
252b5132 | 49 | |
2da42df6 | 50 | void ar_extract (struct list *); |
252b5132 | 51 | |
2da42df6 | 52 | bfd *open_inarch (const char *archive_filename, const char *); |
252b5132 | 53 | |
2da42df6 | 54 | extern int yylex (void); |
956c53ee | 55 | |
2da42df6 | 56 | int yyparse (void); |
252b5132 RH |
57 | |
58 | /* Functions from ar.c */ | |
59 | ||
2da42df6 | 60 | void extract_file (bfd * abfd); |
252b5132 RH |
61 | |
62 | extern int interactive; |