compress-debug.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* compress-debug.h - Header file for compressed debug sections.
  2. Copyright (C) 2010-2022 Free Software Foundation, Inc.
  3. This file is part of GAS, the GNU Assembler.
  4. GAS 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, or (at your option)
  7. any later version.
  8. GAS 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 GAS; see the file COPYING. If not, write to the Free
  14. Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
  15. 02110-1301, USA. */
  16. #ifndef COMPRESS_DEBUG_H
  17. #define COMPRESS_DEBUG_H
  18. struct z_stream_s;
  19. /* Initialize the compression engine. */
  20. extern struct z_stream_s *
  21. compress_init (void);
  22. /* Stream the contents of a frag to the compression engine. Output
  23. from the engine goes into the current frag on the obstack. */
  24. extern int
  25. compress_data (struct z_stream_s *, const char **, int *, char **, int *);
  26. /* Finish the compression and consume the remaining compressed output. */
  27. extern int
  28. compress_finish (struct z_stream_s *, char **, int *, int *);
  29. #endif /* COMPRESS_DEBUG_H */