133965Sjdp/* arsup.h - archive support header file 2218822Sdim Copyright 1992, 1993, 1994, 1996, 2001, 2002, 2003 3218822Sdim Free Software Foundation, Inc. 433965Sjdp 533965SjdpThis file is part of GNU Binutils. 633965Sjdp 733965SjdpThis program is free software; you can redistribute it and/or modify 833965Sjdpit under the terms of the GNU General Public License as published by 933965Sjdpthe Free Software Foundation; either version 2 of the License, or 1033965Sjdp(at your option) any later version. 1133965Sjdp 1233965SjdpThis program is distributed in the hope that it will be useful, 1333965Sjdpbut WITHOUT ANY WARRANTY; without even the implied warranty of 1433965SjdpMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1533965SjdpGNU General Public License for more details. 1633965Sjdp 1733965SjdpYou should have received a copy of the GNU General Public License 1833965Sjdpalong with this program; if not, write to the Free Software 19218822SdimFoundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 2033965Sjdp 2133965Sjdpstruct list { 22104834Sobrien char *name; 2333965Sjdp struct list *next; 2433965Sjdp}; 2533965Sjdp 26130561Sobrienvoid maybequit (void); 2733965Sjdp 28130561Sobrienvoid prompt (void); 2933965Sjdp 30130561Sobrienvoid ar_clear (void); 3133965Sjdp 32130561Sobrienvoid ar_replace (struct list *); 3333965Sjdp 34130561Sobrienvoid ar_delete (struct list *); 3533965Sjdp 36130561Sobrienvoid ar_save (void); 3733965Sjdp 38130561Sobrienvoid ar_list (void); 3933965Sjdp 40130561Sobrienvoid ar_open (char *, int); 4133965Sjdp 42130561Sobrienvoid ar_directory (char *, struct list *, char *); 4333965Sjdp 44130561Sobrienvoid ar_addmod (struct list *); 4533965Sjdp 46130561Sobrienvoid ar_addlib (char *, struct list *); 4733965Sjdp 48130561Sobrienvoid ar_end (void); 4933965Sjdp 50130561Sobrienvoid ar_extract (struct list *); 5133965Sjdp 52130561Sobrienbfd *open_inarch (const char *archive_filename, const char *); 5333965Sjdp 54130561Sobrienextern int yylex (void); 5533965Sjdp 56130561Sobrienint yyparse (void); 5789857Sobrien 5833965Sjdp/* Functions from ar.c */ 5933965Sjdp 60130561Sobrienvoid extract_file (bfd * abfd); 6133965Sjdp 6233965Sjdpextern int interactive; 63