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