2000-10-31 Philip Blundell <philb@gnu.org>
[binutils.git] / binutils / arsup.h
blobf54a34bcf35041275f7bfb5dc1474d54e0923b01
1 /* arsup.h - archive support header file
2 Copyright 1992 Free Software Foundation, Inc.
4 This file is part of GNU Binutils.
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.
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.
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. */
20 struct list {
21 char *name;
22 struct list *next;
25 void
26 maybequit PARAMS ((void));
28 void
29 prompt PARAMS ((void));
31 void
32 ar_clear PARAMS ((void));
34 void
35 ar_replace PARAMS ((struct list *));
37 void
38 ar_delete PARAMS ((struct list *));
40 void
41 ar_save PARAMS ((void));
43 void
44 ar_list PARAMS ((void));
46 void
47 ar_open PARAMS ((char *, int));
49 void
50 ar_directory PARAMS ((char *, struct list *, char *));
52 void
53 ar_addmod PARAMS ((struct list *));
55 void
56 ar_addlib PARAMS ((char *, struct list *));
58 void
59 ar_end PARAMS ((void));
61 void
62 ar_extract PARAMS ((struct list *));
64 bfd *
65 open_inarch PARAMS ((const char *archive_filename, const char *));
67 int
68 yyparse PARAMS ((void));
70 /* Functions from ar.c */
72 void
73 extract_file PARAMS ((bfd * abfd));
75 extern int interactive;