summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-23 08:06:13 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-23 08:06:13 +0000
commit781cb8d7985043505364aa3daa364e1fd3f34d5b (patch)
treef87df423894f9998e1f3b110f05b98b3aa3f60a5 /include/common.h
parent220d7fe4a93c10c96f8d7021227f0ff07e411989 (diff)
downloadzabbix-781cb8d7985043505364aa3daa364e1fd3f34d5b.tar.gz
zabbix-781cb8d7985043505364aa3daa364e1fd3f34d5b.tar.xz
zabbix-781cb8d7985043505364aa3daa364e1fd3f34d5b.zip
- startrd developement of dbmanager on serverside
- minor fixes of template linkage on frontend git-svn-id: svn://svn.zabbix.com/trunk@4045 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index c632a466..48192a13 100644
--- a/include/common.h
+++ b/include/common.h
@@ -240,6 +240,14 @@ typedef enum
CONDITION_OPERATOR_LESS_EQUAL
} zbx_condition_op_t;
+typedef enum
+{
+ SYSMAP_ELEMENT_TYPE_HOST = 0,
+ SYSMAP_ELEMENT_TYPE_MAP,
+ SYSMAP_ELEMENT_TYPE_TRIGGER,
+ SYSMAP_ELEMENT_TYPE_HOST_GROUP
+} zbx_sysmap_element_types_t;
+
/* Special item key used for storing server status */
#define SERVER_STATUS_KEY "status"
/* Special item key used for ICMP pings */
@@ -491,6 +499,7 @@ size_t zbx_strlcat(char *dst, const char *src, size_t siz);
char* zbx_dvsprintf(char *dest, const char *f, va_list args);
char* zbx_dsprintf(char *dest, const char *f, ...);
char* zbx_strdcat(char *dest, const char *src);
+char* zbx_strdcatf(char *dest, const char *f, ...);
int replace_param(const char *cmd, const char *param, char *out, int outlen);