Welcome to mirror list, hosted at ThFree Co, Russian Federation.

proxy_alerter_protocol.c « zabbix_proxy « src - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b25520afb3a8792a850188cc8aae22dddced74c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
** Zabbix
** Copyright (C) 2001-2019 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.
**/

#include "common.h"
#include "../zabbix_server/alerter/alerter_protocol.h"

zbx_uint32_t	zbx_alerter_serialize_alert_send(unsigned char **data, zbx_uint64_t mediatypeid, unsigned char type,
		const char *smtp_server, const char *smtp_helo, const char *smtp_email, const char *exec_path,
		const char *gsm_modem, const char *username, const char *passwd, unsigned short smtp_port,
		unsigned char smtp_security, unsigned char smtp_verify_peer, unsigned char smtp_verify_host,
		unsigned char smtp_authentication, const char *exec_params, int maxsessions, int maxattempts,
		const char *attempt_interval, unsigned char content_type, const char *script, const char *timeout,
		const char *sendto, const char *subject, const char *message, const char *params)
{
	ZBX_UNUSED(data);
	ZBX_UNUSED(mediatypeid);
	ZBX_UNUSED(type);
	ZBX_UNUSED(smtp_server);
	ZBX_UNUSED(smtp_helo);
	ZBX_UNUSED(smtp_email);
	ZBX_UNUSED(exec_path);
	ZBX_UNUSED(gsm_modem);
	ZBX_UNUSED(username);
	ZBX_UNUSED(passwd);
	ZBX_UNUSED(smtp_port);
	ZBX_UNUSED(smtp_security);
	ZBX_UNUSED(smtp_verify_peer);
	ZBX_UNUSED(smtp_verify_host);
	ZBX_UNUSED(smtp_authentication);
	ZBX_UNUSED(exec_params);
	ZBX_UNUSED(maxsessions);
	ZBX_UNUSED(maxattempts);
	ZBX_UNUSED(attempt_interval);
	ZBX_UNUSED(content_type);
	ZBX_UNUSED(script);
	ZBX_UNUSED(timeout);
	ZBX_UNUSED(sendto);
	ZBX_UNUSED(subject);
	ZBX_UNUSED(message);
	ZBX_UNUSED(params);

	THIS_SHOULD_NEVER_HAPPEN;

	return 0;
}

void	zbx_alerter_deserialize_result(const unsigned char *data, char **value, int *errcode, char **errmsg)
{
	ZBX_UNUSED(value);
	ZBX_UNUSED(data);
	ZBX_UNUSED(errcode);
	ZBX_UNUSED(errmsg);

	THIS_SHOULD_NEVER_HAPPEN;
}