Commit | Line | Data |
---|---|---|
252b5132 | 1 | /* arsup.h - archive support header file |
aef6203b AM |
2 | Copyright 1992, 1993, 1994, 1996, 2001, 2002, 2003 |
3 | Free Software Foundation, Inc. | |
252b5132 RH |
4 | |
5 | This file is part of GNU Binutils. | |
6 | ||
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 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
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. | |
16 | ||
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 | |
b43b5d5f | 19 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 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; |