diff options
author | Aleksandrs Saveljevs <git-no-reply@zabbix.com> | 2014-12-16 13:07:11 +0300 |
---|---|---|
committer | Aleksandrs Saveljevs <git-no-reply@zabbix.com> | 2014-12-16 13:07:11 +0300 |
commit | 932aa645afc757f09d4669652245666be287613c (patch) | |
tree | 3ec153962080ba86f151d0fc86dc75dfd1008956 /include/proxy.h | |
parent | 65a847f7e54ec1654c7821e6702a3f06513b580b (diff) |
...G...PS. [ZBXNEXT-444] stylistic fixes during code review
Diffstat (limited to 'include/proxy.h')
-rw-r--r-- | include/proxy.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/proxy.h b/include/proxy.h index a3806a65d97..832b7f4a080 100644 --- a/include/proxy.h +++ b/include/proxy.h @@ -28,9 +28,7 @@ #define ZBX_MAX_HRECORDS 1000 -#define AGENT_VALUE struct zbx_agent_value_t - -AGENT_VALUE +typedef struct { zbx_timespec_t ts; char host_name[HOST_HOST_LEN_MAX]; @@ -44,7 +42,8 @@ AGENT_VALUE int logeventid; unsigned char state; unsigned char meta; /* meta information update (log size and mtime) */ -}; +} +AGENT_VALUE; int get_active_proxy_id(struct zbx_json_parse *jp, zbx_uint64_t *hostid, char *host, char **error); |