xref: /dflybsd-src/contrib/binutils-2.34/gas/compress-debug.h (revision b52ef7118d1621abed722c5bbbd542210290ecef)
1*fae548d3Szrj /* compress-debug.h - Header file for compressed debug sections.
2*fae548d3Szrj    Copyright (C) 2010-2020 Free Software Foundation, Inc.
3*fae548d3Szrj 
4*fae548d3Szrj    This file is part of GAS, the GNU Assembler.
5*fae548d3Szrj 
6*fae548d3Szrj    GAS is free software; you can redistribute it and/or modify
7*fae548d3Szrj    it under the terms of the GNU General Public License as published by
8*fae548d3Szrj    the Free Software Foundation; either version 3, or (at your option)
9*fae548d3Szrj    any later version.
10*fae548d3Szrj 
11*fae548d3Szrj    GAS is distributed in the hope that it will be useful,
12*fae548d3Szrj    but WITHOUT ANY WARRANTY; without even the implied warranty of
13*fae548d3Szrj    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*fae548d3Szrj    GNU General Public License for more details.
15*fae548d3Szrj 
16*fae548d3Szrj    You should have received a copy of the GNU General Public License
17*fae548d3Szrj    along with GAS; see the file COPYING.  If not, write to the Free
18*fae548d3Szrj    Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
19*fae548d3Szrj    02110-1301, USA.  */
20*fae548d3Szrj 
21*fae548d3Szrj #ifndef COMPRESS_DEBUG_H
22*fae548d3Szrj #define COMPRESS_DEBUG_H
23*fae548d3Szrj 
24*fae548d3Szrj struct z_stream_s;
25*fae548d3Szrj 
26*fae548d3Szrj /* Initialize the compression engine.  */
27*fae548d3Szrj extern struct z_stream_s *
28*fae548d3Szrj compress_init (void);
29*fae548d3Szrj 
30*fae548d3Szrj /* Stream the contents of a frag to the compression engine.  Output
31*fae548d3Szrj    from the engine goes into the current frag on the obstack.  */
32*fae548d3Szrj extern int
33*fae548d3Szrj compress_data (struct z_stream_s *, const char **, int *, char **, int *);
34*fae548d3Szrj 
35*fae548d3Szrj /* Finish the compression and consume the remaining compressed output.  */
36*fae548d3Szrj extern int
37*fae548d3Szrj compress_finish (struct z_stream_s *, char **, int *, int *);
38*fae548d3Szrj 
39*fae548d3Szrj #endif /* COMPRESS_DEBUG_H */
40