diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-17 15:18:24 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-05-17 15:18:24 +0000 |
commit | 4d61580228e2f56a8a020ab0f7a130c7805d0c30 (patch) | |
tree | 8c19cee2725a27f300b186c3ac1627e335618ce7 /include/common.h | |
parent | fa15863d478d24cbced062ddb19cdbe78006bd78 (diff) | |
download | zabbix-4d61580228e2f56a8a020ab0f7a130c7805d0c30.tar.gz zabbix-4d61580228e2f56a8a020ab0f7a130c7805d0c30.tar.xz zabbix-4d61580228e2f56a8a020ab0f7a130c7805d0c30.zip |
- fixed active check communication (Eugene) - fixed eventlog (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4142 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h index ad73bd9f..9f36173a 100644 --- a/include/common.h +++ b/include/common.h @@ -73,7 +73,7 @@ #define OFF 0 #define APPLICATION_NAME "ZABBIX Agent" -#define ZABBIX_REVDATE "10 May 2007" +#define ZABBIX_REVDATE "17 May 2007" #define ZABBIX_VERSION "1.3.8" #if defined(_WINDOWS) @@ -503,8 +503,17 @@ char* zbx_strdcatf(char *dest, const char *f, ...); int replace_param(const char *cmd, const char *param, char *out, int outlen); int xml_get_data(char *xml,char *tag, char *data, int maxlen); -int comms_create_request(const char *host, const char *key, const char *data, const char *lastlogsize, - const char *timestamp, const char *source, const char *severity, char *request,int maxlen); + +char* comms_create_request( + const char *host, + const char *key, + const char *data, + long *lastlogsize, + unsigned long *timestamp, + const char *source, + unsigned short *severity + ); + int comms_parse_response(char *xml,char *host,char *key, char *data, char *lastlogsize, char *timestamp, char *source, char *severity, int maxlen); |