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