binutils-gdb/binutils/arsup.h

63 lines
1.5 KiB
C
Raw Normal View History

1999-05-03 15:29:11 +08:00
/* arsup.h - archive support header file
Copyright (C) 1992-2017 Free Software Foundation, Inc.
1999-05-03 15:29:11 +08:00
2007-07-06 00:54:46 +08:00
This file is part of GNU Binutils.
1999-05-03 15:29:11 +08:00
2007-07-06 00:54:46 +08:00
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
1999-05-03 15:29:11 +08:00
2007-07-06 00:54:46 +08:00
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
1999-05-03 15:29:11 +08:00
2007-07-06 00:54:46 +08:00
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
1999-05-03 15:29:11 +08:00
struct list {
char *name;
1999-05-03 15:29:11 +08:00
struct list *next;
};
void maybequit (void);
1999-05-03 15:29:11 +08:00
void prompt (void);
1999-05-03 15:29:11 +08:00
void ar_clear (void);
1999-05-03 15:29:11 +08:00
void ar_replace (struct list *);
1999-05-03 15:29:11 +08:00
void ar_delete (struct list *);
1999-05-03 15:29:11 +08:00
void ar_save (void);
1999-05-03 15:29:11 +08:00
void ar_list (void);
1999-05-03 15:29:11 +08:00
void ar_open (char *, int);
1999-05-03 15:29:11 +08:00
void ar_directory (char *, struct list *, char *);
1999-05-03 15:29:11 +08:00
void ar_addmod (struct list *);
1999-05-03 15:29:11 +08:00
void ar_addlib (char *, struct list *);
1999-05-03 15:29:11 +08:00
void ar_end (void);
1999-05-03 15:29:11 +08:00
void ar_extract (struct list *);
1999-05-03 15:29:11 +08:00
bfd *open_inarch (const char *archive_filename, const char *);
1999-05-03 15:29:11 +08:00
extern int yylex (void);
int yyparse (void);
1999-05-03 15:29:11 +08:00
/* Functions from ar.c */
void extract_file (bfd * abfd);
1999-05-03 15:29:11 +08:00
extern int interactive;