Initial import of binutils 2.27 on vendor branch
[dragonfly.git] / contrib / binutils-2.27 / binutils / arsup.h
blob113b07ca09fe164917b073c40d5cc68f9ab143b6
1 /* arsup.h - archive support header file
2 Copyright (C) 1992-2016 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 3 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., 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
21 struct list {
22 char *name;
23 struct list *next;
26 void maybequit (void);
28 void prompt (void);
30 void ar_clear (void);
32 void ar_replace (struct list *);
34 void ar_delete (struct list *);
36 void ar_save (void);
38 void ar_list (void);
40 void ar_open (char *, int);
42 void ar_directory (char *, struct list *, char *);
44 void ar_addmod (struct list *);
46 void ar_addlib (char *, struct list *);
48 void ar_end (void);
50 void ar_extract (struct list *);
52 bfd *open_inarch (const char *archive_filename, const char *);
54 extern int yylex (void);
56 int yyparse (void);
58 /* Functions from ar.c */
60 void extract_file (bfd * abfd);
62 extern int interactive;