]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/arsup.h
19990502 sourceware import
[thirdparty/binutils-gdb.git] / binutils / arsup.h
CommitLineData
252b5132
RH
1/* arsup.h - archive support header file
2 Copyright 1992 Free Software Foundation, Inc.
3
4This file is part of GNU Binutils.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20struct list {
21 char *name;
22 struct list *next;
23};
24
25void
26maybequit PARAMS ((void));
27
28void
29prompt PARAMS ((void));
30
31void
32ar_clear PARAMS ((void));
33
34void
35ar_replace PARAMS ((struct list *));
36
37void
38ar_delete PARAMS ((struct list *));
39
40void
41ar_save PARAMS ((void));
42
43void
44ar_list PARAMS ((void));
45
46void
47ar_open PARAMS ((char *, int));
48
49void
50ar_directory PARAMS ((char *, struct list *, char *));
51
52void
53ar_addmod PARAMS ((struct list *));
54
55void
56ar_addlib PARAMS ((char *, struct list *));
57
58void
59ar_end PARAMS ((void));
60
61void
62ar_extract PARAMS ((struct list *));
63
64bfd *
65open_inarch PARAMS ((const char *archive_filename, const char *));
66
67int
68yyparse PARAMS ((void));
69
70/* Functions from ar.c */
71
72void
73extract_file PARAMS ((bfd * abfd));
74
75extern int interactive;