Example loadable plugin
Source
1
+
/*
2
+
** Copyright (C) 2001-2024 Zabbix SIA
3
+
**
4
+
** Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5
+
** documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
6
+
** rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
7
+
** permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
+
**
9
+
** The above copyright notice and this permission notice shall be included in all copies or substantial portions
10
+
** of the Software.
11
+
**
12
+
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
+
** WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
14
+
** COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
15
+
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+
** SOFTWARE.
17
+
**/
18
+
1
19
//{{NO_DEPENDENCIES}}
2
20
// Microsoft Developer Studio generated include file.
3
21
// Used by resource.rc
4
22
//
5
23
#ifndef _RESOURCE_H_
6
24
#define _RESOURCE_H_
7
25
8
26
#define ZBX_STR2(str) #str
9
27
#define ZBX_STR(str) ZBX_STR2(str)
10
28