NeoMutt  2025-09-05-43-g177ed6
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
private.h File Reference

Shared constants/structs that are private to Compression. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COMPRESS_OPS(_name, _min_level, _max_level)
 

Detailed Description

Shared constants/structs that are private to Compression.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file private.h.

Macro Definition Documentation

◆ COMPRESS_OPS

#define COMPRESS_OPS ( _name,
_min_level,
_max_level )
Value:
const struct ComprOps compr_##_name##_ops = { \
.name = #_name, \
.min_level = _min_level, \
.max_level = _max_level, \
.open = compr_##_name##_open, \
.compress = compr_##_name##_compress, \
.decompress = compr_##_name##_decompress, \
.close = compr_##_name##_close, \
};
Definition lib.h:64

Definition at line 26 of file private.h.

26#define COMPRESS_OPS(_name, _min_level, _max_level) \
27 const struct ComprOps compr_##_name##_ops = { \
28 .name = #_name, \
29 .min_level = _min_level, \
30 .max_level = _max_level, \
31 .open = compr_##_name##_open, \
32 .compress = compr_##_name##_compress, \
33 .decompress = compr_##_name##_decompress, \
34 .close = compr_##_name##_close, \
35 };