diff options
author | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2020-12-07 12:28:17 +0300 |
---|---|---|
committer | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2020-12-07 12:28:17 +0300 |
commit | ba155c94cb46c6574e562ae2eeb11ad02e807970 (patch) | |
tree | a627fb28404b22e09d6d8dd9f74bd732de22440d /include/zbxavailability.h | |
parent | 2835fb0ad78f062335a2d9a46782a8b476b5fc75 (diff) | |
parent | fc51721887fbb9e3914b52fb8b36ff4d8faa3384 (diff) |
.......PS. [ZBXNEXT-6311] uodate from branch 'master' of https://git.zabbix.com/scm/zbx/zabbix into feature/ZBXNEXT-6311-5.3
Diffstat (limited to 'include/zbxavailability.h')
-rw-r--r-- | include/zbxavailability.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/zbxavailability.h b/include/zbxavailability.h new file mode 100644 index 00000000000..e1835b13c7a --- /dev/null +++ b/include/zbxavailability.h @@ -0,0 +1,33 @@ +/* +** 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 "zbxtypes.h" +#include "zbxalgo.h" +#include "db.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_availability_ptr_t *interface_availabilities); + +#endif /* ZABBIX_AVAILABILITY_H */ |