Source
13
13
** GNU General Public License for more details.
14
14
**
15
15
** You should have received a copy of the GNU General Public License
16
16
** along with this program; if not, write to the Free Software
17
17
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
18
**/
19
19
20
20
#ifndef ZABBIX_SERVICE_PROTOCOL_H
21
21
#define ZABBIX_SERVICE_PROTOCOL_H
22
22
23
-
#include "zbxalgo.h"
24
23
#include "zbxservice.h"
25
24
26
25
typedef struct
27
26
{
28
27
zbx_uint64_t eventid;
29
28
int severity;
30
29
}
31
30
zbx_event_severity_t;
32
31
33
32
void zbx_service_serialize(unsigned char **data, size_t *data_alloc, size_t *data_offset, zbx_uint64_t eventid,