* ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
[binutils.git] / binutils / arsup.h
blob860809bdfb24709cde4634a96cd3d2e5ae4a6ec3
1 /* arsup.h - archive support header file
2 Copyright 1992, 1993, 1994, 1996, 2001, 2002, 2003, 2007
3 Free Software Foundation, Inc.
5 This file is part of GNU Binutils.
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 3 of the License, or
10 (at your option) any later version.
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.
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
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
22 struct list {
23 char *name;
24 struct list *next;
27 void maybequit (void);
29 void prompt (void);
31 void ar_clear (void);
33 void ar_replace (struct list *);
35 void ar_delete (struct list *);
37 void ar_save (void);
39 void ar_list (void);
41 void ar_open (char *, int);
43 void ar_directory (char *, struct list *, char *);
45 void ar_addmod (struct list *);
47 void ar_addlib (char *, struct list *);
49 void ar_end (void);
51 void ar_extract (struct list *);
53 bfd *open_inarch (const char *archive_filename, const char *);
55 extern int yylex (void);
57 int yyparse (void);
59 /* Functions from ar.c */
61 void extract_file (bfd * abfd);
63 extern int interactive;