arsup.h revision 89857
190618Stmm/* arsup.h - archive support header file
290618Stmm   Copyright 1992, 1993, 1994, 1996 Free Software Foundation, Inc.
390618Stmm
490618StmmThis file is part of GNU Binutils.
590618Stmm
690618StmmThis program is free software; you can redistribute it and/or modify
790618Stmmit under the terms of the GNU General Public License as published by
890618Stmmthe Free Software Foundation; either version 2 of the License, or
990618Stmm(at your option) any later version.
1090618Stmm
1190618StmmThis program is distributed in the hope that it will be useful,
1290618Stmmbut WITHOUT ANY WARRANTY; without even the implied warranty of
1390618StmmMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1490618StmmGNU General Public License for more details.
1590618Stmm
1690618StmmYou should have received a copy of the GNU General Public License
1790618Stmmalong with this program; if not, write to the Free Software
1890618StmmFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
1990618Stmm
2090618Stmmstruct list {
2190618Stmm	char *name;
2290618Stmm	struct list *next;
2390618Stmm};
2490618Stmm
2590618Stmmvoid maybequit PARAMS ((void));
2690618Stmm
2790618Stmmvoid prompt PARAMS ((void));
2890618Stmm
2990618Stmmvoid ar_clear PARAMS ((void));
3090618Stmm
3190618Stmmvoid ar_replace PARAMS ((struct list *));
3290618Stmm
3390618Stmmvoid ar_delete PARAMS ((struct list *));
3490618Stmm
3590618Stmmvoid ar_save PARAMS ((void));
3690618Stmm
3790618Stmmvoid ar_list PARAMS ((void));
3890618Stmm
3990618Stmmvoid ar_open PARAMS ((char *, int));
4090618Stmm
4190618Stmmvoid ar_directory PARAMS ((char *, struct list *, char *));
4290618Stmm
4390618Stmmvoid ar_addmod PARAMS ((struct list *));
4490618Stmm
4590618Stmmvoid ar_addlib PARAMS ((char *, struct list *));
4690618Stmm
4790618Stmmvoid ar_end PARAMS ((void));
4890618Stmm
4990618Stmmvoid ar_extract PARAMS ((struct list *));
5090618Stmm
5190618Stmmbfd *open_inarch PARAMS ((const char *archive_filename, const char *));
5290618Stmm
5390618Stmmextern int yylex PARAMS ((void));
5490618Stmm
5590618Stmmint yyparse PARAMS ((void));
5690618Stmm
5790618Stmm/* Functions from ar.c */
5890618Stmm
5990618Stmmvoid extract_file PARAMS ((bfd * abfd));
6090618Stmm
6190618Stmmextern int interactive;
6290618Stmm