diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2018-03-22 10:33:00 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2018-03-22 10:33:00 +0300 |
commit | a40676782d730b871458da1a023820b7e768cb8d (patch) | |
tree | b6d3f7bb4990c1aa6786b2c7057a326d9cb7e5d2 /include/zbxcompress.h | |
parent | d1d19404bae61eed5e0970dad756abc64bea7aaf (diff) |
.......PS. [ZBXNEXT-4411] add missing compression library
Diffstat (limited to 'include/zbxcompress.h')
-rw-r--r-- | include/zbxcompress.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/zbxcompress.h b/include/zbxcompress.h new file mode 100644 index 00000000000..abbe24b5629 --- /dev/null +++ b/include/zbxcompress.h @@ -0,0 +1,26 @@ +/* +** Zabbix +** Copyright (C) 2001-2018 Zabbix SIA +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** 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, write to the Free Software +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +**/ + +#ifndef ZABBIX_COMPRESS_H +#define ZABBIX_COMPRESS_H + +int zbx_compress(const char *in, size_t size_in, char **out, size_t *size_out); +int zbx_uncompress(const char *in, size_t size_in, char *out, size_t size_out); + +#endif |