diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2020-12-01 13:18:36 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2020-12-01 13:18:36 +0300 |
commit | ff6b9eb299053b979233d67f62cfea5f9f93b7fe (patch) | |
tree | 6a915b59f5aa73036f4d1c8b830123bbdf382dce /include/zbxavailability.h | |
parent | 853c252cd62703bdcd1823918efd358216bc0774 (diff) |
...G...PS. [ZBXNEXT-782] fixed compilation on OS/X
Diffstat (limited to 'include/zbxavailability.h')
-rw-r--r-- | include/zbxavailability.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/zbxavailability.h b/include/zbxavailability.h new file mode 100644 index 00000000000..58a4bfadba8 --- /dev/null +++ b/include/zbxavailability.h @@ -0,0 +1,32 @@ +/* +** Zabbix +** Copyright (C) 2001-2020 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_AVAILABILITY_H +#define ZABBIX_AVAILABILITY_H + +#include "common.h" +#include "zbxalgo.h" + +#define ZBX_IPC_SERVICE_AVAILABILITY "availability" +#define ZBX_IPC_AVAILABILITY_REQUEST 1 + +void zbx_availability_flush(unsigned char *data, zbx_uint32_t size); +void zbx_availabilities_flush(const zbx_vector_ptr_t *host_availabilities); + +#endif /* ZABBIX_AVAILABILITY_H */ |