diff options
author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-09-25 09:51:23 +0000 |
---|---|---|
committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-09-25 09:51:23 +0000 |
commit | d5e6f8fae82356ba65c516aaf35c995b0e923e01 (patch) | |
tree | 11616cf938ed69dc31622bf11dbc65835e41eac1 /include | |
parent | 95965be1ed25c300e01e7376e25eb8b3ba13602f (diff) | |
download | zabbix-d5e6f8fae82356ba65c516aaf35c995b0e923e01.tar.gz zabbix-d5e6f8fae82356ba65c516aaf35c995b0e923e01.tar.xz zabbix-d5e6f8fae82356ba65c516aaf35c995b0e923e01.zip |
- [ZBX-67] Under DM, Synchronizing binary data between nodes (Sasha)
[svn merge svn://svn.zabbix.com/branches/1.4 -r4786:4788]
git-svn-id: svn://svn.zabbix.com/trunk@4789 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 39d78c20..9bf96f70 100644 --- a/include/common.h +++ b/include/common.h @@ -536,6 +536,9 @@ int get_param(const char *param, int num, char *buf, int maxlen); int num_param(const char *param); int calculate_item_nextcheck(zbx_uint64_t itemid, int item_type, int delay, char *delay_flex, time_t now); int check_time_period(const char *period, time_t now); +void zbx_binary2hex(const u_char *input, size_t ilen, char **output, size_t *olen); +int zbx_hex2binary(char *io); +char *zbx_get_next_field(const char *line, char **output, size_t *olen, char separator); #ifdef HAVE___VA_ARGS__ # define zbx_setproctitle(fmt, ...) __zbx_zbx_setproctitle(ZBX_CONST_STRING(fmt), ##__VA_ARGS__) |