arsup.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /* arsup.h - archive support header file
  2. Copyright (C) 1992-2015 Free Software Foundation, Inc.
  3. This file is part of GNU Binutils.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
  15. MA 02110-1301, USA. */
  16. struct list {
  17. char *name;
  18. struct list *next;
  19. };
  20. void maybequit (void);
  21. void prompt (void);
  22. void ar_clear (void);
  23. void ar_replace (struct list *);
  24. void ar_delete (struct list *);
  25. void ar_save (void);
  26. void ar_list (void);
  27. void ar_open (char *, int);
  28. void ar_directory (char *, struct list *, char *);
  29. void ar_addmod (struct list *);
  30. void ar_addlib (char *, struct list *);
  31. void ar_end (void);
  32. void ar_extract (struct list *);
  33. bfd *open_inarch (const char *archive_filename, const char *);
  34. extern int yylex (void);
  35. int yyparse (void);
  36. /* Functions from ar.c */
  37. void extract_file (bfd * abfd);
  38. extern int interactive;