]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/arsup.h
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / binutils / arsup.h
CommitLineData
252b5132 1/* arsup.h - archive support header file
fd67aa11 2 Copyright (C) 1992-2024 Free Software Foundation, Inc.
252b5132 3
32866df7 4 This file is part of GNU Binutils.
252b5132 5
32866df7
NC
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.
252b5132 10
32866df7
NC
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.
252b5132 15
32866df7
NC
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. */
252b5132
RH
20
21struct list {
f462a9ea 22 char *name;
252b5132
RH
23 struct list *next;
24};
25
2da42df6 26void maybequit (void);
252b5132 27
2da42df6 28void prompt (void);
252b5132 29
2da42df6 30void ar_clear (void);
252b5132 31
2da42df6 32void ar_replace (struct list *);
252b5132 33
2da42df6 34void ar_delete (struct list *);
252b5132 35
2da42df6 36void ar_save (void);
252b5132 37
2da42df6 38void ar_list (void);
252b5132 39
2da42df6 40void ar_open (char *, int);
252b5132 41
2da42df6 42void ar_directory (char *, struct list *, char *);
252b5132 43
2da42df6 44void ar_addmod (struct list *);
252b5132 45
2da42df6 46void ar_addlib (char *, struct list *);
252b5132 47
2da42df6 48void ar_end (void);
252b5132 49
2da42df6 50void ar_extract (struct list *);
252b5132 51
2da42df6 52bfd *open_inarch (const char *archive_filename, const char *);
252b5132 53
2da42df6 54extern int yylex (void);
956c53ee 55
2da42df6 56int yyparse (void);
252b5132
RH
57
58/* Functions from ar.c */
59
2da42df6 60void extract_file (bfd * abfd);
252b5132
RH
61
62extern int interactive;