binutils-gdb/binutils/arsup.h

64 lines
1.5 KiB
C
Raw Normal View History

1999-05-03 09:29:11 +02:00
/* arsup.h - archive support header file
2007-07-05 18:54:46 +02:00
Copyright 1992, 1993, 1994, 1996, 2001, 2002, 2003, 2007
2005-03-03 12:52:12 +01:00
Free Software Foundation, Inc.
1999-05-03 09:29:11 +02:00
2007-07-05 18:54:46 +02:00
This file is part of GNU Binutils.
1999-05-03 09:29:11 +02:00
2007-07-05 18:54:46 +02: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 09:29:11 +02:00
2007-07-05 18:54:46 +02: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 09:29:11 +02:00
2007-07-05 18:54:46 +02: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 09:29:11 +02:00
struct list {
char *name;
1999-05-03 09:29:11 +02:00
struct list *next;
};
void maybequit (void);
1999-05-03 09:29:11 +02:00
void prompt (void);
1999-05-03 09:29:11 +02:00
void ar_clear (void);
1999-05-03 09:29:11 +02:00
void ar_replace (struct list *);
1999-05-03 09:29:11 +02:00
void ar_delete (struct list *);
1999-05-03 09:29:11 +02:00
void ar_save (void);
1999-05-03 09:29:11 +02:00
void ar_list (void);
1999-05-03 09:29:11 +02:00
void ar_open (char *, int);
1999-05-03 09:29:11 +02:00
void ar_directory (char *, struct list *, char *);
1999-05-03 09:29:11 +02:00
void ar_addmod (struct list *);
1999-05-03 09:29:11 +02:00
void ar_addlib (char *, struct list *);
1999-05-03 09:29:11 +02:00
void ar_end (void);
1999-05-03 09:29:11 +02:00
void ar_extract (struct list *);
1999-05-03 09:29:11 +02:00
bfd *open_inarch (const char *archive_filename, const char *);
1999-05-03 09:29:11 +02:00
extern int yylex (void);
int yyparse (void);
1999-05-03 09:29:11 +02:00
/* Functions from ar.c */
void extract_file (bfd * abfd);
1999-05-03 09:29:11 +02:00
extern int interactive;